Bank Account
Get bank account details
Changed onReturns all your saved bank accounts for a given currency. The bank account details used to make payouts to your customers.
get/bankaccount
Request
- Base URLhttps://staging.api.mavapay.co/api/v1
- Auth
- API key in header X-API-KEY
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
walletIdstring uuid
The wallet ID to get the bank account for (optional)
currency'NGN'
The currency to get the bank account for (optional). Only NGN is supported at the moment.
Response
Bank account response
Example response
{
"status": "ok",
"data": [
{
"bankName": "KUDA MICROFINANCE BANK",
"bankCode": "090267",
"bankAccountNumber": "0123456789",
"bankAccountName": "Satoshi Nakamoto",
"walletId": "d1614a76-9c7f-4111-98a7-43199f307e5b-123456789"
}
]
}Changes
- breaking
removed the enum value
BTCfrom thequeryrequest parametercurrency - breaking
removed the enum value
KESfrom thequeryrequest parametercurrency - breaking
removed the enum value
USDfrom thequeryrequest parametercurrency - info
removed the
KESenum value from the//response property for the response status
- breaking
- info
endpoint added
- info