Billing Microservice
Stripe-backed billing service with idempotent webhooks, retries, and invoice PDFs.
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.
Webhook Gateway
Centralised webhook ingress with signature verification, replay, and dead-letter queues.
View projectRealtime Chat Service
WebSocket chat backend handling 50k concurrent connections per node, with Redis pub/sub.
View projectTemp Downloads App
Self-hosted Node.js app for secure, expiring download links with an admin panel and landing pages.
View project