Some query parameters accept structured objects or arrays instead of simple strings. This guide provides detailed examples and explains how each parameter works so you can integrate them correctly.
Set up destination wallets and control how users interact with the crypto transfer step.
Use this parameter to specify different wallet addresses for multiple networks or coins in a single request. If a currency requires a secondary identifier (tag, memo, or destination tag), include it in the addressAdditionalData field.
You can provide addresses keyed by network name or by coin symbol. The widget will automatically pick the correct address based on the user
Enable wallet redirection to let your app handle the crypto transfer step directly. This is especially useful for off-ramp flows where you want to redirect users to your own withdrawal page with pre-filled transaction details.
With redirectURL
When walletRedirection=true is passed with a redirectURL (and productsAvailed=SELL):
redirectURL with order info appended as query parameters when they click Transfer Crypto on the Complete Your Transfer page.TRANSAK_WALLET_REDIRECTION JavaScript event is emitted with the following payload:Without redirectURL
When walletRedirection=true is passed without a redirectURL:
TRANSAK_WALLET_REDIRECTION frontend event is sent (with the same payload as above).cryptoCurrencycryptoAmountnetworkwalletAddressPre-fill user details to speed up onboarding and reduce friction during KYC verification.
Pre-fill user identity details to streamline or skip the KYC form entirely. If all required fields — name, email, mobile number, date of birth, and address — are provided, the user will not be prompted to enter them again.
US Postal Code Format: The correct format is either 5 digits (12345) or 9 digits with a hyphen (12345-6789).
Control where users land after completing a transaction and capture order details for your backend.
After a transaction completes, the user is redirected to the URL you provide via redirectURL. Transak automatically appends the following query parameters so you can track the transaction on your end.
Example redirect URL:
The redirectURL parameter is supported across all integration methods — SDK, iFrame, Redirect Link, Webview, and React Native SDK. However, deeplinking (for example, redirecting users back into a mobile app) is only supported with the Browser Redirection integration method.
Customize which tokens and currencies are available in the widget, including custom or unlisted tokens.
Use this parameter to display a custom cryptocurrency in the widget that isn’t natively supported by Transak. Provide the token code, display name, and an image URL so it appears correctly in the UI.
Specify which token the user should pay with and how much. This is useful when you want to lock in a particular source token and amount for a swap or on-ramp transaction.
Configure NFT metadata, marketplace details, and smart contract calldata for NFT purchase flows.
Pass NFT metadata to configure the NFT Checkout experience. Each entry describes a collection, including the token IDs, individual prices, quantity, and the NFT standard (ERC721 or ERC1155).
Provide token metadata for marketplace-based NFT purchases via platforms like OpenSea. This parameter lets you pass collection details, token IDs, and marketplace-specific settings for the checkout flow.
The calldata parameter contains the encoded hex data that is sent to your smart contract during a transaction. You’ll need to generate this from your contract’s ABI and compress it before passing it to Transak.
Not sure how to generate calldata? See How to Generate Calldata for NFT Checkout for a step-by-step guide.