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 Session (Backend Only):

Call the Create Session API to generate a sessionId by securely passing the widget parameters:

The response will return a sessionId.

  1. Pass sessionId in the widget URL link :
<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 session api