theme configuration can be added either to a payment session, or to a payment profile.
Example
Custom theme configuration:
Colors
Supported color formats are- hex:
#ff0000 - rgb:
rgb(255,0,0) - rgba:
rgba(255,0,0,0.5)
- backdrop: Color on backdrop shown in redirect desktop mode
- primary: Primary color used on pay button and other buttons.
API documentation
For more details see our API specification:Other customizations to the checkout user interface
There are also some layout changes can be achieved via query parameters. These are not possible to set in the theme.Hiding the items drawer
Append thehide_items=true query parameter to the checkout session url to hide the items in when the checkout is not embedded (when embedded the items are hidden).
Hiding the language selector
Append thehide_language=true query parameter to the checkout session url to hide the language selector.