1. Home
  2. Wallet Service
  3. Transaction API
  4. Debit API

Debit API

This is the endpoint that debit wallet and transfer fund to domain float 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”
6encryptedPin String yes
wallet Encrypted Pin
7domainStringno
wallet domain

Endpoint

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

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

Header

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

Sample Request

{
"txnRef":"70039206",
"walletIdType":"phone",
"walletId":"08012345678",
"channel":"SERVICE",
"amount":"500",
"encryptedPin": "1f5a9e3afd2d86f05f114d905106f6cd"
}

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?