Skip to navigation

Whitelabel API

A complete API solution for building custom on/off ramp experiences.

View as Markdown

The Transak Whitelabel API enables partners to integrate Transak products directly into their own platforms using APIs, without displaying any third-party user interface (such as the Transak Widget).

Partners maintain complete control over the user interface and end-to-end user journey, while Transak manages the backend complexities through APIs, including KYC, compliance, liquidity, payment processing, and fraud management.

The Whitelabel API is built for wallets, DEXs and CEXs, dApps and fintech apps, and covers 136+ cryptocurrencies across 45+ blockchains in 64+ countries. You can also reuse your own login with Auth Reliance, and KYC you have already done with KYC Reliance.

Current Limitations & Known Constraints

ProductSupportedLimitations
On RampYes

Cards / Apple Pay / Google Pay: Fully supported through APIs.

Bank Transfers: Fully supported through APIs.

Simple KYC: Fully supported through APIs (Personal & Address details).

Standard KYC: Navigate to Transak’s provider widget to upload Document ID Proof and conduct Liveness checks.

Off RampNo

NA

KYC Reliance Via SumsubYes

Not supported for US KYC users

Transak Stream - Off RampNo

NA

Whitelabel APIs are to be called only from the partner backend and subjected to the whitelisting of partner IP addresses. Direct API calls from the frontend apps are not supported.

API Overview

Quickstart

This section takes you from a Transak API key to a working setup: access, base URLs and headers. Then follow How the integration fits together to build the flow.

Before you start

You need:

Step 1: Get access

1

Ask Transak to enable the Whitelabel API for your API key

Your API key must be enabled for the Whitelabel API before the calls work. See What does it take to get access to the Whitelabel API? for the commercial terms, and Need help in Integration for how to reach the team.

2

Send your backend IP addresses for allowlisting

Transak only accepts Whitelabel API calls from allowlisted IP addresses. Share your backend’s static egress IP addresses for both staging and production. See Mandatory Security Changes.

Allowlist only your backend’s IP addresses. Calls from a frontend, such as a browser or mobile app, are not allowed.

Step 2: Pick the base URL

EnvironmentBase URL
Staginghttps://api-gateway-stg.transak.com
Productionhttps://api-gateway.transak.com

Build and test on staging first. See How to Test Using Sandbox Credentials for test users and payment details.

Step 3: Send the required headers

Send these headers on every call:

HeaderValue
x-api-keyYour partner API key.
x-user-ipThe IP address of the end user you are calling for. See User IP Header in APIs.

Calls made for a logged-in user also need one of these two ways to authenticate the user. Use one or the other, never both:

MethodHeadersToken
Transak AuthauthorizationThe user’s accessToken from Verify User OTP, sent on its own with no Bearer prefix. It is valid for 30 days. Renew it with Refresh User Access Token before it expires.
Partner Auth (Auth Reliance)x-access-token and x-user-identifierYour Partner Access Token, valid for 7 days. See How to Create a Partner Access Token. x-user-identifier is the email address of the user you authenticated. See Auth Reliance.

See Authentication to compare the two methods.

Before you go live

How the integration fits together

Every Whitelabel API integration follows the same six steps. Each step links to the page that covers it in full.

Lookup

Lookup APIs provide public reference data that you can use before initiating a session. Use them to populate currency selectors, validate supported regions, and fetch real-time quotes. No user login is required, but send the x-api-key and x-user-ip headers.

Authentication

Authenticate the user with one of two methods. See Authentication to compare them.

Check KYC status

After Get Quote, check whether the logged-in user can place an order.

Get KYC Requirement is the only source of truth for whether the user can place an order. This check is required for all payment methods.

Before every order, get a fresh quote and call Get KYC Requirement with its quoteId. Route the user on the data.status it returns:

data.statusNext step
APPROVEDGo to Payments.
NOT_SUBMITTEDRun a KYC flow: Transak KYC or Partner KYC (KYC Reliance).
SUBMITTEDPoll Get KYC Requirement until it returns APPROVED.
ADDITIONAL_FORMS_REQUIREDOne or more forms are still pending. Call Get Additional Requirements to find out which, and complete them. See Additional forms below.
REJECTEDThe user’s KYC was rejected and there is nothing left to resubmit, so the user can’t place an order. Show a screen that asks them to contact Transak Support. If the user can resubmit, Get KYC Requirement returns NOT_SUBMITTED or ADDITIONAL_FORMS_REQUIRED instead.
401 responseThe token is missing, invalid or expired. Log the user in again (Authentication).

Additional forms

Get Additional Requirements can return any of these form types:

Form typeWho needs itHow to complete it
PURPOSE_OF_USAGEAll usersPost Purpose of Usage
IDPROOFStandard KYCID Proof & Liveness Check
US_SSNUS usersSubmit SSN
FCAUK usersSubmit FCA
CONSENTEEA users who completed KYC before MiCASubmit MiCA Consent
SOURCE_OF_INCOMEEnhanced KYC, and all EEA usersSubmit Source of Income
ADDITIONAL_DETAILS_NATIONALITYEEA usersSubmit Additional Details Nationality
DOCUMENT_PROOFEnhanced KYCUpload Proof Document

More than one form can be pending. Complete them in the order they are returned, and call Get Additional Requirements again after each one, until Get KYC Requirement returns APPROVED. New form types may be added: if you get one you don’t recognise, route the user to support rather than failing.

To see which forms, disclaimers and payment methods apply to US, UK and EEA users, see Requirements by User Region.

KYC

Get the user KYC approved with one of four methods. See KYC to compare them.

Transak KYC

Transak verifies the user.

Partner KYC (KYC Reliance)

The user is already verified, and Transak relies on that KYC.

After the user submits KYC, go back to Check KYC status and call Get KYC Requirement again. Continue to Payments only when it returns APPROVED.

Payments

Before you create an order, the Get KYC Requirement check must return APPROVED.

Create the order with the payment method the user picked. Each page lists the order APIs that method uses, from limits and active orders to tracking.

Track Order

After you create the order, track its status until it completes. See How to Track Order Status.