user

Verify User OTP

The Verify User OTP is a non-authenticated API that allows you to verify a user’s email using an OTP and retrieve an access token in return.

Once you have successfully called Send User OTP, you need to pass the email verification code along with the user’s email to verify the OTP.

Access Token Usages (Received in response)

  • This access token is required for all authenticated API calls (such as placing orders, fetching user details, and submitting KYC).

  • This access token remains valid for 30 days from the time of generation. Once expired, the user must restart the authentication process by requesting a new OTP.

post/api/v2/auth/verify

Request

  • Base URL: https://api-gateway-stg.transak.com
  • URL: https://api-gateway-stg.transak.com/api/v2/auth/verify
  • Auth: none declared. Required headers: x-user-ip, x-api-key

Headers

x-user-ipstring required

End user's originating IP. More details here

x-api-keystring required

Partner API Key present in Transak Dashboard.

Request body

apiKeystring required

Your API Key from Transak Dashboard

emailstring required

Your Email address used to receive OTP.

otpstring required

Your OTP received in your Email inbox.

stateTokenstring required

token received in api/v2/auth/login

Response

200 - Verify User OTP

Changes

No recorded changes to this operation across all 1 revision of this API.