For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
DocsAPI Reference
DocsAPI Reference
    • What is Transak
  • Features
    • Auth Reliance
    • KYC Reliance using Sumsub
    • Webhooks
    • WebSockets
  • Products Overview
    • On Ramp
    • Off Ramp
    • NFT Checkout
  • Integration Options
    • API
  • Customization Options
    • Query Parameters
    • Customizing theme using query parameters
  • Guides
    • How To Create a Partner Dashboard Account
    • How to Add Partner Fees and Set Up Partner Payouts
    • How to Test using Sandbox Credentials
    • How to Test ACH Pull Transaction in Sandbox
    • How to Test Apple Pay in Sandbox
    • How to Track Order Status
    • Transak Different KYC Levels
    • How to Submit FCA Requirements
    • How to Use Advanced Query Params
    • How to Create a Widget URL with Parameters and Test Different Scenarios
    • How to Generate Calldata for NFT Checkout
    • How to Add NFT Smart Contract in the Dashboard and Create a contractId
    • Get Price based on User Region
    • How to Create Partner Access Token
    • How to Decrypt the Webhook Payload
    • How to add MCP Server for Transak Documentation
    • Widget with API Customization
    • Integration Update - Mandatory Migration to API based Transak Widget URL
    • Biconomy: Simplified Onboarding Using MEE-Compatible Smart Accounts
    • Partner FAQs
    • Need Help?
Dashboard
LogoLogo
Customization Options

Query Parameters

Customize On-Ramp, Off-Ramp, and NFT Checkout experiences with query parameters

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Flutter (Deprecated)

Next

Customizing theme using query parameters

Built with

Query Parameters help partners customize the Transak experience across On-Ramp, Off-Ramp, and NFT Checkout flows.

Pass the supported parameters in the widgetParams of the Create Widget URL API to customize the user flow.

apiKey and referrerDomain are mandatory for all products.

$curl --request POST \
> --url https://api-gateway-stg.transak.com/api/v2/auth/session \
> --header 'access-token: YOUR_ACCESS_TOKEN' \
> --header 'content-type: application/json' \
> --data '{
> "widgetParams": {
> "apiKey": "YOUR_API_KEY",
> "referrerDomain": "yourdomain.com",
> // Add any other supported parameters here
> }
> }'
On/Off Ramp
NFT Checkout
Widget Appearance

Controls the visual look, layout, and product mode of the widget.

environment
Defaults to PRODUCTION JS SDK

Switches between STAGING and PRODUCTION environments.

widgetHeight
stringDefaults to 100% JS SDK

Height of the widget iFrame.

widgetWidth
stringDefaults to 100% JS SDK

Width of the widget iFrame.

themeColor
stringDefaults to BUY SELL

