Language-agnostic integration reference for PayGate, a multi-tenant payment gateway (Stripe today, more providers later). If you're integrating in PHP or Node.js, see the PayGate PHP SDK or PayGate Node.js SDK — they implement everything described here.
- 01 — Getting started
- 02 — Authentication
- 03 — API reference
- 03.01 — POST /api/v1/checkout-sessions
- 03.02 — /api/v1/subscriptions/{external_ref} (get, set customer, change plan)
- 03.03 — Hosted checkout picker page
- 03.04 — Testing without a real Stripe account
- 03.05 — GET /api/v1/transactions/{transaction_id}
- 03.06 — /api/v1/customers
- 03.07 — /api/v1/plans (plans and prices)
- 03.08 — Subscription lifecycle
- 04 — Webhooks
- 05 — Errors
- 06 — Postman collection
- 07 — Understanding external_ref
| Environment | Base URL |
|---|---|
| Production | https://payments.example.com |
| Dev/staging | https://payments-dev.example.com |
Replace with the actual domain your gateway operator gave you when they registered your app.