Skip to main content
POST
Verify Login OTP
Verifies the OTP sent to the customer during login (two-factor authentication). Call this after a successful /login response that requires OTP confirmation. Requires the temporary X-Auth-Token returned by the login step.

Request Headers

string
required
The JWT token returned from the login step.
string
default:"fincode"
required
Platform identifier. Use fincode.
string
default:"200"
required
Unique request identifier.

Request Body

string
required
The one-time password received by the customer via email or SMS.

Response

string
SUCCESS if the OTP is valid, FAILED otherwise.
string
otp verified on success.

Code Example

cURL

Headers

platform
string
default:fincode
required
uuid
string
default:200
required
X-Auth-Token
string
required

Body

application/json
otp
string

Response

200

OTP verified