cURL
curl --request GET \ --url https://staging.api.mavapay.co/api/v1/bank/bankcode
{ "status": "ok", "message": "all bank codes retrieved successfully", "data": [ { "bankName": "KUDA MICROFINANCE BANK", "nipBankCode": "090267" } ] }
Returns all bank codes for a given country. This endpoint is currently limited to Nigeria(NGN) and South Africa(ZAR) only.
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