Endpoint
Authentication
All requests must include a valid Dashboard Bearer token in theAuthorization header.
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer <token> — obtain from Login |
Content-Type | string | Yes | application/json |
Request Body
The one-time password you received on your registered device. Maximum 255 characters.
The purpose this OTP was generated for. Must match the value used when calling Generate OTP. Accepted values:
transactionuser_password_resetstaff_password_reset
Example Request Body
Response
A successful response confirms the OTP is valid for the declared purpose.Success
Error Codes
| Response Code | Meaning |
|---|---|
02 | Invalid OTP — the code you submitted does not match |
03 | Expired OTP — the code is past its validity window; generate a new one |
01 | Validation error — otp or purpose field is missing or malformed |