This is the endpoint that credits wallet from the float card of the domain.
Request Message Description
Field# | Field name | Data type | Required | Max Length | Description | Options |
---|---|---|---|---|---|---|
Field# | Field name | Data type | Required | Max Length | Description | Options |
1 | txnRef | String | yes | transaction reference | ||
2 | walletIdType | String | yes | wallet identifier type | ||
3 | walletId | String | yes | wallet identifier | ||
4 | amount | String | yes | |||
5 | channel | String | yes | 30 | channel sending request | “WEB” or “USSD” or “SERVICE” or “MOBILE” |
6 | encryptedPin | String | yes | encrypted Pin of the float card | ||
7 | domain | String | no | wallet domain |
Endpoint
Base URL : https://api-gateway.interswitchng.com
Request: POST
/generic-wallet/api/v1/transaction/credit/domain
Header
Content-Type: application/json
Authorization: {passport generated bearer token}
Sample Request
{
"txnRef":"70039802",
"walletIdType": "phone",
"walletId": "08039609278",
"channel":"SERVICE",
"amount":"5",
"domain":"VER",
"encryptedPin": "449d3eb337c50d52627fef43dbd6c4de",
}
Sample Response
{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": null,
"count": 0
}