Vesicash API Documentation V2
  • Overview
  • API DOCUMENTATION
    • API Basics
    • Authentication
    • Errors
    • Escrow Transactions
      • Create a transaction
      • Get transaction by transaction_id
      • Get transaction charges
      • Get bank lists
      • Get transactions by userid
      • Get all transactions
      • Pay for transaction
      • Send transaction invite
      • Accept transaction
      • Reject transaction
      • Mark milestone as done
      • Accept milestone delivery
      • Reject milestone delivery
      • Request due date extension
      • Approve due date extension
      • Edit transaction
      • Edit milestone
      • Edit party
      • Delete transaction
      • Webhook Notification
    • Merchant Of Record
      • Initiate MoR checkout
      • Get MoR transactions
Powered by GitBook
On this page
  • get bank lists
  • Request Body
  • Request
  • Response
  1. API DOCUMENTATION
  2. Escrow Transactions

Get bank lists

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

get bank lists

GET v2/banks

Headers

Name
Type
Description

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"
        },
 
```

PreviousGet transaction chargesNextGet transactions by userid

Last updated 10 months ago