Skip to navigation

List banks for a bank account check

The banks a bank account check can name in a country, with the code to send as bankCode. The same real banks in every environment, Sandbox included.

Error codes

errorStatusMeaning
invalid_input400country is not NG, KE or ZA.
feature_disabled403Bank account verification is not switched on for your organisation.
banks_unavailable503The list of banks could not be read right now.
secret_key_required403A publishable key was used. This endpoint accepts secret keys only.
environment_mismatch403The key belongs to an environment this deployment does not serve.
ip_not_allowed403The key has an IP allowlist and the calling address is not on it.
organization_suspended403The organisation is suspended. The response carries reason and suspendedAt.
business_not_approved403A live key was used before the business was approved for production.

A missing or unknown key answers 401, where error is a short sentence rather than a code.

Requires a secret (sk_) key. A publishable key receives 403 secret_key_required.

Authentication

AuthorizationBearer

Send the API key as a Bearer token. Each operation states whether a publishable key is enough or a secret key is required. A scoped publishable key has Verification flow access, the fixed set flow.run, flow.config.read and verifications.status.read; a scoped secret key reaches what its scopes allow.

Query parameters

countryenumRequired
The country. Required.
Allowed values:
holderenumOptionalDefaults to person

Who the account belongs to, for fields.

Allowed values:

Response

The banks.
countrystring
The country.
bankslist of objects
fieldslist of objectsOptional

The fields a check needs in this country for the holder (holder=person or business), in order: the account number everywhere; in South Africa also the account type and the holder’s ID number (a person) or company registration number (a business).

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
503
Service Unavailable Error