Skip to Content
Docs

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:

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:

Diagram showing which style keys map to each region of the Universal checkout form

For a complete list of every accepted key and CSS property, see the style object reference.

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.
Was this page helpful?