Default form styling
Last updated: December 21, 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 PaymentDetailsStyle
, BillingFormStyle
, BillingAddressDetailsStyle
and CountryPickerStyle
objects expose properties that allow you to change the text and colors displayed on the forms.
1// Create a default style2val paymentFormStyle = PaymentFormStyle()34// Create a custom input component style5val customInputComponentStyle = DefaultLightStyle.inputComponentStyle(6titleTextId = R.string.custom_card_number_title,7withLeadingIcon = true,8margin = Margin(bottom = 16)9)1011// Modify payment form style with custom input component style12paymentFormStyle.paymentDetailsStyle.cardNumberStyle.inputStyle = customInputComponentStyle1314// Hide flag images for country picker15paymentFormStyle.billingFormStyle.countryPickerStyle.withFlag = false