GET
/
bankaccount
curl --request GET \
  --url https://staging.api.mavapay.co/api/v1/bankaccount \
  --header 'X-API-KEY: <api-key>'
{
  "status": "success",
  "data": [
    {
      "bankName": "KUDA MICROFINANCE BANK",
      "bankCode": "090267",
      "bankAccountNumber": "0123456789",
      "bankAccountName": "Satoshi Nakamoto",
      "currency": "NGN",
      "walletId": "d1614a76-9c7f-4111-98a7-43199f307e5b-123456789"
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

Query Parameters

walletId
string

The wallet ID to get the bank account for (optional)

currency
enum<string>

The currency to get the bank account for (optional). Only NGN is supported at the moment.

Available options:
NGN

Response

200
application/json

Bank account response

The response is of type object.