๐ 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
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
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
widgetHeight
Height of the widget iFrame.
Only needed for IFrame or SDK integrations.
widgetWidth
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.
isFeeCalculationHidden
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 5%.
Format is boolean: true or false.
hideMenu
hideMenu
When true, then the customer will not see the menu options. This will hide the menu completely.
Format is boolean: true or false.
Updated over 1 year ago