Payment Gateway Integration
Connect payment processors for online invoice payments.
Overview
Gauzy supports integrating payment gateways for:
- Online invoice payments
- Subscription billing
- Payment link generation
Supported Gateways
| Gateway | Status | Features |
|---|---|---|
| Stripe | Available | Cards, ACH, invoices |
| PayPal | Available | PayPal balance, cards |
| RazorPay | Available | UPI, cards, net banking |
Stripe Setup
1. Create Stripe Account
- Go to stripe.com
- Get your API keys from Dashboard → Developers
2. Configure
STRIPE_API_KEY=sk_live_...
STRIPE_SECRET_KEY=sk_live_...
STRIPE_WEBHOOK_SECRET=whsec_...
3. Webhook Events
Configure Stripe webhooks to receive payment notifications:
https://api.example.com/api/payment/webhook/stripe
Events to subscribe:
payment_intent.succeededpayment_intent.payment_failedinvoice.paid
PayPal Setup
PAYPAL_CLIENT_ID=your-client-id
PAYPAL_CLIENT_SECRET=your-secret
PAYPAL_MODE=sandbox # or 'live'
Payment Flow
Related Pages
- Invoice Endpoints — invoice API
- Payment Endpoints — payment API
- Invoicing Feature — invoicing