The Airwallex integration is currently in Public Beta.
How it works
- When customers subscribe to a plan, contract or attempt to top-up credits Stigg generates an invoice.
- Stigg pushes the invoice to Airwallex.
- Payments is collected using Airwallex.
- Airwallex reports the payment status back to Stigg.
- Once payment is successful, the status of the subscription and top-up is updated accordingly and access is granted.
- Recurring renewals follow steps 1–4 without any customer interaction. When usage-based pricing is defined, generated invoices will reflect the reported usage.
Customers’ payment details are stored directly in Airwallex. Stigg does not store this information.
Entity mapping
Setting up the integration
Setting up the integration takes two steps: get your credentials from Airwallex, then enter them in Stigg.1. Get your credentials from Airwallex
In the Airwallex dashboard for the environment you’re connecting (sandbox or production):- Go to Developer > API keys and click New scoped key.
- Give the key a name, grant it the permissions listed below, and create it.
- Copy the key’s Client ID (shown in the API keys table) and the generated API key.
- Obtain your Org ID (
org_...). You can find it on the API key’s Overview page, under Access to > Organisation. - Go to Settings, and under Entities, open the account you want Stigg to route checkouts to. Copy the Account ID (
acct_...) from the Account details panel.
Permissions required
Grant the scoped API key the following permissions, at the level shown for each:2. Enter the credentials in Stigg
- In the Stigg app, go to Integrations and click Add integration.
- Find Airwallex in the list of available integrations and select it.
- Fill in the credentials from step 1:
- Client ID
- API Key
- API URL
- Org ID
- Account ID
- Click Connect.
Implementing checkout
You can collect payment through Airwallex in one of two ways:- Stigg Checkout widget: the quickest option, with no payment-specific code on your side.
- Custom checkout experience: for a fully custom checkout experience in your own UI.
Using the Stigg Checkout widget
Render Stigg’s checkout widget as you normally would. When Airwallex is your environment’s invoicing integration, the widget automatically renders Airwallex’s embedded payment form, saves the customer’s payment method in Airwallex, and provisions the subscription in Stigg. No Airwallex-specific configuration is needed.Custom checkout experience
To build your own checkout:- Collect the payment method with Airwallex’s embedded payment form
- Attach the payment method to the customer with the consent ID as the
paymentMethodIdandAIRWALLEXas thevendorIdentifier. The consent becomes the customer’s default payment method for future charges. - Provision the subscription or credit grant in Stigg.
Accessing Airwallex entities from Stigg
In the Stigg app, clicking on the link of the “billing ID” property will open the relevant entity in Airwallex:- Customers link to the customer in Airwallex.
- Subscriptions and credit grants link to their invoice in Airwallex.
Beta limitions
The following flows are not currently supported:- Creating subscriptions and contracts with payment links.
- Applying discounts using coupons.
We’re actively working to lift these limitations.