Redirect Link

This is the quickest way to integrate with Transak. Make sure to add your API key and customise using query parameters.


  1. 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.

  1. You will get widgetUrl link 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>
📘

Tip

To improve user experience, it's recommended to have Transak open in a new tab and pass the redirectURLquery parameter in Create Widget URL