Redirect Link
This is the quickest way to integrate with Transak. Make sure to add your API key and customise using query parameters.
- Create a Widget URL (Backend Only):
Call the Create Widget URL to generate a Widget URL by securely passing the widget parameters:
The response will return a widgetUrl.
- You will get
widgetUrllink as:
<a href="https://global-stg.transak.com?apiKey=YOUR_API_KEY&sessionId=YOUR_SESSION_ID" target="_blank">
Buy/Sell Crypto with Transak
</a>
<a href="https://global.transak.com?apiKey=YOUR_API_KEY&sessionId=YOUR_SESSION_ID" target="_blank">
Buy/Sell Crypto with Transak
</a>
TipTo improve user experience, it's recommended to have Transak open in a new tab and pass the
redirectURLquery parameter in Create Widget URLImportant:
Each
sessionIdcan be used only once.The widget cannot be reopened with the same
widgetUrl.A new
sessionIdis required for each fresh user flow.
Updated 1 day ago