Transak Docs
Search…
Visual customization and data display options
Your API key (apiKey) must be passed for parameters to work

Visual customization

You can change how the widget UI looks with the following parameters

themeColor

The theme color code for the widget secondary color. This color is used for buttons, links and highlighted text.
Format is hexadecimal color code without the #, e.g. 2575fc

exchangeScreenTitle

Set the title that is shown at the top of the widget. The default title is "Buy crypto to your wallet".
Format is string with URL encoding, e.g. Buy%20Polygon

widgetHeight

Height of the widget iFrame.
Only needed for IFrame or SDK integrations.

widgetWidth

Width of the widget iFrame.
Only needed for IFrame or SDK integrations.

Hide data

If you want to limit the data displayed to the user in the widget for a more streamlined and minimal user experience, or to avoid user confusion, use the below parameters.

isDisableCrypto

When true, then the customer will not see anything about the cryptocurrency. This will hide all the information related to crypto completely.
This parameter will be ignored if cryptoCurrencyCode and walletAddress are not passed.
Format is boolean: true or false

isFeeCalculationHidden

When true, then the user will not see the fee breakdown. The user will only see the total fee.
This parameter will be ignored if your partner fee (on top of the Transak and network fee) is more than 1%.
Format is boolean: true or false

hideMenu

When true, then the customer will not see the menu options. This will hide the menu completely.
Format is boolean: true or false
Copy link
On this page
Visual customization
Hide data