Account Debit

This method will accept certain parameters and returns a response based on the status of the transaction.

post/api/v1/accountdebit/transactions

Request

  • Base URL
    https://sandbox.interswitchng.com
  • URL
    https://sandbox.interswitchng.com/api/v1/accountdebit/transactions
  • Auth
    OAuth 2

Headers

Authorizationstring

Bearer Authorization

Signaturestring

Second layer authentication. Base64Encoded(Sha512(amount&transactionId&secret))

Request body

SourceAccountstring required

Accountnumber to be debited

amountstring required

Amount to be transferred(Minor: 5000 is equivalent to 50 naira)

transactionIdstring required

Unique Identifier for the transaction

sourceAccountNamestring required

Name of Source Account

narrationstring

Brief description of the transaction

Response

200

responseCodestring
responseMessagestring
amountstring
transactionIdstring
transactionDatestring
requestReferencestring
narrationstring

Example response

{
  "responseCode": "00",
  "responseMessage": "0021489827",
  "amount": "3000",
  "transactionId": "839927jdeokwjd722",
  "transactionDate": "2001-02-21 02:35:45",
  "requestReference": "bbb9054hhdfsj"
}

Changes

No recorded changes to this operation across all 1 revision of this API.