Skip to navigation

Authentication

Authenticate your users for the Whitelabel API with Transak Auth or Partner Auth (Auth Reliance).

View as Markdown

Whitelabel API calls made for a user, such as KYC and orders, need that user to be authenticated. There are two ways to do it. Pick one per user, and send only that method’s headers: never both on the same request.

Transak supports two approaches to authentication:

Choose a method

Transak AuthPartner Auth (Auth Reliance)
How the user logs inTransak emails the user a one-time password (OTP), and the user enters it in your app.You log the user in with your own login. Transak relies on it, so there is no second login.
Headers on each callauthorization: the user’s access token, with no Bearer prefixx-access-token: your Partner Access Token
x-user-identifier: the user’s email address
Token lifetime30 days. Renew it with Refresh User Access Token.7 days. See How to Create a Partner Access Token.
SetupNone beyond Whitelabel API accessAsk Transak to enable Auth Reliance for your API key, and allowlist your backend IP addresses
Best forApps without their own verified loginApps that already verify the user’s email address