Get bank lists

The endpoint retrieves the list of banks in a particular country.

get bank lists

GET v2/banks

Headers

NameTypeDescription

Accept*

string

application/json

V-PRIVATE-KEY*

string

your vesicash private key

V-PUBLIC-KEY*

String

your vesicash public key

Request Body

The request should include a JSON payload with the parameter below:

  • country_code(string): The code of the country eg "ng' for Nigeria

Request

For example, you can make a post request to the endpoint above and pass in the raw json data below to create a one-off transaction.

``
{
    "country_code": "ng"
}
```

Response

The response is in JSON format and follows the schema

```json

    "status": "success",
    "code": 200,
    "message": "Banks fetched",
    "data": [
        {
            "code": "000019",
            "id": 825,
            "name": "Enterprise Bank"
        },
 
```

Last updated