Case Study

Redesign Payments API for Third-Party Gift Card Support

Delivered model foundations and orchestration to support asynchronous redeemables (e.g., third‑party gift cards) with multiple charges in a single payment.

Payments orchestration diagram showing split tenders.

Summary

Senior Software Engineer

Year: 2023 - 2024

  • Payments
  • Orchestration
  • Redeemables

Problem

Existing orchestration assumed single synchronous charge flows, making it hard to support split‑tenders and asynchronous redeemables.

Approach

How the work shipped.

  • Introduced instruction/state record patterns for multi‑part payments.
  • Enabled split‑payment patterns needed for gift cards and stored value.
  • Strengthened payment attempts as a source of truth for orchestration.
  • Prepared migrations and backfills to safely adopt new models.

Impact

Outcomes and metrics.

  • Asynchronous redeemables supportedCapability · 3P gift cards
  • Stable rolloutSafety · no regressions in existing flows
  • Reusable patternsExtensibility · future payment methods

Stack

Tools and systems.

  • Ruby
  • MySQL
  • Kafka
  • Distributed Systems
  • SQL

Links

Further reading.