Airwallex logo

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:

Step 1: Obtain your access token

Use obtain access token API to obtain an access token to call our API endpoints.

Example request

Shell

Example response

JSON

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.

Example request

Shell

Example response

JSON

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.

Example request

Shell

Example response

JSON

Cookies on the Airwallex website

We use cookies to enhance your website experience at Airwallex. Visit our cookie policy to learn more and manage your preferences at any time.