You're viewing documentation for our latest API. This will not impact your integration, but you will need the documentation relevant to you. If you have an account with Checkout.com you have received an email confirming which version to use.
If you want to change the styling of the forms displayed to the customer, you can do so using the paymentFormStyle and billingFormStyle objects from the example in the previous step.
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, which allows you to modify the fonts and font colors used in the default forms
themed form styling, which allows you to apply a custom theme to the preset components
custom form styling, which allows you to build and define your own components
When you send a 3D secure charge request from your server, you will get back a 3D Secure URL. This is available from _links.redirect.href within the JSON response. You can then pass the 3D Secure URL to a ThreedsWebViewController in order to handle the verification.
The redirection URLs (success_url and failure_url) are set in the Dashboard, but they can be overwritten in the charge request sent from your server. It is important to provide the correct URLs to ensure a successful payment flow.
let threeDSWebViewController =ThreedsWebViewController(