Airwallex logo

Wallet balances

Retrieve balances for your platform account

You can retrieve balances for your platform account and any accounts connected to your platform in line with authorisation levels. To retrieve your platform wallet balance, use the Get current balances API.

curl --request GET \
--url 'https://api-demo.airwallex.com/api/v1/balances/current' \
--header 'Content-Type: undefined' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0b20iLCJyb2xlcyI6WyJ1c2VyIl0sImlhdCI6MTQ4ODQxNTI1NywiZXhwIjoxNDg4NDE1MjY3fQ.UHqau03y5kEk5lFbTp7J4a-U6LXsfxIVNEsux85hj-Q'

Retrieve wallet balances for accounts connected to your platform

To retrieve wallet balances for accounts connected to your platform, use the on behalf of API by specifying the Airwallex account ID of the connected account

curl --request GET \
--url 'https://api-demo.airwallex.com/api/v1/balances/history?currency=USD&from_post_at=2018-10-01T00%3A00%3A00%2B0800&page_num=0&page_size=100&to_post_at=2018-10-07T00%3A00%3A00%2B0800' \
--header 'Content-Type: undefined' \
--header 'x-on-behalf-of: 133097196' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0b20iLCJyb2xlcyI6WyJ1c2VyIl0sImlhdCI6MTQ4ODQxNTI1NywiZXhwIjoxNDg4NDE1MjY3fQ.UHqau03y5kEk5lFbTp7J4a-U6LXsfxIVNEsux85hj-Q'