ื“ืœื’ ืœืชื•ื›ืŸ ื”ืจืืฉื™

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โ€‹

GatewayStatusFeatures
StripeAvailableCards, ACH, invoices
PayPalAvailablePayPal balance, cards
RazorPayAvailableUPI, cards, net banking

Stripe Setupโ€‹

1. Create Stripe Accountโ€‹

  1. Go to stripe.com
  2. 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.succeeded
  • payment_intent.payment_failed
  • invoice.paid

PayPal Setupโ€‹

PAYPAL_CLIENT_ID=your-client-id
PAYPAL_CLIENT_SECRET=your-secret
PAYPAL_MODE=sandbox # or 'live'

Payment Flowโ€‹