Request
[GET]
Header
| Header | Type | Description |
|---|---|---|
| AppId | string | Create an app to get your app ID on dashboard here |
| Authorization | string | Private/secret key. Use <key> not Bearer <key> |
Query parameter
| Parameter | Type | Description | Required |
|---|---|---|---|
| code | string | OTP received from user | required |
| reference_id | string | ID to identify the OTP | required |
Response Sample
Response
Response Fields
| Field | Type | Description |
|---|---|---|
| entity | object | Contains the OTP validation result |
| entity.valid | boolean | true if the OTP code is correct and has not expired; false otherwise |
Test Credentials for Sandbox
Kindly use this Test OTP in sandbox Environment OTP =1234