Bankcodes API
Check if a bank is supported by xs2a
You will receive information about the selected bank. The field xs2a_supported can be used to determine whether or not you should offer XS2A products to your customer.
get/bankcodes
Query parameters
bank_codestring
bank code of the customers bank, optionally a country_id, otherwise Germany will be assumed
country_id'DE' | 'AT' | 'CH'
The 2-letter country code
Example:DE
Two letter country code id, e.g. AT, CH, DE
bicstring
BIC of the customers bank, no country id is necessary
per_pageinteger
Items per page
pageinteger
Which page to display
qstring
Uses the value to search for customers bank as either BIC or bank code
Response
Request successfully processed
Example response
{
"bank_code": "88888888",
"bic": "TESTDE88XXX",
"name": "Testbank",
"short_name": "Testbank",
"zipcode": "12345",
"city": "Teststadt",
"country_id": "DE",
"testmode": "1",
"xs2a_products": [
"xs2a_risk"
],
"xs2a_supported": true
}