Search...
APIJSLog inGet started
Airwallex logo
Home
Platform APIs
Connected Accounts
Accounts
Payments
Transactional FX
Payouts
Issuing
Back to home
OverviewAPI
SDKs
Airwallex.js
Customization options
Upgrade to Airwallex.js
Mobile SDKs
Demo environment

Customization options

Airwallex.js supports visual customization of Elements using various parameters.

Global options

You can provide global customization options such as locale in the init() function to extend it to all Elements.

locale

Allows you to globally configure localization for Airwallex.js Elements. The specified locale will be applied to both the Element UI strings and error messages. For supported locales, see the locale JS property.

JavaScript

fonts

Only applies to Payment Elements.

You can provide the fonts option in the init() function and extend it to all Payments Elements. src, family and weight properties may be specified.

JavaScript

Customizing Payment Elements

The customization options listed below apply only to Payment Elements. For other Elements, please contact your Airwallex Account Manager to enable customization in line with your business requirements.

Element Customization options
Drop-in Element theme, style, appearance objects. See Drop-in Element customization.

See also: Hosted Payment Page customization
Card Element style, appearance objects. See Card Element customization.
Split Card Element style, appearance objects. See Split Card Element customization.
Google Pay Element style, appearance, buttonType, buttonColor, buttonSizeMode objects. See Google Pay Element customization.
Apple Pay Element style, appearance, buttonType, buttonColor objects. See Apple Pay Element customization.
On this page
  • Global options
  • Customizing Payment Elements