Skip to main content
PUT

Stylesheets Guide

Customize the appearance of hosted forms
Creates a new CSS stylesheet resource or replaces an existing one. Use this to customize the look and feel of PCI Booking’s hosted card entry and card display forms to match your brand.

Error Responses

Parameter Constraints

Please be aware that the same method is used for both creating a new CSS and updating an existing one. If you update an existing CSS, the content of it will be replaced with the uploaded content and this action cannot be undone.

Parameters

Headers

Authorization
string
required
Your API key prefixed with APIKEY. Example: APIKEY your-api-key. See the Authentication guide.

Path Parameters

ResourceName
string
required
The resource name to assign to this CSS record.

Request Body

Description
string
required
Description of this CSS resource, displayed in the user’s site.
ContentLTR
string
required
Stylesheet configuration for LTR content. At least one of ContentLTR or ContentRTL must contain valid CSS.
ContentRTL
string
required
Stylesheet configuration for RTL content. At least one of ContentLTR or ContentRTL must contain valid CSS. Typically left blank unless you use RTL pages.
IsDefault
boolean
required
Sets this CSS resource as the default CSS for your account.

Response