Skip to navigation

List banks for the bank account step

The banks the applicant can pick on a workflow’s bank account step, with the code to send as bankAccount.bankCode on POST /api/v1/verify, and the fields the step asks for in that country. The same answer as GET /api/v1/checks/bank_account/banks, for a publishable key or a hosted session token. Free: it is a list, not a check. The SDKs call it for you.

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.
environment_mismatch403The key belongs to an environment this deployment does not serve.
origin_not_allowed403The publishable key has an origin allowlist and the request origin is not on it.
ip_not_allowed403The secret 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.

Accepts a publishable (pk_) or secret (sk_) key.

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