Skip to content

List bank directories

GET
/api/v1/kyc/banks
curl --request GET \
--url https://connect.payhero.africa/api/v1/kyc/banks \
--header 'Authorization: Basic <credentials>'

Every country whose bank account check takes a bank from a fixed list, with that list. Render it as a select rather than asking anyone to type a bank code.

One entry per supported country.

Media typeapplication/json
Array<object>

The banks one country’s bank account check accepts.

object
country
string
label
string
field

The request field the chosen bank value belongs in.

string
Allowed values: bank_code bank_id
check
string
banks
Array<object>
object
value
string
label
string
Example
[
{
"country": "NG",
"label": "Nigeria",
"field": "bank_code",
"check": "bank_account_ng",
"banks": [
{
"value": "058",
"label": "Guaranty Trust Bank Plc"
}
]
}
]

Missing or invalid Basic auth credentials.

Media typeapplication/json
object
error_code
string
error_message
string
status_code
integer
Example
{
"error_code": "invalid_argument",
"error_message": "the transaction amount is insufficient as it wont cater for cost: (4.62)",
"status_code": 400
}