Payment gateways
Nine pluggable gateways for online invoice payment and subscription billing.
Last updated 2026-05-05
CRMcy integrates with nine payment gateways out of the box: Stripe, PayPal, Authorize.Net, Mollie, Razorpay, Paystack, Square, Adyen, and Tap Payments. Each gateway is a pluggable adapter implementing a common contract (charge, refund, webhook-verify, save-payment-method); configuration lives at Settings → Payment gateways. You can enable multiple gateways per tenant — the customer-facing invoice payment page surfaces each enabled option and the customer picks. Webhooks land in the api service, are HMAC- or signature-verified per gateway, and produce a normalized payment.received / payment.failed event that the rest of the platform consumes.
Stripe is also used for subscriptions (see Subscriptions); the other gateways are charge-and-done flows.
Related endpoints
GET /api/tenant/payment-gateways— list with enable flags.PUT /api/tenant/payment-gateways/:slug— enable + configure (api key, webhook secret).POST /api/tenant/payment-gateways/:slug/test— sandbox round-trip.POST /api/control/webhooks/:gateway— webhook ingress (per-gateway path).
See the source at apps/web/src/app/(tenant)/settings/payment-gateways, apps/api/src/payments, and the per-gateway adapters at packages/gateways.