Search...
Log inGet started
Airwallex logo
Home
Core API
Payments
Transactional FX
Payouts
Issuing
Back to home
OverviewChoose your payments solutionGet started with payments
Online payments
Invoice integrations
Payment methods
Payment methods overviewGlobal
CardsApple Pay
Enable Apple Pay
Hosted Payment PageEmbedded ElementsDrop-in Element
Native APIMobile SDKUse your own certificate
Google Pay™
PayPal
Paysafecard
Skrill
Airwallex Pay
Klarna
EU & UK
APAC
NORTH AMERICA & LATAM

Drop-in Element

Refer to the Drop-in Element integration guide for step-by-step instructions on how to embed multiple payment methods on your checkout page.

Apple Pay is supported via Drop-in integration. Ensure that your merchant account is enabled for Apple Pay and you have added your domain information on the Airwallex web app > Payments > Settings page. For more information, see Enable Apple Pay. Once registered, you can pass applePayRequestOptions JS in createElement() to offer Apple Pay. Note that countryCode is mandatory.

JavaScript

Subscription payments

Airwallex allows you to create a PaymentConsent with the shopper to initiate future payments using shopper’s saved payments details. For more information, see Save payment details for future payments. You need to add additional information about the order & terms of the payment to display this information on the payment sheet.

  1. See below example to understand how to setup recurring with Apple Pay without payment
JSON
  1. See below example to understand how to setup recurring with Apple Pay with payment
JSON
  1. See example below for variable amount / variable subscription use-case with payment
JSON
  1. See example below for variable amount / variable subscription use-case without payment
JSON