This is the endpoint for getting all the available recipient banks, the bankCbnCode field will then be supplied in the transfer to bank account payload.
Endpoint
Base URL : https://api-gateway.interswitchng.com
Request: GET
/generic-wallet/api/v1/admin/account/banks
Header
Content-Type: application/json
Authorization: {passport generated bearer token}
Sample Response (success)
{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": [
{
"id": 1,
"bankCode": "PRO",
"bankName": "Providus Bank New",
"bankCbnCode": "101"
},
{
"id": 22,
"bankCode": "ACC",
"bankName": "Access Bank",
"bankCbnCode": "058"
},
{
"id": 23,
"bankCode": "FBN",
"bankName": "First Bank New",
"bankCbnCode": "123"
}
],
"count": 3
}