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
Google Pay™
PayPal
Paysafecard
Skrill
Airwallex Pay
Desktop/Mobile Website Browser
Klarna
EU & UK
APAC
NORTH AMERICA & LATAM

Desktop/Mobile Website Browser

Accept Airwallex Pay on your website by redirecting your shopper to Airwallex Pay pages. The checkout process is as follows:

  1. The shopper selects Airwallex Pay option on the checkout page.
  2. The shopper is redirected to Airwallex Pay login page.
  3. The shopper enters required information and logs in.
  4. The shopper is redirected to the confirmation page containing the payment result.
  5. The shopper is redirected back to your website.

Step 1. Create a PaymentIntent

Create a PaymentIntent object with a request_id, amount, currency and merchant_order_id from your backend server.

Shell

Step 2. Redirect to Airwallex Pay to complete the payment

When a shopper selects to pay with Airwallex Pay on their desktop browser, call Confirm a PaymentIntent API to get the URL used to redirect the shopper to Airwallex Pay pages to complete the payment.

  1. Obtain URL from Airwallex and redirect the shopper to Airwallex Pay

Request

Shell

Response

JSON
  1. Wait for notification from Airwallex

Airwallex will notify you on the payment result asynchronously via the webhook API. See webhook documentation to set up your webhooks accordingly. While you can subscribe to all events, it is recommended that you at least subscribe to payment_intent.succeeded event, which indicates that the shopper has successfully paid for the order via Airwallex Pay.

  1. Query the PaymentIntent status

You may also query the status of a payment anytime via Retrieve a PaymentIntent API

Shell
On this page
  • Step 1. Create a PaymentIntent
  • Step 2. Redirect to Airwallex Pay to complete the payment