← Tools Reference

Razorpay

Razorpay integration (Finance, Productivity). Imported from open-connector.

API key6 toolshttps://api.razorpay.com/v1
POST
razorpay_create_order
Create a Razorpay order for an amount, currency, and optional receipt metadata.

/orders

4 parameters
ParamTypeRequiredDescription
amountintegerrequiredThe order amount in the smallest currency subunit.
currencystringrequiredThe three-letter ISO currency code for the order.
receiptstringoptionalYour internal receipt reference. Razorpay allows up to 40 characters.
notesobjectoptionalKey-value pairs forwarded to Razorpay notes. Razorpay accepts up to 15 pairs.
GET
razorpay_list_orders
List Razorpay orders with optional receipt, status-window, and expansion filters.

/orders

7 parameters
ParamTypeRequiredDescription
authorizedintegeroptionalFilter orders by authorized payment state. Use 1 or 0.
receiptstringoptionalFilter orders by an exact receipt value.
fromintegeroptionalA Unix timestamp in seconds.
tointegeroptionalA Unix timestamp in seconds.
countintegeroptionalThe number of orders to return. Razorpay allows up to 100.
skipintegeroptionalThe number of orders to skip for pagination.
expandarrayoptionalAdditional order sub-entities to expand in the response.
GET
razorpay_get_order
Fetch one Razorpay order by its order identifier.

/orders/{orderId}

1 parameter
ParamTypeRequiredDescription
orderIdstringrequiredThe Razorpay order identifier, such as order_9A33XWu170gUtm.
GET
razorpay_get_payment
Fetch one Razorpay payment by its payment identifier.

/payments/{paymentId}

1 parameter
ParamTypeRequiredDescription
paymentIdstringrequiredThe Razorpay payment identifier, such as pay_29QQoUBi66xm2f.
GET
razorpay_list_payments
List Razorpay payments within an optional time window and pagination range.

/payments

4 parameters
ParamTypeRequiredDescription
fromintegeroptionalA Unix timestamp in seconds.
tointegeroptionalA Unix timestamp in seconds.
countintegeroptionalThe number of payments to return. Razorpay allows up to 100.
skipintegeroptionalThe number of payments to skip for pagination.
POST
razorpay_create_refund
Create a Razorpay refund for a payment, with optional amount, speed, and notes.

/payments/{paymentId}/refund

5 parameters
ParamTypeRequiredDescription
paymentIdstringrequiredThe Razorpay payment identifier to refund.
amountintegeroptionalThe refund amount in the smallest currency subunit.
speedstringoptionalThe refund processing speed requested from Razorpay.
receiptstringoptionalYour internal refund receipt reference.
notesobjectoptionalKey-value pairs forwarded to Razorpay notes. Razorpay accepts up to 15 pairs.