Bank feed
Integrating Airwallex transactions directly into your accounting software streamlines the bookkeeping process by automating data entry. This integration minimizes errors and saves valuable time that would otherwise be spent manually inputting transaction details.
To ingest Airwallex transactions, you will need the following OAuth scopes:
r:awx_action:balances_view

Make sure that you add the header x-api-version in your API calls and set it to the latest version. For details, see Versioning API.
To build the transaction feed:
-
Read balance history by calling GET /api/v1/balances/history API.
-
Note that this API returns transaction data within a 7-day date range. If you attempt to query transactions beyond this range, you will receive a
time_range_exceederror. To access the full transaction history, you can set thepageparameter to0and use thepage_beforeandpage_afterfields in the response to navigate through pages of transactions. Additionally, you may also adjust thepage_sizeto return more transactions on a single page.Shell1curl --request GET \2--url 'https://api-demo.airwallex.com/api/v1/balances/history?page=0' \3--header 'Authorization: Bearer <your_bearer_token>' \4--header 'x-api-version: 2025-08-29' \ -
Additionally, this API call includes reserve transactions that don't affect the account balance. These transactions won't appear in the Airwallex web app wallet transactions or the Balance Activity report. You can filter them out by using the
transaction_typefield and exclude the following transaction types:PAYMENT_RESERVE_HOLDPAYMENT_RESERVE_RELEASEHOLDHOLD_RELEASEISSUING_AUTHORISATION_HOLDISSUING_AUTHORISATION_RELEASE
-
Negate the amount for transactions where
source_typeis set toPAYMENT_RESERVE.