The Safe Payment Verification (SPV) API call indicates whether or not the name and surname (or business name) provided by you in the request are a reasonable match to a name associated with the account. We, in return will provide you with the Pass, Caution or Fail responses.
Request
POST https://api.validate.bankersalmanac.com/safe-payment-verification
Authentication
Authentication occurs using a username and password. It uses aPOST
request, consumesapplication/x-www-form urlencoded
, and producesapplication/json
. Example Request:
"curl -H "Content-Type: application/x-www-form-urlencoded" \
--data-urlencode "username=test_user" \
--data-urlencode "password=test_user_password" \
Sample Request body
{ "cdtrCtryCde": "GB", "cdtrFirstName": "Peter Smith", "cdtrLastName": "", "cdtrAcctType": "Personal", "cdtrNatId": "123456", "cdtrAcct": "12345678" }
Sample Response
{
"status":"PASS",
"comment":"With the details that you have entered, a match with an account owner was found. (01av)"
}
Parameter fields
Parameter | Type | Description |
---|---|---|
cdtrCtryCde |
string |
creditor’s country code (per ISO 3166-1 alpha-2) |
cdtrFirstName | string |
creditor’s first name, surname (or business name for business accounts, 64 bytes in length) |
cdtrLastName | string |
creditor’s last name (field applicable to US based accounts only, 32 bytes in length) |
cdtrAcctType |
string |
creditor’s account type (Business or Personal, applicable to GB only) |
cdtrNatId |
string |
creditor’s national ID, e.g., routing number for US, sort code for UK |
cdtrAcct | string |
creditor’s bank account number |
idValue | string |
Applicable to Brazil accounts (CPF or CNPJ) |
Responses
The following table shows all possible errors, assuming authentication was successful:
Error | Description | Response Comments | Status |
---|---|---|---|
01av | Match Found | With the details that you have entered, a match with an account owner was found. | PASS |
02av | Partial Match Found | With the details that you have entered, a partial match with an account owner was found. | CAUTION |
03av | No Match Found | With the details that you have entered, there is no match with an account owner. | FAIL |
04av/13av | No Data Found | With the details that you have entered, no data was found. | FAIL |
05av | Service Unavailable | The service seems unavailable at the moment. Please try to connect again later. | FAIL |
07av | Name too long | Check Name – Given Name or Surname is too long | FAIL |
09av | Account number is invalid. | With the details you have entered, account number was invalid. | FAIL |
10av | Routing number is invalid. | With the details you have entered, routing number was invalid. (US only) | FAIL |
12av | Close Match Found | With the details that you have entered, a close match with an account owner was found. | PASS, CAUTION |
17av | Match Unavailable – Account does not support SPV check. | With the details that you have entered, there is no available match. The account does not support SPV check. (GB only) | FAIL |
18av | Match Unavailable – Customer Opted Out | With the details that you have entered, there is no available match. The customer opted out from verification. (GB only) | FAIL |
19av | Match Unavailable – Account Switched | With the details that you have entered, there is no available match. The account has been switched. (GB only) | FAIL |
20av | Match Unavailable – Sort Code not found | With the details that you have entered, there is no available match. The sort code was not found. (GB only) | FAIL |
21av | Match Found, Account is a Business Account | With the details that you have entered, a match with an account owner was found. Account is a Business account, not a Personal one. (GB only) | CAUTION |
22av | Match Found, Account is a Personal Account | With the details that you have entered, a match with an account owner was found. Account is a Personal account, not a Business one. (GB only) | CAUTION |
23av | Partial Match Found, Account is a Business Account | With the details that you have entered, a partial match with an account owner was found. Account is a Business account, not a Personal one. (GB only) | CAUTION |
24av | Partial Match Found, Account is a Personal Account | With the details that you have entered, a partial match with an account owner was found. Account is a Personal account, not a Business one. (GB only) | CAUTION |
Additional errors
The following table shows additional errors related to data structure:
Error | Description | Response Comments | Status |
---|---|---|---|
04an | Bank code error | Check Bank Code – Bank Code is too short. | FAIL |
05an | Bank code error | Check Bank Code – Bank Code is too long. | FAIL |
07bc | Account Number error | The account number entered is too short. | FAIL |
08bc | Account Number error | The account number entered is too long. | FAIL |
Country Specific fields
SPV USA
Name matching can be done for individuals or for companies. Name matching will be based on information provided in the cdtrFirstName
and cdtrLastName
values of the object. If the desired name match is for a company, for the company name the Participant would like evaluated as being associated with the account set the company name as the cdtrFirstName
value and do not provide a surname value.
{ "cdtrCtryCde": "US", "cdtrFirstName": "Peter", "cdtrLastName": "Smith", "cdtrAcctType": "", "cdtrNatId": "11228821", "cdtrAcct": "687456120965" } (not an actual sample)
SPV UK
For SPV UK, request body must contain: Customer Name, Bank Account, Sort code, Account Type (Business or Private). Example request:
{ "cdtrCtryCde": "GB", "cdtrFirstName": "Peter Smith", "cdtrLastName": "", "cdtrAcctType": "Personal", "cdtrNatId": "112288", "cdtrAcct": "68745612" } (not an actual sample)
SPV Brazil
For Brazil, request body must contain: Customer Name, IBAN number and Registration ID (CPF or CNPJ) .
{ "cdtrCtryCde": "BR", "cdtrFirstName": "Peter Smith", "cdtrLastName": "", "cdtrAcctType": "", "cdtrNatId": "", "cdtrAcct": "BR5599950505000010000000505C2", "idType": "registration_id", "idValue": "555.666.777-88" } (not an actual sample)
Mandatory fields (per country)
"cdtrCtryCde":"GB", "cdtrFirstName":"Name Surname", "cdtrLastName": "", "cdtrAcctType": "Personal", "cdtrNatId": "123456", "cdtrAcct": "12345678", "idType": "", "idValue": ""
Fields in bold are mandatory
"cdtrCtryCde":"US",
"cdtrFirstName":"Name or Business name",
"cdtrLastName": "Surname",
"cdtrAcctType": "",
"cdtrNatId": "123456",
"cdtrAcct": "123456789",
"idType": "",
"idValue": ""
"cdtrCtryCde":
"cdtrFirstName": "cdtrNatId": "BIC code" "cdtrAcct":
"cdtrCtryCde":
"cdtrFirstName": "cdtrNatId": "IFSC code" "cdtrAcct":
"cdtrCtryCde":
"cdtrFirstName": "name (in Chinese characters)" "cdtrAcct": "bank account ID"
*covers UnionPay network
"cdtrCtryCde":"BR",
"cdtrFirstName":"Peter Smith",
"cdtrLastName": "",
"cdtrAcctType": "",
"cdtrNatId": "",
"cdtrAcct": "BR5599950505000010000000505C2",
"idType": "registration_id",
"idValue": "555.666.777-88"
Fields in bold are mandatory fields
"cdtrCtryCde":
"cdtrFirstName": "cdtrAcct":
Need some help? Please email us validate@lexisnexisrisk.com
- CPF refers to the Brazilian individual taxpayer registry identification which is required for individual and personal account types
-
CNPJ refers to the taxpayer identification number which is required for businesses and sole proprietorship accounts types