How It Works
- Create a stylesheet with your custom CSS rules.
- Give it a unique name that you will reference in your API requests.
- Reference the stylesheet name when generating a card entry or display form. PCI Booking renders the form with your styles applied.
Default Stylesheet
The default CSS applied to the card capture form is available for download: default-capture-form.css. Use it as the baseline for your own stylesheet — start from the default, adjust the rules you want to change, and upload the result under your own resource name. The file also shows the element classes and IDs the forms use (e.g..card-container, .form-input), which you target when writing CSS from scratch — see the form structure reference below for the key selectors.
Form Structure Reference
The key elements you can target with custom CSS, per hosted form: Card entry form (Request Card Entry Form):
CVV capture form (Request CVV Entry Form) uses the same structure with only the CVV field:
#frmCardPayment, .card-container, #cardCvv, #card-enter, and the loader elements.
Card display form (Request Card Display Form) renders read-only rows instead of inputs: .widjet-container (outer), .boxed (card panel), .row with .desc/.value pairs per field (card type, number, name, expiration), .row.footer, and .warning for virtual card notices.
Managing Stylesheets via the Portal
- Log into the PCI Booking portal.
- Navigate to GUI Settings > Stylesheet Settings.
- Click the plus icon to create a new stylesheet.
- Provide:
- Resource name - a unique name used to reference this stylesheet in API requests.
- Resource description - a free-text description for your reference.
- Resource Content LTR - CSS rules for left-to-right page layouts.
- Resource Content RTL - CSS rules for right-to-left page layouts (e.g. Arabic, Hebrew).
Managing Stylesheets via the API
You can also manage stylesheets programmatically:When updating a stylesheet via the API, the new content overwrites the existing content entirely.
Next Steps
Hosted Card Entry Form
Card capture form that uses stylesheets
Card Display
Card display form that uses stylesheets
Custom Translations
Customize form text and labels

