Resilient Payout Infrastructure
Doitpay
Owned the payout side of Doitpay's platform: multi-provider routing, automated liquidity failover, and the back-office controls that keep high-value disbursements auditable.
Payouts fan out to several banking partners, each with its own rate limits and float position. When an upstream bank ran short of float, transactions stalled and operations staff triaged by hand for 15 to 30 minutes. High-value manual adjustments had no enforced second pair of eyes, so the audit trail depended on memory and a shared inbox.
- 01
Mapped disbursement states, provider contracts, and reconciliation hooks before the first build ticket
- 02
Designed weighted round-robin routing across payout providers, balancing partner rate limits against float depletion
- 03
Specified automated liquidity circuit breakers with sub-second failover once a provider's float ran out
- 04
Designed a maker-checker engine for high-value manual adjustments and dispute handling, backed by an immutable audit log
- 05
Modeled the back-office flow for a new B2C application, covering compliance monitoring and automated reconciliation
Payouts route across providers on a weighted schedule, with circuit breakers that move traffic the moment a provider's float is exhausted. High-value adjustments and disputes pass through maker-checker authorization, and every action lands in an immutable audit trail. Operations now handles exceptions instead of triaging every payout by hand.
Failover speed and provider choice pull against each other. A strict breaker moves traffic before a partner has genuinely failed, which costs rate and routing quality. We set thresholds around observed float-depletion patterns and kept a manual override for operations, accepting that the override is itself an audited, two-person action.
The hard part was state truth. A payout's status lives in our ledger and in the partner's system, and the two disagree during failover. Routing had to be idempotent so a retried transaction never paid twice, and the breaker had to tell a provider outage apart from a slow response. Maker-checker added a second constraint: the approval state machine had to survive partial failures without leaving an adjustment half-authorized.
I would have instrumented float depletion earlier. The breakers were tuned against incident timelines reconstructed after the fact; a live float-velocity signal would have let us set thresholds with data instead of estimates and caught slow drains before they became outages.
Payout volume monitored across automated multi-bank rails, with thousands of live disbursements a day.
Automated circuit breakers replaced a 15 to 30 minute manual triage window when bank float ran out.
Dual authorization on high-value adjustments and disputes, with an immutable audit trail on every action.
Interested in working together?
I'd love to discuss bringing this same approach to your product challenges.