Authenticate OTP

Authenticate an OTP sent to your mobile

post/api/v3/purchases/otps/auths

Request

  • Base URL
    https://sandbox.interswitchng.com
  • URL
    https://sandbox.interswitchng.com/api/v3/purchases/otps/auths
  • Auth
    none required

Headers

Authorizationstring

Set value to "Bearer ACCESS_TOKEN"

Content-Typestring

Set value to "application/json"

Request body

paymentIdstring required

Payment Identifier.

otpstring required

One Time Password sent to your mobile

transactionIdstring

Transaction unique identifier. (required for 3D secure)

eciFlagstring

The Electronic Commerce Indicator (ECI) Flag e.g Visa:05: Issuer Liability, 06: Issuer Liability, 07: Merchant Liability.

Response

200

transactionRefstring
messagestring
tokenstring
tokenExpiryDatestring
panLast4Digitsstring
transactionIdentifierstring
amountstring
responseCodestring
cardTypestring

Example response

{
  "transactionRef": "12n345mmm0km655",
  "message": "Approved by Financial Institution",
  "token": "512341105007817082",
  "tokenExpiryDate": "5003",
  "panLast4Digits": "7499",
  "transactionIdentifier": "FBN|API|MX6072|28-07-2021|3530471|575379",
  "amount": "20000.00",
  "responseCode": "00",
  "cardType": "Verve"
}

Changes

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