You can get the list of supported banks by calling dedicated endpoint. This is helpful in scenarios like:
merchant wants to display list of supported banks on his web page
merchant wants the user to select the bank for the payment directly on merchant’s page, before redirection to the pay gate (so called bank pre-selection).
Request
GET {{everifin_url}}/api/{{version}}/banks?countryCode=SVKe
Filter
Field | Type | Optional | Description |
---|---|---|---|
countryCode | ALPHA-3 | yes | Country code |
Response
The response consists of the items having the following fields.
Field | Type | Optional | Description |
---|---|---|---|
id | text | no | Bank id, for the most of banks it is the bank BIC code |
name | text | no | Bank name |
countryCode | APLHA-3 code | no | Bank country code |
countryCodeAlpha2 | ALPHA-2 code | no | Bank country code |
itemType | enum | no | As some banks can be logically grouped (e.g. multiple bank products under one bank house or multiple banks in one bigger bank group) and thus the response can be multi-layer structure (max 3 levels), this field indicates the type of the item in the structure (if it is the bank or some kind of group having sub-items). Possible values:
|
bic | text | no | BIC/SWIFT code of the bank |
logoUrl | text | no | URL of the bank logo picture |
Item types
Item Type | Description |
---|---|
BANK | Item represents the actual bank (has no sub-items). |
MAIN_GROUP | Item can appear only on first level of the response data and will always have sub-items. The sub-items can be of item types:
|
PRODUCT_GROUP | Item can appear on first or second level of the response structure and will always have sub-items. The sub-items can be only the items of the type BANK. The motivation to introduce this grouping item type is possibility to present the list of one bank’s products differently comparing to main group of banks in GUI (This way the integrator of the API can follow the way how the bank presents the banking products to their clients - e.g. Bank Austria displays them in one modal window). |
Response example
Examples can be found here: Endpoint: Get list of Banks