Skip to content

Customize the iOS SDK

When a customer initiates a payment with the iOS SDK, their payment information is collected via two customizable forms.

The Payment Form prompts users for their payment card details, while the Billing Form prompts users for their billing information.

The default payment form
The default billing form

The styling of these forms can be customized through the use of the paymentFormStyle and billingFormStyle objects, which are wrapped in the PaymentStyle wrapper.

1
2
PaymentStyle(paymentFormStyle: YourPaymentStyle(),
billingFormStyle: YourBillingStyle())

You can choose between three different options for customization, depending on how much control you need over the forms' UI design. In order of increasing complexity these are:

Default form styling

Use our default iOS SDK option to quickly and easily display payment and billing forms, and add basic font and color customization.

Themed form styling

Use our themed option to apply a custom theme to the components displayed, for greater control over the look of your payment forms.

Custom form styling

Use our fully custom option to build and define your own components to display across the payment and billing forms.