make diagramOpens visualization at http://localhost:9090 - click components to explore code examples.
Conductor is a payment switch providing a unified interface for multiple payment providers while maintaining state and data consistency.
- REST endpoints for payments, subscriptions, disputes, plans
- JWT/API key authentication
- Rate limiting (tiered)
- Payment: Charges, refunds, captures
- Subscription: Recurring billing, plan management
- Dispute: Evidence handling, resolution tracking
- Fraud: AI-powered transaction analysis
- GORM-based data access
- Transaction management
- Entity relationships
- Abstract
PaymentProviderinterface - Stripe, Xendit, Razorpay, Airwallex implementations
- Smart routing via
MultiProviderSelector
- PostgreSQL (GORM ORM)
- Redis (caching, rate limiting)
- Auto-migrations
| Entity | Purpose |
|---|---|
| Payment | Transaction details, status, provider info, refund history |
| Subscription | Recurring billing, plan reference, payment history |
| Dispute | Evidence, resolution tracking, related transaction |
| Plan | Pricing, billing interval, features |
| Customer | Profile, payment methods |
HTTP → Handler → Service → Store → Database
↘ Provider → External API
