1. Home
  2. Wallet Service
  3. Transaction API
  4. Credit API – Using Debit Card

Credit API – Using Debit Card

This is the endpoint that credits wallet from a debit card.

Request Message Description

Field#Field nameData typeRequired Max Length Description Options 
1txnRefStringyes
transaction reference
2walletIdTypeStringyes
 wallet identifier type
3walletIdStringyes
wallet identifier
4amountStringyes


5channel Stringyes 30 channel sending request “WEB” or “USSD” or “SERVICE” or “MOBILE”
6cardDetails String yes
details of the debit card
7domainStringno
wallet domain

Endpoint

Base URL : https://api-gateway.interswitchng.com

Request: POST /generic-wallet/api/v1/transaction/credit

Header

Content-Type: application/json
Authorization: {passport generated bearer token}

Sample Request

{
"txnRef":"70039802",
"walletIdType": "phone",
"walletId": "08039609278",
"domain": "VER",
"channel":"SERVICE",
"amount":"42.16",
"cardDetails": "MCFi+eVtOlVQmKYHMMmhBkqhRoWuDdpyCB0+nxIQyoUTd5NXjKOxWJ32x8Ia9F2lE2yj09lHfVM+Rv9aqDTPTxsfojiTWLhk0G4Lgw3C107JnpubQCVZkNN10NpaCZxYtHBvAuUbgrGxIEFRD0XRiJNHarQIosgdSEmDvL3twzgopwfVge8oV7DAYC+SyqySgeIGwDRCXoD6FQuaayDCXLfU83ZIqO22IjmOUC/XBOrEZKGtKENMdMltEw1QNLF6P1LAPKF+lcOMaH7lbxgHrKwKaxe8PDsZy3veT3Ldad9iHtWryVjJisQbVnz0eImMvbm0CZeefoipXrATuwKyAA=="
}

Sample Response (success)

{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": null,
"count": 0
}

Was this article helpful to you? Yes No

How can we help?