Airwallex integration and automated reconciliation
- Problem
- Reconciliation was done entirely by hand, and payment processing was tangled into invoice and order code inside the monolith. It was hard to monitor and hard to scale.
- What I built
- Integrated Airwallex as a payment provider and built automatic matching between payments and invoices.
- Moved payment processing out of the monolith into its own service, with Kafka events between the payment, invoice and order flows.
- Generated Airwallex payment links automatically when an order is created, and published events for downstream services.
- Extended the service to Airwallex Global Accounts and multiple Airwallex entities.
- Added Datadog monitoring with Slack alerts for the payment service.
ResultThe manual reconciliation process was retired, and payments became a service the team could watch and scale on its own.