Mandatory Migration to API-Based Widget URL
All partners are required to migrate their integration to use the Create Widget URL API, which generates a secure widgetUrl to load the Transak widget.
This approach ensures secure, validated, and consistent integrations across all integration options.
Passing query parameters directly in the widget URL is deprecated and no longer supported.
How It Works
Generate a Partner Access Token (Backend Only)
Call the Refresh Access Token endpoint from your backend to obtain a Partner Access Token.
Store this token securely and reuse it until it expires. When you call the endpoint again, the previously issued token is automatically invalidated.
Create a Widget URL (using Backend Only)
Call the Create Widget URL to generate a Widget URL by securely passing the widget parameters.
Request Headers
Request Body
Response
On success, the response will include widgetUrl. This URL must be used to load the Transak Widget.
Deprecation Notice
The old method of embedding query parameters directly in the widget URL is no longer supported.
Deprecated (Old)
New (Required)
The sessionId is returned from the Create Widget URL API.
Additional Required Changes for Web Integrations
The Transak widget relies on the browser’s Referer header as a runtime signal to verify the source domain. Make sure your integration sends this header correctly.
Redirect Link
Do not use rel=noreferrer. It prevents the Referer header from being sent and breaks runtime domain validation.
HTML
JavaScript
iFrame (Embed / Double Embed)
Do not use referrerpolicy=no-referrer. It strips the Referer header and prevents domain validation.
Nesting the Transak iframe inside a third-party iframe is not permitted unless the parent site has received explicit approval from Transak.
Use referrerpolicy="strict-origin-when-cross-origin" (recommended) or "origin"