Bank Account
Register a bank account
Changed onRegister a bank account that can be used for withdrawal for a given currency. Only NGN is supported at the moment.
post/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.
Request body
Example request
{
"bankName": "KUDA MICROFINANCE BANK",
"bankCode": "090267",
"bankAccountNumber": "0123456789",
"bankAccountName": "Satoshi Nakamoto",
"walletId": "d1614a76-9c7f-4111-98a7-43199f307e5b-123456789"
}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
KESof the request property - info
removed the
KESenum value from the/response property for the response status
- breaking
- info
endpoint added
- info