Simulate transactions on issued cards
You can conduct end-to-end testing of your integration by simulating card transactions on your Airwallex issued cards in the demo environment.
Key test scenarios include:
As a platform account, you can call the simulation APIs on behalf of a connected account using the
- Authorize request where funds are reserved on the available balance. Create a transaction for the provided card API creates an authorization transaction to be approved or failed based on the authorization controls of your account. For example, if you set a spending limit of $100 on your account and you attempt to authorize $110, then this payment will fail. This endpoint simulates the production behaviour of our payment networks.
- Capture request where funds equivalent to the authorized amount are deducted from your account balance in your multi-currency Wallet. Capture the transaction with the provided id API captures the transaction if the authorization is approved.