Skip to main content
Back to work

Billing Microservice

Stripe-backed billing service with idempotent webhooks, retries, and invoice PDFs.

Year 2023
Role Solo build
Type Client engagement
Status Client work

About this project.

Marketplace client needed Stripe Connect with their own ledger for audit purposes. The first hand-rolled attempt double-charged users when Stripe retried webhooks during a brief Postgres failover.

Rebuilt around idempotency keys at the HTTP layer plus a Postgres-backed inbox pattern. Every webhook delivery writes once, processes once, retries safely on failure. Zero duplicate charges since cutover.

Screenshots

Feature set

Sharing and access

  • Signed, expiring download links
  • Embedded admin panel
  • Public landing pages

Operations

  • Single binary Docker image
  • Health checks and JSON logs
  • No external dependencies

You might also like.