Crypto payment gateway for merchants in Bolivia
In production- Context
- A Bolivian payments network needed its merchants to accept crypto at PoS terminals, with amounts in bolivianos. Every payment depends on external providers and on webhooks that can be lost, duplicated or arrive out of order.
- What I did
- I built the entire backend: sagas with compensation; idempotency and retries on every operation; a transactional outbox for queue publishing; and webhook processing with per-event deduplication, backed by periodic sync. I also implemented daily settlement, refunds and asynchronous reporting.
- Outcome
- In production. I diagnosed and resolved production incidents involving transactions stuck in sagas.