Customize the checkout
Style, configure, and localize the Universal checkout form to match your brand and business needs.
Universal checkout renders a fully hosted checkout form inside your page. By default it uses Pay.com's visual design and displays all available payment methods. You can customize the form in four ways:
Styling
Override colors, typography, spacing, and borders with the style object to match your brand.
Field visibility
Show or hide individual form elements like the cardholder name field, checkboxes, or the submit button using toggles.
Behavior
Control which payment methods appear, how the customer selects them, and whether saved cards can be deleted.
Localization
Override all user-facing text for multiple languages.
These options are all passed to checkout.universal() and work together. Make sure you have a working Universal checkout integration before you customize it. Universal checkout shows how to set one up.
Style object overview
All visual customization is done through a style object passed to checkout.universal(). Each key targets a specific region of the form, and each value is a CSS property in camelCase.
checkout.universal({
container: '#pay-com-checkout',
style: {
// your style overrides go here
}
})Every key in the style object is optional. Omitted regions fall back to Pay.com's default styling. Each key maps to one region of the form:

For a complete list of every accepted key and CSS property, see the style object reference.
In your app
Match the drop-in to your app, or start from the web checkout’s look.
Next steps
- Form container: Set global defaults for background, typography, and borders that cascade to the entire form.
- Card form: Style card input fields, configure toggles, and set up custom submit buttons.
- Configuration: Control which payment methods appear, manage saved card behavior, and set checkout-level toggles.