Widget primary color in hex (e.g. #000000). Used for buttons, links, and highlights.

colorMode
'LIGHT' | 'DARK'Defaults to system BUY SELL

Defaults to the user’s system theme when not set.

hideMenu
booleanDefaults to false BUY SELL

When true, hides the menu options completely.

productsAvailed
stringDefaults to BUY,SELL BUY SELL

Services to display: BUY (on-ramp only), SELL (off-ramp only), or BUY,SELL (both). Order controls which tab appears first. SELL must be enabled in the partner portal.

Exchange Screen

Controls everything visible on the exchange screen — title, currencies, amounts, networks, payment methods, and fee display.

General

exchangeScreenTitle
stringDefaults to BUY SELL

Custom title for the exchange screen. Cannot be changed when both BUY and SELL are active simultaneously.

hideExchangeScreen
booleanDefaults to false BUY SELL

When true, skips the exchange screen entirely. Requires fiatCurrency, network, paymentMethod, and cryptoCurrencyCode for BUY; additionally cryptoAmount for SELL.

isFeeCalculationHidden
booleanDefaults to false BUY SELL

When true, hides the fee breakdown and shows only the total fee. Ignored if your fee exceeds 1%.

Fiat Currency

fiatCurrency
stringDefaults to BUY SELL

Fiat currency code (e.g. GBP). Customer cannot change.

defaultFiatCurrency
stringDefaults to BUY SELL

Default fiat currency; customer can change. Skipped if fiatCurrency or countryCode is passed. Use alongside defaultFiatAmount, not fiatAmount.

fiatAmount
numberDefaults to BUY

Fixed fiat amount. Customer cannot change. Skipped if fiatCurrency or countryCode is not passed.

defaultFiatAmount
numberDefaults to BUY

Default fiat amount; customer can change. Skipped if fiatCurrency/countryCode not passed, or if fiatAmount is set.

countryCode
stringDefaults to BUY SELL

ISO 3166-1 alpha-2 country code (e.g. IN). Sets fiat currency based on country. Skipped if fiatCurrency is passed.

excludeFiatCurrencies
stringDefaults to BUY SELL

Comma-separated fiat currencies to hide from the dropdown (e.g. GBP,EUR). Skipped if fiatCurrency or countryCode is passed.

Crypto Currency

cryptoCurrencyCode
stringDefaults to ETH BUY SELL

Crypto currency code (e.g. DAI). Customer cannot change. See supported cryptocurrencies.

defaultCryptoCurrency
stringDefaults to BUY SELL

Default cryptocurrency; customer can change. Skipped if cryptoCurrencyCode is passed.

cryptoCurrencyList
stringDefaults to BUY SELL

Comma-separated allowed cryptos (e.g. ETH,DAI,USDT). Skipped if cryptoCurrencyCode is passed.

defaultCryptoAmount
numberDefaults to BUY SELL

Default crypto amount. Skipped if cryptoCurrencyCode is not set, or if fiatCurrency + fiatAmount/defaultFiatAmount are passed. Must be within min/max limits.

cryptoAmount
numberDefaults to SELL

Fixed crypto amount to sell (e.g. 0.5678). Customer cannot change.

Networks

network
stringDefaults to BUY SELL

Single allowed network (e.g. ethereum). Skipped if networks is passed.

networks
stringDefaults to BUY SELL

Comma-separated list of allowed networks (e.g. ethereum,polygon).

defaultNetwork
stringDefaults to BUY SELL

Default network (e.g. polygon). Customer can still select another.

Payment Methods

paymentMethod
stringDefaults to BUY SELL

Payment method to lock in. Customer cannot select another. See payment method list in .

defaultPaymentMethod
stringDefaults to BUY SELL

Default payment method; customer can change. Skipped if paymentMethod is passed. See payment method list.

disablePaymentMethods
stringDefaults to BUY SELL

Array of payment methods to hide (e.g. ["gbp_bank_transfer", "sepa_bank_transfer"]). see all the payment methods payment method list.

Wallet Address

Controls the destination wallet address for purchased crypto.

walletAddress
stringDefaults to BUY

Destination wallet address (e.g. 0x8634...). Customer can edit. Pass cryptoCurrencyCode or network alongside.

walletAddressesData
objectDefaults to BUY

Multiple wallet addresses keyed by network/coin in JSON format. Skipped if walletAddress is passed. See example.

disableWalletAddressForm
booleanDefaults to false BUY

When true, customer cannot edit the destination address. Requires walletAddress or walletAddressesData.

walletRedirection
booleanDefaults to false SELL

Enables wallet redirection for off-ramp flows. See details.

KYC & User Identity

Pre-fills customer identity data to streamline or skip the KYC form.

email
stringDefaults to BUY SELL

Customer email (e.g. user@mail.com). URL-encode if it contains special characters.

userData
objectDefaults to BUY SELL

User details (name, address, date of birth). If all fields are provided, the customer won’t be prompted to enter them. See example.

isAutoFillUserData
booleanDefaults to false BUY SELL

When true, auto-fills the email field without skipping the KYC screen. Ignored if email or userData is not passed.

Advanced — Tracking, Redirects & Session

Session control, partner tracking IDs, and post-transaction redirects.

referrerDomain
stringDefaults to BUY SELLRequired

Your domain URL. Used with apiKey to identify and track your project.

widgetUrl
stringDefaults to JS SDK

One-time signed URL from the Create Widget URL API. Encapsulates all other parameters securely.

partnerOrderId
stringDefaults to BUY SELL

Your internal order ID returned in webhook callbacks (e.g. 5e2f559511a9de).

partnerCustomerId
stringDefaults to BUY SELL

Your internal customer ID returned in webhook callbacks (e.g. 23487492).

redirectURL
stringDefaults to BUY SELL

URL to redirect to after the transaction completes. Must be a valid https:// URL. See details.