Skip to main content
The ui_config object allows you to customize the look and feel of the Hosted Checkout page. You can set these fields as a default for your business using the Set Business Configuration endpoint, or override them for a single session in the Create a Payment Session request.
All color fields accept 6-digit hex codes (e.g., #FFFFFF).

Example ui_config Object

branding

Colors related to your brand, used for buttons and highlights.

theme

General theme of the checkout page, including shapes and background colors.

labels

Custom text for form fields and buttons. For more information about implementing UI customization: