Centralized backend for Stripe Financial Accounts + Issuing operations.
POST /api/webhooks/stripe - Stripe webhook handlerPOST /api/deposits/add - Add money to walletGET /api/deposits/add?amount=200 - Calculate processing feePOST /api/deposits/freeze - Freeze funds for reservationPOST /api/check-in - Verify check-in & unfreeze depositPOST /api/no-show - Handle no-show (forfeit deposit)POST /api/cards - Issue virtual cardGET /api/wallet/balance?userId=xxx - Get balanceGET /api/wallet/transactions?userId=xxx - Get transactionsPOST /api/wallet/withdraw - Withdraw to bankSTRIPE_SECRET_KEYSTRIPE_WEBHOOK_SECRETNEXT_PUBLIC_SUPABASE_URLSUPABASE_SERVICE_ROLE_KEY✅ API is running
See /docs/STRIPE_INTEGRATION_GUIDE.md for complete API documentation.