This is the endpoint that credits multiple wallets from the float card of the domain.
Request Message Description
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/bulk
Header
Content-Type: application/json
Authorization: {passport generated bearer token}
Sample Request
{
"txnRef": "70039802",
"encryptedPin": "449d3eb337c50d52627fef43dbd6c4de",
"channel": "SERVICE",
"domain": "VER",
"beneficiaryWallets" : [
{
"walletIdType": "phone",
"walletId": "08039609278",
"amount": "4.56"
},
{
"walletIdType": "phone",
"walletId": "08039609278",
"amount": "1.89"
}
]
}
Sample Response (success)
{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": [
{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Approved or completed successfully",
"errors": null,
"modelList": null,
"count": 0,
"walletId": "2348039609278",
"walletIdType": "phone"
},
{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Approved or completed successfully",
"errors": null,
"modelList": null,
"count": 0,
"walletId": "2348039609278",
"walletIdType": "phone"
}
],
"count": 2
}