Get bank Id

This endpoint retrieves a list of banks available in a specified country.

GET : v1/payment/banks?country=GH

Params

Name
Type
Decription

country

string

A string representing the country code (e.g., "GH" for Ghana) for which the banks are to be retrieved.

Response

On a successful request, the API will return a response with the following structure:

  • Data : An array of bank objects, where each object contains: * id: A string representing the unique identifier for the bank. * name: A string representing the name of the bank.The name of the country. * country_code: A string representing the name of the bank. * currency_code: A string representing the name of the bank.

{
  "status": "",
  "code": 0,
  "message": "",
  "data": [
    {
      "id": "",
      "name": "",
      "country_code": "",
      "currency_code": ""
    }
  ]
}

Last updated