Validate an OTP sent via Generate OTP (email-based).
Validates the OTP entered by the member against the one dispatched via Generate OTP. TheDocumentation Index
Fetch the complete documentation index at: https://help-loyalife.xoxoday.com/llms.txt
Use this file to discover all available pages before exploring further.
OtpType must match what was used in the generate call. A successful response confirms the member’s identity for the specified action (login, password reset, etc.).
OTPs are time-limited and single-use. The expiry duration and maximum incorrect attempt limit are both configurable at the program level — confirm these values with your Xoxoday implementation contact so your UI timer and lockout handling match. A failed response means the code has expired, already been used, or the attempt limit has been reached.
200 — Success
| Path | Type | Description |
|---|---|---|
results.IsSucessful | boolean | true |
results.ErrorCode | string | 000 |
results.ExceptionMessage | string | Success |
results.ReturnObject | boolean | true on successful verification |
400 — Invalid or Expired OTP
| Path | Type | Description |
|---|---|---|
results.IsSucessful | boolean | false |
results.ErrorCode | string | Error code from the platform |
results.ExceptionMessage | string | Human-readable reason — check this field for details |
JWT obtained from Generate Auth Token. Pass as Authorization: bearer {token}.
The member's email address
"jane.doe@example.com"
The OTP entered by the member
123456
IP address of the client device
"192.168.1.1"
Web, Mobile "Web"
Purpose of the OTP. Must match between Generate and Verify calls.
ACTIVATION, LOGIN, FORGOTPWD, CHANGEPASSWORD, RESETPASSWORD, FORGOTUSERNAME, TwoFA, UNBLOCKMEMBER, NONE, CASHBACKCONFIRM, POINTTRANSFERCONFIRM, FAMILYPOOLINGMERGE, FAMILYPOOLINGUNMERGE, AIRREVIEWNCONFIRM, DOMESTICFLIGHTREVIEWNCONFIRM, HOTELREVIEWNCONFIRM, CARREVIEWNCONFIRM, GIFTCARDREVIEWNCONFIRM, PACKAGEREVIEWNCONFIRM, SHOPREVIEWNCONFIRM, SHOPDIGITALREVIEWNCONFIRM, MERCHANTREVIEWNCONFIRM, ISPREVIEWNCONFIRM, INSURANCEREVIEWNCONFIRM "LOGIN"
19
Use 4 for customers
4
OTP verified