Step Functions orchestrates ledger updates and M-Pesa payment via API Gateway/Lambda. On failure it runs compensating tr...
Takes 30 seconds • No credit card required
Step Functions orchestrates ledger updates and M-Pesa payment via API Gateway/Lambda. On failure it runs compensating transactions to prevent inconsistent balances.
This diagram shows how you ensure financial integrity. Instead of a single, risky transaction, the "Orchestrator" (the brain) manages a sequence of steps. If the payment fails at the final gate, the orchestrator triggers a "Compensating Transaction" to reverse the previous steps, ensuring no member's money is lost in "transit." • Key Services: AWS Step Functions (Orchestrator), Lambda (Ledger Service), API Gateway (M-Pesa Integration). • Architectural Value: Prevents data inconsistency in high-concurrency mobile money environments.
Make this template your own
Takes 30 seconds • No credit card required