Global Colors
| Key | Type | Description |
|---|---|---|
primaryColor | Hex | Main brand color for buttons and highlights |
primaryHoverColor | Hex | Hover state for primary elements |
secondaryColor | Hex | Secondary accent color |
backgroundColor | Hex | Main page background |
textColor | Hex | Default text color |
borderColor | Hex | Global border color for inputs and containers |
Layout (Desktop)
| Key | Type | Description |
|---|---|---|
leftSideBackground | Hex | Background of the left column (Order Summary) |
rightSideBackground | Hex | Background of the right column (Payment Form) |
formBackground | Hex | Background of the form container |
dividerColor | Hex | Color of divider lines between sections |
showTopDivider | Boolean | Show a divider line at the top on mobile |
Layout (Mobile)
| Key | Type | Description |
|---|---|---|
mobileBackground | Hex | Overall mobile background |
mobileTopBackground | Hex | Background of the branding/amount section (top) |
mobileBottomBackground | Hex | Background of the payment form section (bottom) |
mobileFormBackgroundColor | Hex | Form card background on mobile |
mobileStickyTop | Boolean | If true, header sticks to top on scroll |
Typography
| Key | Type | Description |
|---|---|---|
fontFamily | String | CSS font stack (e.g., "Inter, sans-serif") |
fontSize | String | Base size: 'sm', 'base', 'lg', 'xl' |
fontWeight | String | Text weight: 'normal', 'medium', 'semibold', 'bold' |
Spacing & Borders
| Key | Type | Description |
|---|---|---|
spacing | String | Layout density: 'compact', 'normal', 'spacious' |
borderRadius | String | Corner radius: 'none', 'sm', 'base', 'lg', 'xl', 'full' |
Text Colors
| Key | Type | Description |
|---|---|---|
headingTextColor | Hex | Titles and headings |
bodyTextColor | Hex | Standard paragraph text |
labelTextColor | Hex | Form input labels |
secondaryTextColor | Hex | Helper text (e.g., “Secured by…”) |
amountTextColor | Hex | Total Amount display |
Input Fields
| Key | Type | Description |
|---|---|---|
inputBackgroundColor | Hex | Background of text inputs |
inputBorderColor | Hex | Default border color |
inputFocusBorderColor | Hex | Border color when input is focused |
inputErrorBorderColor | Hex | Border color when validation fails |
Primary Button (Pay Now)
| Key | Type | Description |
|---|---|---|
buttonBackgroundColor | Hex | Background color |
buttonTextColor | Hex | Text color |
buttonHoverColor | Hex | Hover background color |
buttonBorderColor | Hex | Border color |
Cancel Button
| Key | Type | Description |
|---|---|---|
cancelButtonBackgroundColor | Hex | Background (default: transparent) |
cancelButtonTextColor | Hex | Text color |
cancelButtonHoverColor | Hex | Hover text color |
cancelButtonText | String | Custom text (default: “Cancel and Return”) |
Branding
| Key | Type | Description |
|---|---|---|
logoUrl | URL | Absolute URL to your logo image |
logoPosition | String | 'inline' (beside name) or 'top' (above name) |
logoMaxHeight | String | Maximum logo height (e.g., "50px") |
showMerchantName | Boolean | Display the merchant name text |
hideBranding | Boolean | Hide Ozura branding footer |
Cart Display (Itemized Checkout)
When usingitems array for itemized checkout:
| Key | Type | Description |
|---|---|---|
cartProductNameColor | Hex | Product name text color |
cartBrandColor | Hex | Brand name text color |
cartPriceColor | Hex | Price text color |
cartOriginalPriceColor | Hex | Strikethrough (original) price color |
cartDiscountBadgeColor | Hex | Discount badge background color |
cartDiscountBadgeTextColor | Hex | Discount badge text color |
Pre-Made Themes
Minimal Light
Violet Dark Mode
Emerald Clean
Custom CSS
For advanced customization, use thecustomCss property:
| Key | Type | Description |
|---|---|---|
customCss | String | Raw CSS to inject |
cssVariables | Object | CSS custom properties |
Security Restrictions
For security, these CSS patterns are blocked:url()- Prevents external resource loading@import- Prevents loading external stylesheetsjavascript:- Prevents script injection
Available CSS Classes
| Class | What It Styles |
|---|---|
.checkout-container | Root container |
.checkout-form-container | Payment form wrapper |
.checkout-input | All text inputs |
.checkout-submit-button | The “Pay Now” button |
.checkout-error | Error messages |