---
title: "Authorize Transaction (3D Secure)"
method: POST
path: "/api/v3/purchases/otps/auths/"
---

# Authorize Transaction (3D Secure)

`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

## Request body

- object
  - `paymentId` string, required: Payment Identifier
  - `transactionId` string, required: Transaction unique identifier.
  - `eciFlag` string, required: The Electronic Commerce Indicator (ECI) Flag e.g Visa:05: Issuer Liability, 06: Issuer Liability, 07: Merchant Liability.
  - `authData` string: Auth data of the card

## Response `200`

200

- object
  - `transactionRef` string
  - `message` string
  - `token` string
  - `tokenExpiryDate` string
  - `panLast4Digits` string
  - `transactionIdentifier` string
  - `amount` string
  - `responseCode` string
  - `cardType` string
  - `retrievalReferenceNumber` string
  - `stan` string
  - `terminalId` string
  - `bankCode` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/interswitchgroup/apis/accept-payment.md) - [All operations](https://skmtc.dev/interswitchgroup/apis/accept-payment/llms.txt) - [OpenAPI document](https://skmtc.dev/interswitchgroup/apis/accept-payment/revisions/1b127ee04f2f?raw)
