v1

latestOpenAPI 3.1.02026-07-26290731.0 KB

Authorize Transaction (3D Secure)

post/api/v3/purchases/otps/auths/

Request body

paymentIdstring required

Payment Identifier

transactionIdstring required

Transaction unique identifier.

eciFlagstring required

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

authDatastring

Auth data of the card

Response

200

transactionRefstring
messagestring
tokenstring
tokenExpiryDatestring
panLast4Digitsstring
transactionIdentifierstring
amountstring
responseCodestring
cardTypestring
retrievalReferenceNumberstring
stanstring
terminalIdstring
bankCodestring

Example response

{
  "transactionRef": "1234455frwfredf8rs9ss",
  "message": "Approved by Financial Institution",
  "token": "5123453847245380",
  "tokenExpiryDate": "2004",
  "panLast4Digits": "4118",
  "transactionIdentifier": "SCB|API|VNA|29-08-2023|12232346643|904838",
  "amount": "15.00",
  "responseCode": "00",
  "cardType": "Visa",
  "retrievalReferenceNumber": "48111169499",
  "stan": "060099",
  "terminalId": "3IPG0001",
  "bankCode": "068"
}