Vendor Console

arrow_backAll guides

Stripe & Razorpay

Premium plan checkout. Keys live on the API server environment.

settingsOpen My Subscription

Credentials to collect

  • keySTRIPE_SECRET_KEY / publishable key (API .env)
  • keySTRIPE_WEBHOOK_SECRET
  • keyRAZORPAY_KEY_ID / RAZORPAY_KEY_SECRET
  • keyRAZORPAY_WEBHOOK_SECRET

How to get API access

  1. 1Create accounts at Stripe Dashboard and/or Razorpay Dashboard.
  2. 2Platform Owner: store wholesale Razorpay keys under Payment Gateways (used when Super Admins buy license keys).
  3. 3Copy vendor checkout keys into apps/api/.env (not into the browser) if you use /vendor-console/subscription.
  4. 4Configure webhook endpoints to /v1/billing/webhooks/stripe and /razorpay.
  5. 5Super Admins buy seats at Licenses with Razorpay Standard Checkout; vendors pay the reseller from My Subscription.
  6. 6If wholesale Razorpay keys are missing, Super Admin license purchase falls back to mock credit.

Frontend checklist

  • check_box_outline_blankServer env keys set for the provider you use
  • check_box_outline_blankWebhook secrets configured for production
  • check_box_outline_blankSubscription page shows gateway status