AirbnbSubscription Billing Platform
Recurring subscriptions, invoicing, and payment collection
Worked on backend systems responsible for recurring subscriptions, monthly invoice generation, and payment collection. The system had heavy load spikes at the beginning of billing cycles, so we moved invoice generation and payment attempts from synchronous request paths into asynchronous Kafka workflows to smooth traffic and protect the primary Postgres database.
A major focus was reliability: payment retries, dunning logic, and idempotent charge requests were implemented to ensure customers were never double-charged during retry scenarios or downstream payment processor failures. We also performed Postgres index migrations and historical backfills to support new billing queries without locking large tables during peak hours.
Technologies
- Kafka
- PostgreSQL
- Redis
- Java
- Kotlin
Concepts
- Idempotency
- Async workflows
- Billing cycles
- Retries
- Dunning
- Observability
