Skip to main content
Use this endpoint to retrieve the full list of Nigerian banks supported by the Shogun platform, along with their corresponding bank codes. Bank codes are required fields when calling Name Enquiry and Funds Transfer. Cache the result in your application and refresh it periodically — the list of banks changes infrequently. Endpoint
POST https://baasapi.payrepmfb.com/api/v1/transaction/transfer/web/fetch_all_banks
Sandbox
POST https://shogun-dev.xchangeboxng.com/api/v1/transaction/transfer/web/fetch_all_banks

Authentication

Include your Bearer token in the Authorization header:
Authorization: Bearer <access_token>
Obtain a token by logging in via User Login.

Request body

No request body is required for this endpoint.

Example request

curl --request POST \
  --url https://baasapi.payrepmfb.com/api/v1/transaction/transfer/web/fetch_all_banks \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json'

Response

A successful response returns the standard envelope with an array of bank objects in data.
status
boolean
true when the request succeeded.
response_code
string
"00" on success.
message
string
Human-readable status message.
data
array
An array of bank objects representing all supported Nigerian banks.
{
  "status": true,
  "response_code": "00",
  "message": "Banks fetched successfully",
  "data": [
    {
      "bank_name": "Access Bank",
      "bank_code": "044"
    },
    {
      "bank_name": "Guaranty Trust Bank",
      "bank_code": "058"
    },
    {
      "bank_name": "United Bank for Africa",
      "bank_code": "033"
    }
  ]
}

Error codes

CodeMeaning
00Success
41Customer not found — your session token is invalid or expired
80Service unavailable — the bank list could not be retrieved at this time