Razorpay
Payments in India: payments, orders, refunds and subscriptions
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Key ID (rzp_…)Required
- Key SecretSecretRequired
Where to find them
- In the Razorpay dashboard, open “Account & Settings” → “API Keys”.
- Generate the keys (test or live mode) and copy the “Key ID” and the “Key Secret” (it is shown only once).
Tools (1)
Razorpay API request
RAZORPAY_SEND_REQUESTAuthenticated call to the Razorpay API (https://api.razorpay.com/v1). Any endpoint of the API is allowed. Examples: GET /payments?count=20, GET /payments/{id}, POST /orders {"amount": 50000, "currency": "INR", "receipt": "…"}, POST /payments/{id}/refund, GET /settlements, GET /subscriptions.
Required scopes
No scopes required
Input
Razorpay API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

