Razorpay
Base URL https://api.leadx.in/api/key/protected. Every request needs an apikey header — see Authentication.
2 endpoints.
POST /razorpay
Create order.
Auth apikey · Success 200
:::note Used by the web app
pages/Billing.jsx, pages/SeatManagement.jsx
:::
Request body
| Field | Default |
|---|---|
manualPaymentID | — |
subscriptionID | — |
seatsPaymentHistoryID | — |
proof | — |
Required: manualPaymentID, proof, subscriptionID.
Response — data is one ResponseMessage object. (Resource deduced from the collections this handler reads, not read off an explicit return.)
Errors ManualPaymentDetailsNotFound_400 · SubscriptionNotFound_400
POST /razorpay/capture
Capture order.
Auth apikey
:::note Used by the web app
pages/Billing.jsx, pages/SeatManagement.jsx
:::
Response — data is one ResponseMessage object. (Resource deduced from the collections this handler reads, not read off an explicit return.)
Errors PaymentNotFound_400 · SubscriptionNotFound_400