razorpay.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Customers
create
customers.create
Create a Razorpay customer
Risk: write
notes full type
notes full type
notes full type
notes full type
get
customers.get
Fetch a Razorpay customer by ID
Risk: read
Output
notes full type
notes full type
list
customers.list
List Razorpay customers
Risk: read
Output
items full type
items full type
update
customers.update
Update a Razorpay customer
Risk: write
notes full type
notes full type
notes full type
notes full type
Orders
create
orders.create
Create a Razorpay order
Risk: write
notes full type
notes full type
notes full type
notes full type
get
orders.get
Fetch a Razorpay order by ID
Risk: read
Output
notes full type
notes full type
list
orders.list
List Razorpay orders
Risk: read
Output
items full type
items full type
Payments
capture
payments.capture
Capture an authorized Razorpay payment
Risk: write
Output
notes full type
notes full type
get
payments.get
Fetch a Razorpay payment by ID
Risk: read
Output
notes full type
notes full type
list
payments.list
List Razorpay payments
Risk: read
Output
items full type
items full type
Payouts
create
payouts.create
Create a Razorpay payout
Risk: write
notes full type
notes full type
notes full type
notes full type
status_details full type
status_details full type
get
payouts.get
Fetch a Razorpay payout by ID
Risk: read
Output
notes full type
notes full type
status_details full type
status_details full type
list
payouts.list
List Razorpay payouts
Risk: read
Output
items full type
items full type
Refunds
create
refunds.create
Create a refund for a Razorpay payment
Risk: write
notes full type
notes full type
notes full type
notes full type
get
refunds.get
Fetch a specific refund for a Razorpay payment
Risk: read
Output
notes full type
notes full type
list
refunds.list
List refunds for a Razorpay payment
Risk: read
Output
items full type
items full type
Settlements
get
settlements.get
Fetch a Razorpay settlement by ID
Risk: read
Output
list
settlements.list
List Razorpay settlements
Risk: read
Output
items full type
items full type
Subscriptions
cancel
subscriptions.cancel
Cancel a Razorpay subscription [DESTRUCTIVE]
Risk: destructive · Irreversible
Output
notes full type
notes full type
create
subscriptions.create
Create a Razorpay subscription
Risk: write
notes full type
notes full type
notes full type
notes full type
get
subscriptions.get
Fetch a Razorpay subscription by ID
Risk: read
Output
notes full type
notes full type
list
subscriptions.list
List Razorpay subscriptions
Risk: read
Output
items full type
items full type
pause
subscriptions.pause
Pause a Razorpay subscription
Risk: write
Output
notes full type
notes full type
resume
subscriptions.resume
Resume a paused Razorpay subscription
Risk: write
Output
notes full type
notes full type
update
subscriptions.update
Update a Razorpay subscription
Risk: write
Output
notes full type
notes full type