Use Transak’s theme-related query parameters in widgetParams to customize button colors, color mode, and the full widget theme.
Pass these parameters in the Create Widget URL API request body when generating a widgetUrl.
apiKey and referrerDomain are mandatory in widgetParams for all examples on this page.
Use these parameters to customize the primary button background and text color.
Sample Result
Primary CTA button restyled to match brand mustard and dark grey text using primaryButtonFillColor and primaryButtonTextColor.

Sample Request
Use colorMode to switch the widget between light and dark themes.
Sample Result

Sample Request
Use the following parameters together to fully align the widget with your brand.
Below is an example combining color mode, primary button styling, and full theme customization into a single widget URL flow.
Sample Result

Sample Request