Links

Manage Duplicates

Currently we do not allow users to create multiple profiles within your environment in our system. So we use various techniques to detect duplicates in our system. In instance you run into a profile that was closed because it's a duplicate profile, the following API calls will enable you to recover a closed profile. The only way you can accomplish that is by swapping the profile by the open duplicate profile. So the closed profile opens and the open profile takes it place.
get
https://api.synapsefi.com
/v3.1/users/:user_id/get-duplicates
Duplicates

Example Request

HTTP
cURL
Python
JS
PHP
GO
GET /v3.1/users/5fd7acfd8677040053ad486d/get-duplicates HTTP/1.1
Host: uat-api.synapsefi.com
X-SP-USER-IP: 255.127.79.76
X-SP-USER: oauth_Z3YDaGPNz2CWpgVck8L9jIxKR7odTSui5eFEt10X|e83cf6ddcf778e37bfe3d48fc78a6502062fc
Content-Type: application/json
curl --location --request GET 'https://uat-api.synapsefi.com/v3.1/users/5fd7acfd8677040053ad486d/get-duplicates' \
--header 'X-SP-USER-IP: 255.127.79.76' \
--header 'X-SP-USER: oauth_Z3YDaGPNz2CWpgVck8L9jIxKR7odTSui5eFEt10X|e83cf6ddcf778e37bfe3d48fc78a6502062fc' \
--header 'Content-Type: application/json'

Possible reason Values

reason
Description
duplicate_tin
User profile detected as duplicate due to same TINs.
duplicate_ssn
User profile detected as duplicate due to same SSNs.
duplicate_name_and_address
User profile detected as duplicate due to same name and address.
duplicate_name_and_email
User profile detected as duplicate due to same name and email.
duplicate_name_and_date_of_birth
User profile detected as duplicate due to same name and dob.
duplicate_name_and_drive_license_number
User profile detected as duplicate due to same name and DLN.
blacklisted_user
User profile is closed because this user is blacklisted in our system.
not_known
Reason unknown.
patch
https://api.synapsefi.com
/v3.1/users/:user_id/swap-duplicate-users
Swap Duplicates

Example Request

HTTP
cURL
Python
JS
PHP
GO
PATCH /v3.1/users/5fd7acfd8677040053ad486d/swap-duplicate-users HTTP/1.1
Host: uat-api.synapsefi.com
X-SP-USER-IP: 255.127.79.76
X-SP-USER: oauth_Z3YDaGPNz2CWpgVck8L9jIxKR7odTSui5eFEt10X|e83cf6ddcf778e37bfe3d48fc78a6502062fc
Content-Type: application/json
{
"swap_to_user_id":"5eb054749f1eef380b833932"
}
curl --location --request PATCH 'https://uat-api.synapsefi.com/v3.1/users/5fd7acfd8677040053ad486d/swap-duplicate-users' \
--header 'X-SP-USER-IP: 255.127.79.76' \
--header 'X-SP-USER: oauth_Z3YDaGPNz2CWpgVck8L9jIxKR7odTSui5eFEt10X|e83cf6ddcf778e37bfe3d48fc78a6502062fc' \
--header 'Content-Type: application/json' \
--data-raw '{
"swap_to_user_id":"5eb054749f1eef380b833932"
}'