cURL
curl --request GET \ --url https://staging.api.mavapay.co/api/v1/bank/bankcode \ --header 'Authorization: Bearer <token>' \ --header 'X-API-KEY: <api-key>'
{ "status": "ok", "message": "all bank codes retrieved successfully", "data": [ { "bankName": "KUDA MICROFINANCE BANK", "nipBankCode": "090267" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The country to get the bank codes for. Use 'NG' for Nigeria and 'ZA' for South Africa.
NG
ZA
Bank code response
"ok"
"all bank codes retrieved successfully"
Show child attributes
"KUDA MICROFINANCE BANK"
"090267"