What this controls
Company accounts can give Checkout and KYC/KYB their own presentation while keeping one shared brand name, logo, website, support email and footer address. Configure it through the API or, if you are the company owner, in the portal at Settings → Profile → Styles. The API and portal configure the same account-owned settings:styles.checkoutcontrols the universal Checkout page and hosted card page.styles.kyccontrols hosted KYC/KYB links and the verification wizard.- Each product has three optional base colors:
color_primary,color_headerandcolor_accent. - Each product can also override those colors independently in
lightanddarkpalettes. A missing palette block is preserved by the update; empty palette fields inherit. themeacceptslight,dark, or""to use the product default: light for Checkout and dark for KYC/KYB.- The logo and symbol belong to the shared account brand; they are not duplicated per product.
Only active company accounts can read these settings. Only the company owner can update them. Person accounts receive
403 company_account_required; inactive accounts receive 403 account_blocked.How inheritance works
Every empty value is resolved at render time through this order: A mode override wins over the product base, which wins over the shared account brand. The account brand wins over the organization brand, and CBPay supplies the final default. This resolution is applied independently tocolor_primary, color_header, color_accent, and theme. The GET response exposes raw editable values and a resolved effective value with top-level colors plus light and dark mirrors.
In PUT /v1/account/branding, an omitted product block is left unchanged. Inside a product block, base colors and theme replace their saved values. An omitted light or dark palette is preserved by read-modify-write; an included palette replaces that mode, and an empty field clears only that field so it inherits again.
Configure with the API
1. Save the shared brand and product styles
Use the company owner’s credential. This example gives Checkout a light theme and leaves KYC/KYB on its dark product default:#. Text limits are 120 characters for brand_name, 200 for website and footer_address, and 254 for support_email. PNG logos are base64 encoded, limited to 512 KB and 2000×2000 pixels; omit a logo field to keep it, or send "" to delete it.
A successful 200 response returns the complete effective brand. The important part is:
2. Read the values before showing a preview
styles.<product>.effective for a preview of the rendered product, or use its effective.light and effective.dark mirrors to preview both modes. Use the sibling base, light, dark, and theme fields when you need to edit only the account override. This endpoint returns no PII.
Configure in the company portal
- Sign in with the company owner account.
- Open Settings → Profile → Styles, or go directly to
/settings?tab=styles. - Edit the shared brand: name, logo, symbol, website, support email and footer address.
- Choose Checkout or KYC/KYB. Set the shared base colors, then expand Light and Dark to set optional per-mode palettes.
- Check the merged preview for each product and mode, then save.
?theme= query value from the verification flow. Unsupported values fail closed to dark, and the wizard’s light tokens remain pinned under the dark override so the selected palette is not accidentally inverted.
When changes appear
Checkout reads the effective style when the hosted experience renders. A live universal Checkout URL and its hosted card page therefore use the current account style when opened again. KYC/KYB links freeze the effective brand and product style when the link is created. Updating the account later does not restyle an already issued link; create a new link when a pending customer must receive the new theme. This prevents a customer’s active verification flow from changing halfway through. The fixed Powered by CBPay disclosure remains visible and cannot be removed or recolored. It is separate from your account brand.States and safe updates
There is no retry or financial action in this endpoint. If a request times out, read the resource before sending another update; when retrying an intentional update, send the same complete desired values. This is a read-modify-write API: omit a mode to preserve it, include a mode with empty fields to clear only those overrides.
Errors
See Errors for the common response envelope.
FAQ
Can I style Checkout and KYC/KYB differently?
Can I style Checkout and KYC/KYB differently?
Yes. Set
styles.checkout and styles.kyc independently. The shared name and logos remain available to both products.What happens if I omit a product or its light/dark palette?
What happens if I omit a product or its light/dark palette?
An omitted product block is unchanged. An omitted
light or dark block is also preserved. Include the block and send empty strings only for the fields that should inherit.Why does an empty theme not look the same in both products?
Why does an empty theme not look the same in both products?
Empty means the product default, not a global theme. Checkout defaults to light and KYC/KYB defaults to dark.
Will changing the style update a KYC link I already sent?
Will changing the style update a KYC link I already sent?
No. KYC/KYB links use a frozen snapshot created with the link. Create a new link to use the new style.
Can a person account use the Styles tab?
Can a person account use the Styles tab?
No. Product styles are available to active company accounts, and portal updates are restricted to the company owner.
Do the thanks and legal pages follow the selected theme?
Do the thanks and legal pages follow the selected theme?
Yes. The wizard passes
?theme= to the thanks, Terms and Privacy pages. Unknown or invalid values fail closed to dark.Do I need to pass branding when creating a Checkout or KYC link?
Do I need to pass branding when creating a Checkout or KYC link?
No. The platform resolves the style from the account that owns the link. Keep the account branding current before creating KYC/KYB links.