# OTP Validation

## OTP Validation

<mark style="color:green;">`POST`</mark> `https://a1pay.net/api/cardpayment/otpvalidate`

#### Request Body

| Name            | Type   | Description                                         |
| --------------- | ------ | --------------------------------------------------- |
| ChargeReference | string | The gateway's charge reference for this transaction |
| OTP             | string | The response of the user to the OTP prompt          |
| TransactionId   | string | Id of the current transaction                       |

{% tabs %}
{% tab title="200 Regardless of what you get here, you should then query the transaction to get the correct update on the status of the transaction." %}

```javascript
```

{% endtab %}
{% endtabs %}
