Catalogue / airwallex-2022-payments-ddd

Airwallex models its payments system with domain-driven design and maps each bounded context to one microservice

Airwallex. Payments system (payment gateway, core, adaptors, settlement and aggregated views).

Organisation
Airwallex
Evidence
Reported from production
Source
Domain-driven design practice — Modeling payments system

Medium, published 2022-02-23 (The page prints only Feb 23 with no year; 2022 is inferred from the Internet Archive snapshot captured on 2022-03-27, so an earlier year is possible.)

Records

Decision#d1

Derive payments microservices from domain-driven design, one microservice per bounded context

Decision#d2

Publish domain events from aggregates so side effects such as view and settlement updates run in event handlers

Decision#d3

Keep the payments domain model behind repository interfaces implemented in an infrastructure layer

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.