To validate a bank code use call 1.01. Call 1.01 is our core call and allows our clients to validate all formats of codes and account numbers.
If you’re just validating a bank code or a BIC then just complete the country code and bank code field in the call. We’ll respond with details of the bank branch.
For example to validate the BIC CITIUS33XXX, the details we require are
Country Code: US
National Id: CITIUS33XXX
Account Number:
https://validate.bankersalmanac.com/validate-api/rest/convert/1.0.1?countryCode=US&nationalId=CITIUS33XXX&accountNumber=&token=entertoeknhere&noBranch=Y&errorComment=E
What do the optional fields do in the request
These fields are the core fields that you will use. For the request listed above you only need complete the countryCode and nationalId fields. We have a number of optional fields which you can use to tailor the output and are listed below.
FIELD NAME | DESCRIPTION | FORMAT | MANDATORY or OPTIONAL |
DEFAULT VALUE |
countryCode | ISO Country Code | Alpha | Mandatory | |
nationalId | Domestic bank ID | Alphanumeric | Optional | |
accountNumber | Domestic Account Number, BBAN or IBAN |
Alphanumeric | Optional | |
token | Security token | Alphanumeric & Extended Characters | Optional |
The response for this request can be modified with a number of flags which allow us to give you a response which meets your business requirements.
FIELD NAME | DESCRIPTION | FORMAT | MANDATORY or OPTIONAL |
DEFAULT VALUE |
errorComment | E or S, if the field is set to E then you will be able to edit the error text in the self service hub |
E or S | Optional | N |
dataStore | Yes/No flag if you wish the data to be stored for periodic scanning using the | Y or N | Optional | N |
ref | Free text unique reference for you to use. If this is not completed by you we will respond with a unique reference | Alphanumeric & Extended Characters | Optional | |
noBranch | Yes/No flag if you do not wish to return the branch details. | Y or N | Optional | Y |
bic8 | Yes/No flag if you wish any head office with xxx to be returned as a BIC8 or BIC11. Yes if you wish to have a BIC8 (without head office XXX) No or leave blank if you want all BICs returned as BIC11 | Y or N | Optional | N |
isoAddr | This restricts the field size to the ISO defined 80 characters | Y or N | Optional | N |
payBranchType | This allows you to choose the branch type from either I IBAN R Routing P Payment B Branch H Head Office |
I,B,H,R | Optional | P |
group | The group name that this data should be saved in. Currently not used. | Alphanumeric & Extended Characters | Optional | |
page | This requests the page number you are after, the default for this is 1 | Numeric | Optional | 1 |
pageSize | This defines the number of branches on a page, the default is 10 | Numeric | Optional | 10 |
Making the account number mandatory
If you need the account number to be mandatory then please got to the self service hub using the link below.
https://management.bankersalmanac.com/vss-web
Then go to the error module in the bottom left and change the error below to FAIL
08an Account number not entered
Then save the changes and the service will set the account number as mandatory.
Example Output
The recommended fields Tell you what we believe you should be using
Comment and status fields give you the error text and type
Any details on the branch are held within the branch details section.
“countryCode”: “US”,
“nationalId”: “CITIUS33XXX”,
“accountNumber”: “”,
“recommendedNatId”: “021000089”,
“recommendedAcct”: “”,
“recommendedBIC”: “CITIUS33XXX”,
“status”: “PASS”,
“comment”: “You have requested to only receive the Head Office details, please request the data again and request all the branches if you require this. (08sy)”,
“ref”: “20181026130718552”,
“group”: “”,
“branchDetails”: null,
“headOfficeDetails”: {
“bankName”: “CITIBANK N.A.”,
“branch”: “”,
“street”: “399 PARK AVENUE”,
“city”: “NEW YORK”,
“postZip”: “10022”,
“region”: “NY”,
“country”: “UNITED STATES OF AMERICA”,
“codeDetails”: {
“codeName1”: “BIC”,
“codeValue1”: “CITIUS33XXX”,
“codeName2”: “CHIPS”,
“codeValue2”: “”,
“codeName3”: “BIC-4”,
“codeValue3”: “CITI”,
“codeName4”: “ABA”,
“codeValue4”: “021000089”
},
“additionalData”: {
“ssiAvailable”: “Y”,
“payServiceAvailable”: “Y”,
“contactsAvailable”: “Y”,
“messageAvailable”: “Y”,
“holidayAvailable”: “Y”
}
},
“paymentBicDetails”: {
“branchTypeLabel”: “Payment BIC Branch”,
“bankName”: “CITIBANK N.A.”,
“branch”: “”,
“street”: “399 PARK AVENUE”,
“city”: “NEW YORK”,
“postZip”: “10022”,
“region”: “NY”,
“country”: “UNITED STATES OF AMERICA”,
“codeDetails”: {
“codeName1”: “BIC”,
“codeValue1”: “CITIUS33XXX”,
“codeName2”: “CHIPS”,
“codeValue2”: “”,
“codeName3”: “BIC-4”,
“codeValue3”: “CITI”,
“codeName4”: “ABA”,
“codeValue4”: “021000089”
},
“additionalData”: {
“ssiAvailable”: “Y”,
“payServiceAvailable”: “Y”,
“contactsAvailable”: “Y”,
“messageAvailable”: “Y”,
“holidayAvailable”: “Y”
}
},
“bic8”: “N”,
“dataStore”: “N”,
“noBranch”: “Y”,
“isoAddr”: “N”,
“payBranchType”: “D”,
“freeToken”: “C5895iikKzgj0fzuGis8pBtpRz7OJxq9XbBXzCJyZ2UWxMS9Qk0No3cQieie”
}