Primary backend components
server/product-actions.tsserver/purchase-actions.tsserver/dsports-cash-actions.tsapp/api/products/route.tsapp/api/checkout/crypto/route.tsapp/api/checkout/crypto/verify/route.tsapp/api/checkout/dsports-cash/route.tsapp/api/webhooks/revenuecat/route.tsapp/api/v1/product_entitlement_mapping/route.ts
Core model touchpoints
ProductProductPurchasePendingPurchaseDsportsCashTierDsportsCashPurchase
High-level flow
Architectural notes
- Multiple payment rails are supported with verification endpoints.
- Purchase writes and entitlement mapping are decoupled so reconciliation can run independently.
- dsports-cash has dedicated tier and purchase entities separate from product purchases.
