Simulate deposits to your Global Account
You can conduct unit and end-to-end testing of your integration using Create a Global Account deposit API. This sandbox simulation endpoint creates a production-like deposit to your Global Account in the demo environment only.
Key test scenarios include:
- Triggering webhook event notifications for Global Accounts
- Viewing deposits in the Global Accounts activity list on the Airwallex WebApp
- Retrieving deposits via Get Global Accounts transactions API, Get list of financial transactions API, and Get balance history API
- Calling Create a Global Account deposit API on behalf of connected accounts by specifying the open ID in the
Step 1: Obtain your access token
Use obtain access token API to obtain an access token to call our API endpoints.
Step 2: Retrieve the Global Account ID
Create a Global Account (if you haven't already opened one) through our open a Global Account API endpoint.
Get the Global Account ID (
global_account_id) from the response or by calling get a list of Global Accounts API endpoint.
Step 3: Simulate a deposit
Call the create a Global Account deposit API endpoint by specifying the
global_account_id from step 2 and the deposit amount to simulate a production-like deposit.