β€‹β€‹πŸƒβ€β™‚οΈβ€‹ User journey

It is worth spending time to create an optimal user journey between your app and Transak. This can really improve user conversion and satisfaction.

You can create steps and UI screens before and after directing users to Transak to buy crypto. These can be dynamic depending on the user and order status.

For more information on ways you can improve the user journey see:

Transak API
Tracking user, KYC and order status

Parameters

🚧

Your API key (apiKey) must be passed for parameters to work

redirectURL

Transak will redirect back to this URL once the customer's has completed their purchase process.

Note: Make sure to pass a valid URL otherwise it will not work. Note that localhost does not work.

We will append orderId, fiatCurrency, cryptocurrency, fiatAmount, cryptoAmount, isBuyOrSell, status, walletAddress, totalFee, partnerCustomerId, partnerOrderId as query parameters to your URL.

For example, if you submit the URL https://www.google.com, we will redirect the customer to

https://www.google.com/?orderId=%225cf7ad02-e968-4978-a000-c2a8007eee7f%22
&fiatCurrency=%22INR%22&cryptocurrency=%22ETH%22&fiatAmount=24997.84
&cryptoAmount=1.35704232&isBuyOrSell=%22BUY%22
&status=%22PENDING_DELIVERY_FROM_TRANSAK%22
&walletAddress=%220xF1363D3D55d9e679cC6aa0a0496fD85BDfCF7464%22
&totalFee=undefined&partnerCustomerId=%220xF1363D3D55d9e679cC6aa0a0496fD85BDfCF7464%22>

Format: string.

partnerOrderId

A unique order ID that will be used to identify the transaction via the redirect URL, API or once a webhook is called back to your app. This can be your own identifier to track the order.

Format: string.

partnerCustomerId

A unique customer ID that will be used to identify the user that made the transaction via the redirect URL, API or once a webhook is called back to your app. This can be your own identifier to track the user.

This parameter is needed in order to use KYC sharing. To know more about this feature, please refer KYC Sharing

Format: string.