Integration checklist
After integrating with Airwallex Billing, you can test subscriptions, invoices and the associated webhooks in the sandbox environment before going live in the production environment.
Test in the sandbox environment
Set up your sandbox account and get started with testing.
API keys
- Log in to the Airwallex web app in the sandbox environment to generate test API keys and obtain your unique client ID for making API calls.
Web app configuration
- Configure webhooks on the Airwallex web app . Follow the getting started with webhooks guide and review the webhook events you can listen to.
Integration
- Use sandbox API endpoints for your integration:
https://api-demo.airwallex.com/api/v1/
- Webhook tests: Ensure your subscribed webhook events are received and managed in your integration.
- Use Airwallex sandbox test card numbers to simulate checkout flows. See error response codes.
Reporting
- Download reports from Airwallex to learn about what data is available for your reporting. Learn more about our financial reports API and balance activity reports API
- Use Billing transactions API to retrieve payment and refund transactions related to invoices.
- If you decide to download reports programatically, use sandbox endpoints
https://api-demo.airwallex.com/api/v1/
Go live in the production environment
Set up your production Airwallex account using the following guidelines and get started with transacting live.
API keys
- Log in to the Airwallex web app in the production environment to generate production API keys and obtain the unique client ID for making API calls.
Web app configuration
- Configure webhooks on the Airwallex web app . Follow the getting started with webhooks guide and review the webhook events you can listen to.
Integration
- Update sandbox API endpoints to point to the production URLs:
https://api.airwallex.com/api/v1/
- Webhook tests: Ensure your subscribed webhook events are received and managed in your integration.
- Billing tests: We highly recommend you perform production testing for the endpoints you wish to use to ensure your integration is working correctly.
Reporting
- If you are downloading reports programmatically, update to production endpoints
https://api.airwallex.com/api/v1/
Was this page helpful?