Transfers via Airwallex Pay
New feature: This page introduces the new wallet transfer experience with Transfer API endpoints API for API version 2025-04-25 or later. For older API versions, please see Wallet transfers (Legacy).
You can send funds directly to businesses who also own Airwallex accounts by creating a transfer to an Airwallex account. Learn how to do this programmatically with our Access own account info API and Transfer API endpoints API endpoints in the following sections.
The current transfer approval workflow also applies to transfers via Airwallex Pay.
Before you begin
- Obtain your access token API by authenticating to Airwallex using your unique Client ID and API key. You will need the access token to make API calls.
Step 1: Prepare required beneficiary information
Before creating a transfer to an Airwallex account, you will need to obtain your beneficiary’s Airwallex account number and account name. This is similar to obtaining a beneficiary’s bank account number and account name when making a bank transfer to their bank account.
There are two ways you can do this:
Use OAuth to allow your beneficiary to grant your application permission to access its Airwallex account number and account name via Access own account info API.
Ask your beneficiary to provide you with its Airwallex account number and account name (currently they can only access them via Access own account info API).
In this section, we will elaborate on using OAuth to obtain your beneficiary’s Airwallex account info.
Set up your application
To do this, you will need to:
- Register an application with us, and obtain an app ID and client secret
Define the scope for your application
- In this case, the required scope for accessing your beneficiary’s Airwallex account number and account name is
r:awx_action:account.wallet_info_view
- In this case, the required scope for accessing your beneficiary’s Airwallex account number and account name is
Provide a redirect URI that your application takes beneficiaries to after granting authorization
For more information, read this Get started page for partner connections.
Obtain your beneficiary’s Airwallex account number and account name
With the access token, your application can retrieve your beneficiary’s Airwallex account number and account name by calling the Access own account info API endpoint with Authorization: Bearer <access_token>
in the request header.
Example request
Example response
Step 2: Create a transfer via Airwallex Pay
Using your beneficiary’s Airwallex account number and account name, you can create a transfer from your own Airwallex account to the beneficiary’s Airwallex account by calling Create a new transfer API.
Please specify the beneficiary type and provide the requied digital wallet details as follows:
type
: Specify the beneficiary type asDIGITAL_WALLET
for Airwallex Pay. The value will default toBANK_ACCOUNT
if not specified.digital_wallet
: Required beneficiary digital wallet parameters will vary according to the specified digital wallet provider. See Airwallex Pay requirements below.account_name
: Specify the beneficiary’s Airwallex account nameid_type
: Specifyaccount_number
for Airwallex Payid_value
: Provide the beneficiary’s Airwallex account numberprovider
: SepcifyAIRWALLEX
for Airwallex Pay
Please refer to Step 2 in Create a transfer for further details.
Example request
Example response
Errors
Airwallex uses conventional HTTP response codes API to indicate the success or failure of an API request.
A HTTP 400 status code indicates an error that has been triggered due to the information provided in the request. See Error codes to learn about all possible errors associated with the HTTP 400 status when creating a transfer to an Airwallex account.
Step 3: Retrieve a transfer via Airwallex Pay
Please refer to Step 3 in Create a transfer for more details.
What happens on the beneficiary’s side?
When the transfer is sent, the transfer amount is credited to the beneficiary’s wallet balance.
- Users of the beneficiary’s Airwallex account can subscribe to email notifications that they receive at the settlement of a transfer to an Airwallex account. An email notification includes the short reference ID, transfer amount, transfer currency, the account name of the payer, and the reference.
Other ways to see Airwallex Pay settlements on the beneficiary’s side:
- Using Deposits API API. See more details in Receive via Airwallex Pay.
- Viewing the Wallet Transactions list in the web app.
- Calling Get balance history API.