---
updatedAt: 2025-11-11T00:09:28.000Z
agentTools:
  projectIndex: https://docs.interswitchgroup.com/v1.1/llms.txt
---

# Authorize Transaction (3D Secure)

This endpoint is used to initiate a 3D Secure authentication for a card payment transaction. This endpoint redirects the customer to their card issuer's authentication page to complete the 3D Secure process.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "accept-payment",
    "version": "1.1"
  },
  "servers": [
    {
      "url": "https://qa.interswitchng.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/v3/purchases/otps/auths": {
      "get": {
        "summary": "Authorize Transaction (3D Secure)",
        "description": "This endpoint is used to initiate a 3D Secure authentication for a card payment transaction. This endpoint redirects the customer to their card issuer's authentication page to complete the 3D Secure process.",
        "operationId": "authorize-transaction-3d-secure",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "paymentId",
                  "transactionId",
                  "eciFlag"
                ],
                "properties": {
                  "paymentId": {
                    "type": "string",
                    "description": "Payment Identifier",
                    "default": "3530063"
                  },
                  "transactionId": {
                    "type": "string",
                    "description": "Transaction unique identifier.",
                    "default": "MSPjKBV2Kyg91MQRMep0"
                  },
                  "eciFlag": {
                    "type": "string",
                    "description": "The Electronic Commerce Indicator (ECI) Flag e.g Visa:05: Issuer Liability, 06: Issuer Liability, 07: Merchant Liability.",
                    "default": "07"
                  },
                  "authData": {
                    "type": "string",
                    "description": "Auth data of the card"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"transactionRef\": \"1234455frwfredf8rs9ss\",\n    \"message\": \"Approved by Financial Institution\",\n\t  \"token\": \"5123453847245380\",\t \n    \"tokenExpiryDate\": \"2004\", \n    \"panLast4Digits\": \"4118\",\n    \"transactionIdentifier\": \"SCB|API|VNA|29-08-2023|12232346643|904838\",\n    \"amount\": \"15.00\",\n    \"responseCode\": \"00\",\n    \"cardType\": \"Visa\",\n    \"retrievalReferenceNumber\": \"48111169499\",\n    \"stan\": \"060099\",\n    \"terminalId\": \"3IPG0001\",\n    \"bankCode\": \"068\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "transactionRef": {
                      "type": "string",
                      "example": "1234455frwfredf8rs9ss"
                    },
                    "message": {
                      "type": "string",
                      "example": "Approved by Financial Institution"
                    },
                    "token": {
                      "type": "string",
                      "example": "5123453847245380"
                    },
                    "tokenExpiryDate": {
                      "type": "string",
                      "example": "2004"
                    },
                    "panLast4Digits": {
                      "type": "string",
                      "example": "4118"
                    },
                    "transactionIdentifier": {
                      "type": "string",
                      "example": "SCB|API|VNA|29-08-2023|12232346643|904838"
                    },
                    "amount": {
                      "type": "string",
                      "example": "15.00"
                    },
                    "responseCode": {
                      "type": "string",
                      "example": "00"
                    },
                    "cardType": {
                      "type": "string",
                      "example": "Visa"
                    },
                    "retrievalReferenceNumber": {
                      "type": "string",
                      "example": "48111169499"
                    },
                    "stan": {
                      "type": "string",
                      "example": "060099"
                    },
                    "terminalId": {
                      "type": "string",
                      "example": "3IPG0001"
                    },
                    "bankCode": {
                      "type": "string",
                      "example": "068"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```