Default form styling
Last updated: October 20, 2022
Our default integration is the quickest way to display the forms required to collect payment information, with no customization required.
Localization support for the following languages is built into the default integration:
- Arabic
- Dutch
- English
- French
- German
- Italian
- Romanian
- Spanish
You can also add your own localized strings to add support for additional languages.


For basic customization, the DefaultPaymentFormStyle
and DefaultBillingFormStyle
objects expose properties that allow you to change the text and colors displayed on the forms.
1// Create a new DefaultPaymentFormStyle object2var paymentFormStyle = DefaultPaymentFormStyle()34// Change the payment form's background color5paymentFormStyle.backgroundColor = UIColor.darkGray67// Change the card number field's placeholder value8paymentFormStyle.expiryDate.textfield.placeholder = "00 / 00"910// Change the payment button text11paymentFormStyle.payButton.text = "Pay £54.63"121314// Create a new DefaultBillingFormStyle object15var billingFormStyle = DefaultBillingFormStyle()1617// Change the billing form header's font color18billingFormStyle.header.headerLabel.textColor = UIColor.darkGray1920// Change the billing form header text21paymentFormStyle.header.headerLabel.text = "Billing info"2223// Wrap the styling in a PaymentStyle wrapper24let paymentStyle = PaymentStyle(paymentFormStyle: paymentFormStyle,25billingFormStyle: billingFormStyle)