Learn payments
Free payments courses for developers: 3 learning paths from what a payment is to webhooks, idempotency, reconciliation and payment-system architecture, each with lessons and hands-on exercises.
Payments foundations
Who is who in a payment, which methods customers use around the world, what happens between 'Pay' and money in the bank, and how to make your first safe API calls in a sandbox.
- Explain the roles of gateway, processor, acquirer, issuer, card scheme, PSP and merchant of record
- Choose sensible payment methods for a given country and customer type
- Describe the payment lifecycle: authorization, capture, clearing, settlement, refunds and chargebacks
- Authenticate against a payment API with keys or OAuth without leaking secrets
- Run end-to-end test payments in a sandbox and know what sandboxes do not prove
Building a real integration
Design a payments module, initiate payments correctly, handle and verify webhooks, map errors, process refunds and reconcile every shilling, naira or euro.
- Structure a payments module with a clear status model and provider adapter
- Initiate synchronous and asynchronous (redirect, STK push) payments safely
- Verify webhook signatures and process events idempotently
- Classify provider errors and apply safe retry rules
- Implement refunds and dispute handling
- Run a daily reconciliation between your ledger, provider reports and bank statements
Payment systems architecture
Design multi-provider payment platforms: orchestration and routing, end-to-end idempotency, outbox and sagas, fraud prevention, PCI scope reduction, international payments and FX, compliance and security architecture.
- Design a provider-agnostic payment layer with routing and failover
- Guarantee exactly-once business effects with idempotency, outbox and sagas
- Build layered fraud controls appropriate to cards and mobile money
- Minimise PCI DSS scope and protect payment pages from script attacks
- Plan international acceptance: local methods, FX, settlement currency and entities
- Map regulatory obligations (licensing, KYC/AML, data protection) for a payment product
- Threat-model a payment flow and secure keys, webhooks and payouts