Razorpay integration (Finance, Productivity). Imported from open-connector.
https://api.razorpay.com/v1/orders
| Param | Type | Required | Description |
|---|---|---|---|
| amount | integer | required | The order amount in the smallest currency subunit. |
| currency | string | required | The three-letter ISO currency code for the order. |
| receipt | string | optional | Your internal receipt reference. Razorpay allows up to 40 characters. |
| notes | object | optional | Key-value pairs forwarded to Razorpay notes. Razorpay accepts up to 15 pairs. |
/orders
| Param | Type | Required | Description |
|---|---|---|---|
| authorized | integer | optional | Filter orders by authorized payment state. Use 1 or 0. |
| receipt | string | optional | Filter orders by an exact receipt value. |
| from | integer | optional | A Unix timestamp in seconds. |
| to | integer | optional | A Unix timestamp in seconds. |
| count | integer | optional | The number of orders to return. Razorpay allows up to 100. |
| skip | integer | optional | The number of orders to skip for pagination. |
| expand | array | optional | Additional order sub-entities to expand in the response. |
/orders/{orderId}
| Param | Type | Required | Description |
|---|---|---|---|
| orderId | string | required | The Razorpay order identifier, such as order_9A33XWu170gUtm. |
/payments/{paymentId}
| Param | Type | Required | Description |
|---|---|---|---|
| paymentId | string | required | The Razorpay payment identifier, such as pay_29QQoUBi66xm2f. |
/payments
| Param | Type | Required | Description |
|---|---|---|---|
| from | integer | optional | A Unix timestamp in seconds. |
| to | integer | optional | A Unix timestamp in seconds. |
| count | integer | optional | The number of payments to return. Razorpay allows up to 100. |
| skip | integer | optional | The number of payments to skip for pagination. |
/payments/{paymentId}/refund
| Param | Type | Required | Description |
|---|---|---|---|
| paymentId | string | required | The Razorpay payment identifier to refund. |
| amount | integer | optional | The refund amount in the smallest currency subunit. |
| speed | string | optional | The refund processing speed requested from Razorpay. |
| receipt | string | optional | Your internal refund receipt reference. |
| notes | object | optional | Key-value pairs forwarded to Razorpay notes. Razorpay accepts up to 15 pairs. |