This is the endpoint for transfer to bank account.
Request Message Description
Field# | Field name | Data type | Required | Max Length | Description | Options |
---|---|---|---|---|---|---|
1 | walletIdType | Map | yes | wallet identifier type | ||
2 | channel | String | yes | 30 | channel sending request | “WEB” or “USSD” or “SERVICE” or “MOBILE” |
3 | walletId | String | yes | wallet identifier | ||
4 | amount | String | yes | amount | ||
5 | encryptedPin | String | yes | encrypted Pin | ||
6 | txnRef | String | yes | transaction reference | ||
7 | domain | String | no | wallet domain | ||
8 | beneficiaryAccountNumber | String | yes | beneficiary Account number | ||
9 | beneficiaryAccountName | String | yes | beneficiary Account name | ||
10 | beneficiaryBankCbnCode | String | yes | beneficiary bank code |
Endpoint
Base URL : https://api-gateway.interswitchng.com
Request: POST
/generic-wallet/api/v1/transaction/transfer/account
Header
Content-Type: application/json
Authorization: {passport generated bearer token}
Sample Request
{
"txnRef":"70039202",
"domain":"ISW",
"walletIdType":"NIN",
"walletId":"9999",
"beneficiaryAccountNumber":"738892022",
"beneficiaryAccountName":"Tester Tester",
"beneficiaryBankCbnCode":"058",
"channel":"SERVICE",
"amount":"200",
"encryptedPin": "31d7e6e95aa309fc21127391833733eb"
}
Sample Response (success)
{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": null,
"count": 0
}