---
title: "Authenticate OTP"
method: POST
path: "/api/v3/purchases/otps/auths"
---

# Authenticate OTP

`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

Authenticate an OTP sent to your mobile

## Headers

- `Authorization` string
- `Content-Type` string

## Request body

- object
  - `paymentId` string, required: Payment Identifier.
  - `otp` string, required: One Time Password sent to your mobile
  - `transactionId` string: Transaction unique identifier. (required for 3D secure)
  - `eciFlag` string: The Electronic Commerce Indicator (ECI) Flag e.g Visa:05: Issuer Liability, 06: Issuer Liability, 07: Merchant Liability.

## Response `200`

200

- object
  - `transactionRef` string
  - `message` string
  - `token` string
  - `tokenExpiryDate` string
  - `panLast4Digits` string
  - `transactionIdentifier` string
  - `amount` string
  - `responseCode` string
  - `cardType` 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)
