The Razorpay connector lets your AI agent act in each user's Razorpay account. Each user connects their own Razorpay API key once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 83 tools.
- Tools
- 83
- What they doRead · write · destructive
- 42 · 38 · 342 read38 write3 destructive
- Users sign in with
- API key
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the Razorpay connection
In AgentKit > Connections, create a Razorpay connection. The name you give it is the
connection_nameyour code passes. See Configure connections.
Tools
Pass the exact name toexecute_toolrazorpay_get_customerRetrieve one customer by ID.Read-onlyGet Customer
Retrieve one customer by ID. Returns the customer with name, email, contact, gstin and notes. Use list_customers to find the ID.
Inputs
customer_idstringrequired- ID of the customer. Example: cust_1Aa00000000001.
razorpay_get_disputeRetrieve one dispute by ID.Read-onlyGet Dispute
Retrieve one dispute by ID. Returns the dispute with status, phase, amount, reason_code, respond_by and evidence. Use list_disputes to find the ID.
Inputs
dispute_idstringrequired- ID of the dispute. Example: disp_AHfqOvkldwsbqt.
razorpay_get_instant_settlementRetrieve one instant (on-demand) settlement by ID.Read-onlyGet Instant Settlement
Retrieve one instant (on-demand) settlement by ID. Returns the settlement with amount_requested, amount_settled, fees, tax, status and payouts. Use list_instant_settlements to find the ID.
Inputs
instant_settlement_idstringrequired- ID of the instant settlement. Example: setlod_FNj7g2YS5J67Rz.
razorpay_get_invoiceRetrieve one invoice by ID.Read-onlyGet Invoice
Retrieve one invoice by ID. Returns the invoice with status, amount, amount_paid, line_items, customer_details and short_url. Use list_invoices to find the ID.
Inputs
invoice_idstringrequired- ID of the invoice. Example: inv_DAweOiQ7amIUVd.
razorpay_get_itemRetrieve one item by ID.Read-onlyGet Item
Retrieve one item by ID. Returns the item with name, description, amount, currency and active flag. Use list_items to find the ID.
Inputs
item_idstringrequired- ID of the item. Example: item_7Oxp8NPBEuBAFH.
razorpay_get_orderRetrieve one order by its ID.Read-onlyGet Order
Retrieve one order by its ID. Returns the order with amount, amount_paid, amount_due, currency, receipt, status, attempts and notes. Use list_orders to find the ID. Use list_order_payments to see the payments made against the order.
Inputs
order_idstringrequired- ID of the order. Example: order_DaaS6LOUAASb7Y.
razorpay_get_paymentRetrieve one payment by its ID.Read-onlyGet Payment
Retrieve one payment by its ID. Returns the payment with amount, currency, status, method, order_id, amount_refunded, fee, tax and error details. Use list_payments to find the ID. Use get_payment_card for masked card details.
Inputs
payment_idstringrequired- ID of the payment. Example: pay_DG4ZdRK8ZnXC3k.
razorpay_get_payment_cardRetrieve the masked card details used for a card payment.Read-onlyGet Payment Card Details
Retrieve the masked card details used for a card payment. Returns the card id, name, last4, network, type, issuer, international and emi flags. Use this after get_payment shows method card.
Inputs
payment_idstringrequired- ID of the payment. Example: pay_DG4ZdRK8ZnXC3k.
razorpay_get_payment_linkRetrieve one payment link by ID.Read-onlyGet Payment Link
Retrieve one payment link by ID. Returns the link with status, amount, amount_paid, short_url, payments and customer. Use list_payment_links to find the ID.
Inputs
payment_link_idstringrequired- ID of the payment link. Example: plink_FL5HCrWEO112OW.
razorpay_get_payment_refundRetrieve one refund that belongs to a specific payment.Read-onlyGet Payment Refund
Retrieve one refund that belongs to a specific payment. Returns the refund with amount, status, speed_processed and notes. Use this when you know both IDs. Use get_refund when you only have the refund ID.
Inputs
payment_idstringrequired- ID of the payment. Example: pay_29QQoUBi66xm2f.
refund_idstringrequired- ID of the refund. Example: rfnd_AABBdHIieexn5c.
razorpay_get_planRetrieve one billing plan by ID.Read-onlyGet Plan
Retrieve one billing plan by ID. Returns the plan with period, interval and item details. Use list_plans to find the ID.
Inputs
plan_idstringrequired- ID of the plan. Example: plan_00000000000001.
razorpay_get_qr_codeRetrieve one QR code by ID.Read-onlyGet QR Code
Retrieve one QR code by ID. Returns the QR code with status, usage, image_url, payments_count_received and payments_amount_received. Use list_qr_codes to find the ID.
Inputs
qr_code_idstringrequired- ID of the QR code. Example: qr_HMsVL8HOpbMcjU.
razorpay_get_refundRetrieve one refund by its ID.Read-onlyGet Refund
Retrieve one refund by its ID. Returns the refund with amount, currency, payment_id, status, speed_processed and notes. Use list_refunds to find the ID.
Inputs
refund_idstringrequired- ID of the refund. Example: rfnd_DfjjhJC6eDvUAi.
razorpay_get_settlementRetrieve one settlement by ID.Read-onlyGet Settlement
Retrieve one settlement by ID. Returns the settlement with amount, status, fees, tax, utr and created_at. Use list_settlements to find the ID.
Inputs
settlement_idstringrequired- ID of the settlement. Example: setl_DGlQ1Rj8os78Ec.
razorpay_get_settlement_reconRetrieve the transaction-level reconciliation report for settlements in a month or on a day.Read-onlyGet Settlement Reconciliation Report
Retrieve the transaction-level reconciliation report for settlements in a month or on a day. Returns a collection of entries with entity_id, type, amount, fee, tax, settlement_id and settled_at. Use this to match payments and refunds to bank credits.
Inputs
monthintegerrequired- Month the settlement was received, 1 to 12. Example: 6.
yearintegerrequired- Year the settlement was received, in YYYY format. Example: 2022.
countinteger- Number of entries to return, 1 to 1000.
dayinteger- Day of the month the settlement was received. Leave empty for the whole month. Example: 11.
skipinteger- Number of entries to skip. Use with count to paginate.
razorpay_get_subscriptionRetrieve one subscription by ID.Read-onlyGet Subscription
Retrieve one subscription by ID. Returns the subscription with status, plan_id, paid_count, remaining_count and current period. Use list_subscriptions to find the ID.
Inputs
subscription_idstringrequired- ID of the subscription. Example: sub_00000000000001.
razorpay_get_subscription_addonRetrieve one subscription add-on by ID.Read-onlyGet Add-on
Retrieve one subscription add-on by ID. Returns the add-on with item, quantity, subscription_id and invoice_id. Use list_subscription_addons to find the ID.
Inputs
addon_idstringrequired- ID of the add-on. Example: ao_00000000000001.
razorpay_get_subscription_pending_updateRetrieve the update scheduled to apply at the end of the current cycle.Read-onlyGet Subscription Pending Update
Retrieve the update scheduled to apply at the end of the current cycle. Returns the subscription as it will look after the change. Use cancel_subscription_pending_update to drop the scheduled change.
Inputs
subscription_idstringrequired- ID of the subscription. Example: sub_00000000000001.
razorpay_get_transferRetrieve one Route transfer by ID.Read-onlyGet Transfer
Retrieve one Route transfer by ID. Returns the transfer with source, recipient, amount, amount_reversed, on_hold and settlement_status. Use list_payment_transfers to find the ID.
Inputs
transfer_idstringrequired- ID of the transfer. Example: trf_E9uQZ1rwK8gWfu.
razorpay_get_virtual_accountRetrieve one virtual account by ID.Read-onlyGet Virtual Account
Retrieve one virtual account by ID. Returns the virtual account with status, receivers, amount_expected and amount_paid. Use list_virtual_accounts to find the ID.
Inputs
virtual_account_idstringrequired- ID of the virtual account. Example: va_Di5gbNptcWV8fQ.
razorpay_list_customersList customers on the account.Read-onlyList Customers
List customers on the account. Returns a collection of customers with id, name, email, contact and notes. Use get_customer when you already have the ID.
Inputs
countinteger- Number of customers to return. Default 10, maximum 100. Combine with skip to paginate.
skipinteger- Number of customers to skip before returning results. Default 0. Combine with count to paginate.
razorpay_list_disputesList payment disputes (chargebacks) raised against your payments.Read-onlyList Disputes
List payment disputes (chargebacks) raised against your payments. Returns a collection of disputes with id, payment_id, amount, status, phase, reason_code and respond_by. Use get_dispute for one dispute. Disputes in the open status need action before respond_by.
Inputs
countinteger- Number of disputes to return. Default 10, maximum 100. Combine with skip to paginate.
frominteger- Unix timestamp in seconds. Only disputes created at or after this time are returned. Example: 1700000000.
skipinteger- Number of disputes to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only disputes created at or before this time are returned. Example: 1710000000.
razorpay_list_instant_settlementsList instant (on-demand) settlements requested on the account.Read-onlyList Instant Settlements
List instant (on-demand) settlements requested on the account. Returns a collection with id, amount_requested, amount_settled, fees, tax and status. Use get_instant_settlement for one request.
Inputs
This tool takes no inputs.
razorpay_list_invoicesList invoices, optionally filtered by customer, payment or receipt.Read-onlyList Invoices
List invoices, optionally filtered by customer, payment or receipt. Returns a collection of invoices with id, status, amount, customer_id and short_url. Use list_subscription_invoices for invoices of one subscription. Use get_invoice for one invoice.
Inputs
customer_idstring- Return only invoices issued to this customer. Example: cust_1Aa00000000001.
payment_idstring- Return only the invoice paid by this payment. Example: pay_DG4ZdRK8ZnXC3k.
receiptstring- Return only invoices with this receipt number. Example: Receipt No. 1.
razorpay_list_itemsList items, optionally only active or inactive ones.Read-onlyList Items
List items, optionally only active or inactive ones. Returns a collection of items with id, name, amount, currency and active flag. Use get_item for one item.
Inputs
activeinteger- Filter by status. Use 1 for active items and 0 for inactive items.one of
01 countinteger- Number of items to return. Default 10, maximum 100. Combine with skip to paginate.
frominteger- Unix timestamp in seconds. Only items created at or after this time are returned. Example: 1700000000.
skipinteger- Number of items to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only items created at or before this time are returned. Example: 1710000000.
razorpay_list_order_paymentsList every payment attempt made against one order.Read-onlyList Order Payments
List every payment attempt made against one order. Returns a collection of payments with id, amount, status, method and error details. Use this to see failed and successful attempts for an order. Use get_payment for one payment's full details.
Inputs
order_idstringrequired- ID of the order. Example: order_DaaS6LOUAASb7Y.
razorpay_list_ordersList orders on the account, optionally filtered by receipt, authorization state or creation time.Read-onlyList Orders
List orders on the account, optionally filtered by receipt, authorization state or creation time. Returns a collection of orders with count and items. Use this to browse orders. Use get_order when you already have the order id.
Inputs
authorizedinteger- Filter by payment authorization. Use 1 for orders with authorized payments and 0 for orders without.one of
01 countinteger- Number of orders to return. Default 10, maximum 100. Combine with skip to paginate.
expandarray- Extra data to embed in each order. Allowed values: payments, payments.card, transfers, virtual_account. Example: ["payments"].
frominteger- Unix timestamp in seconds. Only orders created at or after this time are returned. Example: 1700000000.
receiptstring- Return only orders whose receipt matches this value. Example: receipt#1.
skipinteger- Number of orders to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only orders created at or before this time are returned. Example: 1710000000.
razorpay_list_payment_linksList payment links, optionally filtered by payment or reference ID.Read-onlyList Payment Links
List payment links, optionally filtered by payment or reference ID. Returns a collection of payment links with id, short_url, amount and status. Use get_payment_link for one link.
Inputs
payment_idstring- Return only the link that received this payment. Example: pay_DG4ZdRK8ZnXC3k.
reference_idstring- Return only the link with this reference ID. Example: ORD-1001.
razorpay_list_payment_refundsList all refunds made against one payment.Read-onlyList Payment Refunds
List all refunds made against one payment. Returns a collection of refunds with id, amount, status and created_at. Use this to see how much of a payment has been refunded. Use list_refunds for all payments.
Inputs
payment_idstringrequired- ID of the payment. Example: pay_29QQoUBi66xm2f.
countinteger- Number of refunds to return. Default 10, maximum 100. Combine with skip to paginate.
frominteger- Unix timestamp in seconds. Only refunds created at or after this time are returned. Example: 1700000000.
skipinteger- Number of refunds to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only refunds created at or before this time are returned. Example: 1710000000.
razorpay_list_payment_transfersList the transfers made from one payment.Read-onlyList Payment Transfers
List the transfers made from one payment. Returns a collection of transfers with id, recipient, amount and settlement status. Use get_transfer for one transfer.
Inputs
payment_idstringrequired- ID of the payment. Example: pay_E9up5H3Zd8hMSP.
razorpay_list_paymentsList payments on the account, optionally within a time range.Read-onlyList Payments
List payments on the account, optionally within a time range. Returns a collection of payments with id, amount, status, method, order_id and customer details. Use this to browse payments. Use get_payment for one payment, or list_order_payments for one order.
Inputs
countinteger- Number of payments to return. Default 10, maximum 100. Combine with skip to paginate.
frominteger- Unix timestamp in seconds. Only payments created at or after this time are returned. Example: 1700000000.
skipinteger- Number of payments to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only payments created at or before this time are returned. Example: 1710000000.
razorpay_list_plansList billing plans.Read-onlyList Plans
List billing plans. Returns a collection of plans with id, period, interval and item. Use get_plan for one plan.
Inputs
countinteger- Number of plans to return. Default 10, maximum 100. Combine with skip to paginate.
frominteger- Unix timestamp in seconds. Only plans created at or after this time are returned. Example: 1700000000.
skipinteger- Number of plans to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only plans created at or before this time are returned. Example: 1710000000.
razorpay_list_qr_code_paymentsList payments received on one QR code.Read-onlyList QR Code Payments
List payments received on one QR code. Returns a collection of payments with id, amount, status and method. Use get_payment for one payment's full details.
Inputs
qr_code_idstringrequired- ID of the QR code. Example: qr_HMsVL8HOpbMcjU.
countinteger- Number of payments to return. Default 10, maximum 100. Combine with skip to paginate.
frominteger- Unix timestamp in seconds. Only payments created at or after this time are returned. Example: 1700000000.
skipinteger- Number of payments to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only payments created at or before this time are returned. Example: 1710000000.
razorpay_list_qr_codesList QR codes, optionally for one customer or payment.Read-onlyList QR Codes
List QR codes, optionally for one customer or payment. Returns a collection of QR codes with id, usage, status and payments_amount_received. Use get_qr_code for one QR code.
Inputs
countinteger- Number of QR codes to return. Default 10, maximum 100. Combine with skip to paginate.
customer_idstring- Return only QR codes for this customer. Example: cust_HKsR5se84c5LTO.
frominteger- Unix timestamp in seconds. Only QR codes created at or after this time are returned. Example: 1700000000.
payment_idstring- Return only the QR code that received this payment. Example: pay_Di5iqCqA1WEHq6.
skipinteger- Number of QR codes to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only QR codes created at or before this time are returned. Example: 1710000000.
razorpay_list_refundsList refunds across all payments, optionally within a time range.Read-onlyList Refunds
List refunds across all payments, optionally within a time range. Returns a collection of refunds with id, amount, payment_id, status and notes. Use this for an account-wide view. Use list_payment_refunds for one payment.
Inputs
countinteger- Number of refunds to return. Default 10, maximum 100. Combine with skip to paginate.
frominteger- Unix timestamp in seconds. Only refunds created at or after this time are returned. Example: 1700000000.
skipinteger- Number of refunds to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only refunds created at or before this time are returned. Example: 1710000000.
razorpay_list_settlementsList settlements paid out to your bank account.Read-onlyList Settlements
List settlements paid out to your bank account. Returns a collection of settlements with id, amount, status, fees, tax and utr. Use get_settlement for one settlement or get_settlement_recon for transaction-level detail.
Inputs
countinteger- Number of settlements to return. Default 10, maximum 100. Combine with skip to paginate.
frominteger- Unix timestamp in seconds. Only settlements created at or after this time are returned. Example: 1700000000.
skipinteger- Number of settlements to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only settlements created at or before this time are returned. Example: 1710000000.
razorpay_list_subscription_addonsList add-ons across subscriptions.Read-onlyList Add-ons
List add-ons across subscriptions. Returns a collection of add-ons with id, item, quantity and subscription_id. Use get_subscription_addon for one add-on.
Inputs
countinteger- Number of add-ons to return. Default 10, maximum 100. Combine with skip to paginate.
frominteger- Unix timestamp in seconds. Only add-ons created at or after this time are returned. Example: 1700000000.
skipinteger- Number of add-ons to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only add-ons created at or before this time are returned. Example: 1710000000.
razorpay_list_subscription_invoicesList the invoices generated for one subscription.Read-onlyList Subscription Invoices
List the invoices generated for one subscription. Returns a collection of invoices with id, status, amount and billing period. Use list_invoices for invoices across all customers.
Inputs
subscription_idstringrequired- ID of the subscription whose invoices to list. Example: sub_00000000000001.
razorpay_list_subscriptionsList subscriptions, optionally for one plan.Read-onlyList Subscriptions
List subscriptions, optionally for one plan. Returns a collection of subscriptions with id, status, plan_id and paid_count. Use get_subscription for one subscription.
Inputs
countinteger- Number of subscriptions to return. Default 10, maximum 100. Combine with skip to paginate.
frominteger- Unix timestamp in seconds. Only subscriptions created at or after this time are returned. Example: 1700000000.
plan_idstring- Return only subscriptions on this plan. Example: plan_00000000000001.
skipinteger- Number of subscriptions to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only subscriptions created at or before this time are returned. Example: 1710000000.
razorpay_list_transfer_reversalsList the reversals made against one transfer.Read-onlyList Transfer Reversals
List the reversals made against one transfer. Returns a collection of reversals with id, amount and created_at. Use reverse_transfer to create a reversal.
Inputs
transfer_idstringrequired- ID of the transfer. Example: trf_E9uQZ1rwK8gWfu.
razorpay_list_virtual_account_paymentsList payments received on one virtual account.Read-onlyList Virtual Account Payments
List payments received on one virtual account. Returns a collection of payments with id, amount, status and method. Use get_payment for one payment's full details.
Inputs
virtual_account_idstringrequired- ID of the virtual account. Example: va_Di5gbNptcWV8fQ.
countinteger- Number of payments to return. Default 10, maximum 100. Combine with skip to paginate.
frominteger- Unix timestamp in seconds. Only payments created at or after this time are returned. Example: 1700000000.
skipinteger- Number of payments to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only payments created at or before this time are returned. Example: 1710000000.
razorpay_list_virtual_accountsList virtual accounts (customer identifiers).Read-onlyList Virtual Accounts
List virtual accounts (customer identifiers). Returns a collection with id, status, receivers and amount_paid. Use get_virtual_account for one.
Inputs
countinteger- Number of virtual accounts to return. Default 10, maximum 100. Combine with skip to paginate.
frominteger- Unix timestamp in seconds. Only virtual accounts created at or after this time are returned. Example: 1700000000.
skipinteger- Number of virtual accounts to skip before returning results. Default 0. Combine with count to paginate.
tointeger- Unix timestamp in seconds. Only virtual accounts created at or before this time are returned. Example: 1710000000.
razorpay_accept_disputeAccept a dispute, which gives up the disputed amount to the customer.WriteAccept Dispute
Accept a dispute, which gives up the disputed amount to the customer. Returns the dispute with status lost. This cannot be undone. Use contest_dispute to fight the dispute instead.
Inputs
dispute_idstringrequired- ID of the dispute to accept. Example: disp_AHfqOvkldwsbqt.
razorpay_add_virtual_account_receiverAdd another receiver type (bank account or UPI ID) to an existing virtual account.WriteAdd Virtual Account Receiver
Add another receiver type (bank account or UPI ID) to an existing virtual account. Returns the virtual account with its updated receivers. Use create_virtual_account to start a new one.
Inputs
typesarrayrequired- Receiver types to add. Allowed values: bank_account, vpa. Example: ["vpa"].
virtual_account_idstringrequired- ID of the virtual account. Example: va_Di5gbNptcWV8fQ.
vpaobject- UPI ID settings, used only when types includes vpa. Set descriptor to a custom label. Example: {"descriptor": "gaurikumari"}.
razorpay_cancel_invoiceCancel an issued invoice so it can no longer be paid.WriteCancel Invoice
Cancel an issued invoice so it can no longer be paid. Returns the invoice with status cancelled. Use delete_invoice instead for a draft you never issued.
Inputs
invoice_idstringrequired- ID of the invoice. Example: inv_DAweOiQ7amIUVd.
razorpay_cancel_payment_linkCancel a payment link so it can no longer be paid.WriteCancel Payment Link
Cancel a payment link so it can no longer be paid. Returns the link with status cancelled. Cancelled links cannot be reactivated.
Inputs
payment_link_idstringrequired- ID of the payment link. Example: plink_FL5HCrWEO112OW.
razorpay_cancel_subscriptionCancel a subscription now or at the end of the current billing cycle.WriteCancel Subscription
Cancel a subscription now or at the end of the current billing cycle. Returns the subscription with its new status. Use pause_subscription instead if you may want to resume later.
Inputs
subscription_idstringrequired- ID of the subscription. Example: sub_00000000000001.
cancel_at_cycle_endboolean- true cancels at the end of the current billing cycle; false (default) cancels immediately.
razorpay_cancel_subscription_pending_updateCancel an update that was scheduled for the end of the current cycle.WriteCancel Subscription Pending Update
Cancel an update that was scheduled for the end of the current cycle. Returns the subscription with its current state. Use this after update_subscription with schedule_change_at set to cycle_end.
Inputs
subscription_idstringrequired- ID of the subscription. Example: sub_00000000000001.
razorpay_capture_paymentCapture an authorized payment so the money is collected from the customer.WriteCapture Payment
Capture an authorized payment so the money is collected from the customer. Returns the captured payment with status captured. Use this only for payments in the authorized state when automatic capture is off. The amount must equal the authorized amount.
Inputs
amountintegerrequired- Amount to capture in the smallest currency unit. It must equal the authorized payment amount. Example: 5000 for Rs 50.00.
currencystringrequired- Three-letter ISO 4217 currency code of the payment. Example: INR.
payment_idstringrequired- ID of the payment. Example: pay_29QQoUBi66xm2f.
razorpay_close_qr_codeClose a QR code so it stops accepting payments.WriteClose QR Code
Close a QR code so it stops accepting payments. Returns the QR code with status closed. Closed QR codes cannot be reopened.
Inputs
qr_code_idstringrequired- ID of the QR code. Example: qr_HMsVL8HOpbMcjU.
razorpay_close_virtual_accountClose a virtual account so it stops receiving payments.WriteClose Virtual Account
Close a virtual account so it stops receiving payments. Returns the virtual account with status closed. Closed virtual accounts cannot be reopened.
Inputs
virtual_account_idstringrequired- ID of the virtual account. Example: va_Di5gbNptcWV8fQ.
razorpay_contest_disputeContest a dispute by submitting a summary and evidence document IDs.WriteContest Dispute
Contest a dispute by submitting a summary and evidence document IDs. Returns the dispute with status under_review. Documents must already be uploaded to Razorpay. Leave amount empty to contest the full amount. Set action to submit to send it. Use accept_dispute to concede.
- Idempotent
Inputs
dispute_idstringrequired- ID of the dispute to contest. Example: disp_AHfqOvkldwsbqt.
access_activity_logarray- IDs of uploaded documents that serve as server logs showing the customer accessed or downloaded the digital product. Example: ["doc_EFtmUsbwpXwBH9"].
actionstring- draft (default) saves the evidence without submitting it. submit sends the contest to Razorpay and needs at least one document ID across the evidence fields.one of
draftsubmit amountinteger- Amount being contested in the smallest currency unit. Leave empty to contest the full dispute amount.
billing_proofarray- IDs of uploaded documents that serve as proof of order confirmation, such as a receipt. Example: ["doc_EFtmUsbwpXwBH9"].
cancellation_proofarray- IDs of uploaded documents that serve as proof the product or service was cancelled. Example: ["doc_EFtmUsbwpXwBH9"].
customer_communicationarray- IDs of uploaded documents that serve as written communication from the customer confirming receipt or satisfaction. Example: ["doc_EFtmUsbwpXwBH9"].
explanation_letterarray- IDs of uploaded documents that serve as a letter explaining facts relevant to the dispute. Example: ["doc_EFtmUsbwpXwBH9"].
othersarray- Extra evidence of custom types. Each entry has a type label and a list of document_ids. Example: [{"type": "receipt_signed_by_customer", "document_ids": ["doc_EFtmUsbwpXwBH9"]}].
proof_of_servicearray- IDs of uploaded documents that serve as proof the service was provided. Example: ["doc_EFtmUsbwpXwBH9"].
refund_cancellation_policyarray- IDs of uploaded documents that serve as your refund and cancellation policy as shown to the customer. Example: ["doc_EFtmUsbwpXwBH9"].
refund_confirmationarray- IDs of uploaded documents that serve as proof a refund was given to the customer. Example: ["doc_EFtmUsbwpXwBH9"].
shipping_proofarray- IDs of uploaded documents that serve as proof the product was shipped to the customer's address. Example: ["doc_EFtmUsbwpXwBH9"].
summarystring- Your explanation for contesting, up to 1000 characters. Example: Product was delivered on 12 June and signed for.
term_and_conditionsarray- IDs of uploaded documents that serve as your sales terms and conditions as shown to the customer. Example: ["doc_EFtmUsbwpXwBH9"].
razorpay_create_customerCreate a customer record to attach to invoices, subscriptions, QR codes and virtual accounts.WriteCreate Customer
Create a customer record to attach to invoices, subscriptions, QR codes and virtual accounts. Returns the customer with id, name, email, contact, gstin and notes. Use update_customer to change an existing customer.
Inputs
contactstring- Customer phone number with country code, up to 15 characters. Example: +919876543210.
emailstring- Customer email address, up to 64 characters. Example: gaurav.kumar@example.com.
fail_existingstring- Behavior when a customer with the same details exists. Use 1 (default) to return an error, or 0 to return the existing customer instead.one of
01 gstinstring- Customer GST number if available. Example: 29XAbbA4369J1PA.
namestring- Customer name, 3 to 50 characters. Example: Gaurav Kumar.
notesobject- Key-value pairs for your own reference, up to 15 pairs with values up to 256 characters each. Example: {"order_ref": "A-1001"}.
razorpay_create_invoiceCreate an invoice for a customer, optionally as a draft.WriteCreate Invoice
Create an invoice for a customer, optionally as a draft. Returns the invoice with id, status, amount, short_url, line items and customer details. Use issue_invoice to send a draft. Pass either customer_id or customer.
Inputs
line_itemsarrayrequired- Lines billed on the invoice, up to 50. Each line either references an existing item with item_id, or gives a name and amount in the smallest currency unit, with optional description, currency and quantity. Example: [{"name": "Consulting", "amount": 30000, "currency": "INR", "quantity": 2}].
currencystring- ISO 4217 currency of the invoice. Required for international payments. Example: INR.
customerobject- Customer details to bill, used when you do not pass customer_id. Include name, plus optional email, contact, billing_address and shipping_address (each address has line1, line2, city, zipcode, state, country). Example: {"name": "Gaurav Kumar", "email": "gaurav.kumar@example.com", "contact": "+919876543210"}.
customer_idstring- ID of an existing customer from create_customer. Use this or customer. Example: cust_1Aa00000000001.
descriptionstring- Short description shown on the invoice. Example: Monthly retainer.
draftstring- Set to 1 to create the invoice as a draft that can be edited and issued later. Leave empty to issue immediately.one of
1 email_notifyboolean- true (default) lets Razorpay send the email notification; false means you handle it.
expire_byinteger- Unix timestamp at which the invoice expires. Example: 1893456000.
notesobject- Custom notes for the invoice, as key-value pairs (for example {"po_number": "PO-77"}) or as a plain text string of up to 2048 characters. The Razorpay page types this field as a string while its other pages show key-value notes, so both are accepted.
partial_paymentboolean- true lets the customer pay in parts; false (default) requires full payment.
sms_notifyboolean- true (default) lets Razorpay send the SMS notification; false means you handle it.
razorpay_create_itemCreate a reusable item (product or service with a price) that can be added to invoices.WriteCreate Item
Create a reusable item (product or service with a price) that can be added to invoices. Returns the item with id, name, description, amount, currency and active flag. Use this before create_invoice when you bill the same line often.
Inputs
amountintegerrequired- Price in the smallest currency unit. For INR, 69900 means Rs 699.00.
currencystringrequired- Three-letter ISO 4217 currency code. Example: INR.
namestringrequired- Name of the item. Example: Annual Plan.
descriptionstring- Short description of the item. Example: Yearly subscription fee.
razorpay_create_orderCreate a Razorpay order for a payment amount before checkout.WriteCreate Order
Create a Razorpay order for a payment amount before checkout. Returns the order with id, amount, amount_due, currency, receipt, status and notes. Use this first in a payment flow, then pass the order id to checkout. Use list_orders or get_order to look orders up.
Inputs
amountintegerrequired- Amount to charge in the smallest currency unit. For INR, 29900 means Rs 299.00. The minimum for INR is 100.
currencystringrequired- Three-letter ISO 4217 currency code for the order. Example: INR.
notesobject- Key-value pairs for your own reference, up to 15 pairs with values up to 256 characters each. Example: {"order_ref": "A-1001"}.
receiptstring- Your own receipt or reference number for the order. Maximum 40 characters and unique per order. Example: receipt#1.
razorpay_create_payment_linkCreate a shareable payment link for a fixed amount, standard or UPI.WriteCreate Payment Link
Create a shareable payment link for a fixed amount, standard or UPI. Returns the link with id, short_url, amount, status and reference_id. Set upi_link to true for a UPI-only link. Use send_payment_link_notification to deliver it.
Inputs
amountintegerrequired- Amount to collect in the smallest currency unit. For INR, 30000 means Rs 300.00.
accept_partialboolean- true lets the customer pay in parts; false (default) requires the full amount. Not allowed for UPI links.
callback_methodstring- Must be get when callback_url is set.one of
get callback_urlstring- URL the customer is redirected to after paying. Requires callback_method. Example: https://example.com/thanks.
currencystring- Three-letter ISO 4217 currency code. Defaults to INR. Example: INR.
customerobject- Customer details with optional name, email and contact. Example: {"name": "Gaurav Kumar", "email": "gaurav.kumar@example.com", "contact": "+919876543210"}.
descriptionstring- Short description of what the link is for, up to 2048 characters. Example: Payment for order 1001.
expire_byinteger- Unix timestamp at which the link expires. At most six months after creation. Example: 1893456000.
first_min_partial_amountinteger- Minimum first partial payment in the smallest currency unit. Use only with accept_partial set to true. Example: 10000.
notesobject- Key-value pairs for your own reference, up to 15 pairs with values up to 256 characters each. Example: {"order_ref": "A-1001"}.
notifyobject- Who sends notifications. Set sms and email to true to let Razorpay notify the customer. Example: {"sms": true, "email": true}.
reference_idstring- Your unique reference for this link, up to 40 characters. Example: ORD-1001.
reminder_enableboolean- true sends automatic payment reminders for the link; false disables them.
upi_linkboolean- Set true to create a UPI Payment Link. If false or empty, a standard link is created.
razorpay_create_planCreate a billing plan that subscriptions are attached to.WriteCreate Plan
Create a billing plan that subscriptions are attached to. Returns the plan with id, period, interval and item details. Create a plan first, then use create_subscription with its id.
Inputs
intervalintegerrequired- Number of periods between charges. For a plan billed every 2 months, period is monthly and interval is 2. Daily plans need at least 7.
itemobjectrequired- What the plan charges. Needs name, amount in the smallest currency unit and currency, plus an optional description. Example: {"name": "Pro Plan", "amount": 69900, "currency": "INR", "description": "Pro monthly"}.
periodstringrequired- Billing period unit. Combined with interval it sets the frequency. Allowed values: daily, weekly, monthly, quarterly, yearly.one of
dailyweeklymonthlyquarterlyyearly notesobject- Key-value pairs for your own reference, up to 15 pairs with values up to 256 characters each. Example: {"order_ref": "A-1001"}.
razorpay_create_qr_codeCreate a UPI QR code that customers scan to pay.WriteCreate QR Code
Create a UPI QR code that customers scan to pay. Returns the QR code with id, image_url, usage, fixed_amount and status. This feature must be enabled on your account. Single-use codes need fixed_amount true.
Inputs
typestringrequired- QR code type. Only upi_qr is supported.one of
upi_qr usagestringrequired- single_use accepts one payment then closes. multiple_use (default) accepts many payments.one of
single_usemultiple_use close_byinteger- Unix timestamp at which a single-use QR code closes automatically, 2 minutes to 2 hours from now. Example: 1893456000.
customer_idstring- ID of the customer the QR code is for. Example: cust_HKsR5se84c5LTO.
descriptionstring- Short description of the QR code. Example: Front desk collections.
fixed_amountboolean- true accepts only payment_amount; false (default) accepts any amount. Must be true for single_use.
namestring- Label to identify the QR code. Example: Store Front Display.
notesobject- Key-value pairs for your own reference, up to 15 pairs with values up to 256 characters each. Example: {"order_ref": "A-1001"}.
payment_amountinteger- The exact amount in the smallest currency unit. Required when fixed_amount is true. Example: 50000 for Rs 500.00.
razorpay_create_refundRefund all or part of a captured payment.WriteCreate Refund
Refund all or part of a captured payment. Returns the refund with id, amount, status, speed_requested and speed_processed. Use this to return money to the customer. Omit amount for a full refund. Set speed to optimum for an instant refund when available.
Inputs
payment_idstringrequired- ID of the captured payment to refund. Example: pay_29QQoUBi66xm2f.
amountinteger- Amount to refund in the smallest currency unit. Required for a partial refund. Leave empty to refund the full payment. Example: 50000 for Rs 500.00.
notesobject- Key-value pairs for your own reference, up to 15 pairs with values up to 256 characters each. Example: {"order_ref": "A-1001"}.
receiptstring- Your own unique reference for this refund. Example: Receipt No. 31.
speedstring- Refund speed. normal (default) takes 5-7 working days. optimum refunds instantly when possible and otherwise falls back to normal.one of
normaloptimum
razorpay_create_subscriptionCreate a subscription for a plan and get a link where the customer authorizes it.WriteCreate Subscription
Create a subscription for a plan and get a link where the customer authorizes it. Returns the subscription with id, status, short_url, plan_id and charge counts. Create the plan first with create_plan. Share short_url so the customer can pay the first charge.
Inputs
plan_idstringrequired- ID of the plan to subscribe to. Example: plan_00000000000001.
total_countintegerrequired- Number of billing cycles to charge. A one-year plan billed every two months has 6.
addonsarray- Upfront charges collected with the first payment. Each entry has an item with name, amount in the smallest currency unit and currency. Example: [{"item": {"name": "Setup fee", "amount": 30000, "currency": "INR"}}].
customer_notifyboolean- true (default) lets Razorpay notify the customer; false means you do.
expire_byinteger- Unix timestamp until which the customer can authorize. Example: 1893456000.
notesobject- Key-value pairs for your own reference, up to 15 pairs with values up to 256 characters each. Example: {"order_ref": "A-1001"}.
offer_idstring- ID of a Dashboard offer to apply. Example: offer_JHD834hjbxzhd38d.
quantityinteger- Number of units charged per invoice. Defaults to 1.
start_atinteger- Unix timestamp when the subscription starts. If empty, it starts right after the authorization payment. Example: 1893456000.
razorpay_create_subscription_addonAdd a one-time charge to the next invoice of a subscription.WriteCreate Subscription Add-on
Add a one-time charge to the next invoice of a subscription. Returns the add-on with id, item, quantity and subscription_id. Add-ons work only on subscriptions authorized with a card, not UPI.
Inputs
itemobjectrequired- The charge to add: name, amount in the smallest currency unit, currency and an optional description. Example: {"name": "Extra storage", "amount": 30000, "currency": "INR"}.
subscription_idstringrequired- ID of the subscription. Example: sub_00000000000001.
quantityinteger- Number of units to charge. Defaults to 1. Example: 2.
razorpay_create_transfer_from_paymentSplit a captured payment by transferring part of it to one or more linked accounts.WriteCreate Transfer From Payment
Split a captured payment by transferring part of it to one or more linked accounts. Returns the created transfers with id, recipient, amount, status and on_hold. Requires Route to be enabled. Use list_payment_transfers to see existing transfers.
Inputs
payment_idstringrequired- ID of the captured payment to split. Example: pay_E9up5H3Zd8hMSP.
transfersarrayrequired- Transfers to create. Each has account (linked account ID), amount in the smallest currency unit and currency (INR only), with optional notes, linked_account_notes, on_hold and on_hold_until. Example: [{"account": "acc_CPRsN1LkFccllA", "amount": 10000, "currency": "INR"}].
razorpay_create_virtual_accountCreate a Smart Collect customer identifier: a virtual bank account or UPI ID that receives payments.WriteCreate Virtual Account
Create a Smart Collect customer identifier: a virtual bank account or UPI ID that receives payments. Returns the virtual account with id, status and receivers (account number, IFSC, VPA address). This feature must be enabled on your account.
Inputs
receiversobjectrequired- Which receivers to create. Set types to a list of bank_account and/or vpa, with optional vpa.descriptor or bank_account.descriptor labels. Example: {"types": ["bank_account", "vpa"]}.
close_byinteger- Unix timestamp at which the virtual account closes automatically. Example: 1893456000.
customer_idstring- ID of the customer to tag this virtual account to. Example: cust_HKsR5se84c5LTO.
descriptionstring- Short description of the virtual account. Example: Collections for Gaurav Kumar.
notesobject- Key-value pairs for your own reference, up to 15 pairs with values up to 256 characters each. Example: {"order_ref": "A-1001"}.
razorpay_issue_invoiceIssue a draft invoice so it is sent to the customer and can be paid.WriteIssue Invoice
Issue a draft invoice so it is sent to the customer and can be paid. Returns the invoice with status issued. Use this on invoices created with draft set to 1.
Inputs
invoice_idstringrequired- ID of the draft invoice. Example: inv_DAweOiQ7amIUVd.
razorpay_pause_subscriptionPause an active subscription so no further charges are made.WritePause Subscription
Pause an active subscription so no further charges are made. Returns the subscription with status paused. Use resume_subscription to start charging again.
Inputs
subscription_idstringrequired- ID of the subscription. Example: sub_00000000000001.
pause_atstring- Use now to pause immediately.one of
now
razorpay_resume_subscriptionResume a paused subscription.WriteResume Subscription
Resume a paused subscription. Returns the subscription with status active. Use this only on subscriptions paused with pause_subscription.
Inputs
subscription_idstringrequired- ID of the paused subscription. Example: sub_00000000000001.
resume_atstring- Use now to resume immediately.one of
now
razorpay_reverse_transferPull money back from a linked account for a transfer, fully or in part.WriteReverse Transfer
Pull money back from a linked account for a transfer, fully or in part. Returns the reversal with id, amount and transfer_id. Omit amount to reverse the whole transfer.
Inputs
transfer_idstringrequired- ID of the transfer to reverse. Example: trf_E9uQZ1rwK8gWfu.
amountinteger- Amount to reverse in the smallest currency unit. Leave empty to reverse the full transfer amount.
notesobject- Key-value pairs for your own reference, up to 15 pairs with values up to 256 characters each. Example: {"order_ref": "A-1001"}.
razorpay_send_invoice_notificationSend or resend the invoice link to the customer by SMS or email.WriteResend Invoice Notification
Send or resend the invoice link to the customer by SMS or email. Returns a success flag. Use this to remind a customer about an issued invoice.
Inputs
invoice_idstringrequired- ID of the issued invoice. Example: inv_DAweOiQ7amIUVd.
mediumstringrequired- Channel used to resend the link. Allowed values: sms, email.one of
smsemail
razorpay_send_payment_link_notificationSend or resend a payment link to the customer by SMS or email.WriteResend Payment Link
Send or resend a payment link to the customer by SMS or email. Returns a success flag. Use this to remind a customer who has not paid yet.
Inputs
mediumstringrequired- Channel used to resend the link. Allowed values: sms, email.one of
smsemail payment_link_idstringrequired- ID of the payment link. Example: plink_FL5HCrWEO112OW.
razorpay_update_customerUpdate the name, email or phone number of an existing customer.WriteUpdate Customer
Update the name, email or phone number of an existing customer. Returns the updated customer. Use create_customer for a new customer.
- Idempotent
Inputs
customer_idstringrequired- ID of the customer. Example: cust_1Aa00000000001.
contactstring- New phone number with country code, up to 15 characters. Example: +919876543210.
emailstring- New email address, up to 64 characters. Example: gaurav.kumar@example.com.
namestring- New customer name, 3 to 50 characters. Example: Gaurav Kumar.
razorpay_update_invoiceUpdate a draft invoice before it is issued.WriteUpdate Invoice
Update a draft invoice before it is issued. Returns the updated invoice. Only draft invoices can be edited. Use create_invoice for a new invoice.
- Idempotent
Inputs
invoice_idstringrequired- ID of the invoice. Example: inv_DAweOiQ7amIUVd.
currencystring- ISO 4217 currency of the invoice. Example: INR.
customerobject- Customer details to bill, used when you do not pass customer_id. Include name, plus optional email, contact, billing_address and shipping_address (each address has line1, line2, city, zipcode, state, country). Example: {"name": "Gaurav Kumar", "email": "gaurav.kumar@example.com", "contact": "+919876543210"}.
customer_idstring- ID of an existing customer to bill instead. Example: cust_1Aa00000000001.
descriptionstring- New description shown on the invoice. Example: Monthly retainer.
email_notifyboolean- true lets Razorpay send the email notification; false means you handle it.
expire_byinteger- New expiry as a Unix timestamp. Example: 1893456000.
line_itemsarray- Lines billed on the invoice, up to 50. Each line either references an existing item with item_id, or gives a name and amount in the smallest currency unit, with optional description, currency and quantity. Example: [{"name": "Consulting", "amount": 30000, "currency": "INR", "quantity": 2}].
partial_paymentboolean- true lets the customer pay in parts; false requires full payment.
sms_notifyboolean- true lets Razorpay send the SMS notification; false means you handle it.
razorpay_update_itemUpdate the name, description, price, currency or active status of an item.WriteUpdate Item
Update the name, description, price, currency or active status of an item. Returns the updated item. Set active to false to retire an item without deleting it.
- Idempotent
Inputs
item_idstringrequired- ID of the item. Example: item_7Oxp8NPBEuBAFH.
activeboolean- Set true to activate the item or false to deactivate it.
amountinteger- New price in the smallest currency unit. Example: 79900.
currencystring- New three-letter ISO 4217 currency code. Example: INR.
descriptionstring- New item description. Example: Yearly subscription fee.
namestring- New item name. Example: Annual Plan.
razorpay_update_orderReplace the notes on an existing order.WriteUpdate Order Notes
Replace the notes on an existing order. Returns the updated order. Use this only to change notes; amount and currency cannot be changed after creation.
- Idempotent
Inputs
notesobjectrequired- New key-value notes for the order, up to 15 pairs with values up to 256 characters each. Example: {"key1": "value3"}.
order_idstringrequired- ID of the order. Example: order_DaaS6LOUAASb7Y.
razorpay_update_paymentReplace the notes on an existing payment.WriteUpdate Payment Notes
Replace the notes on an existing payment. Returns the updated payment. Use this to tag a payment with your own reference data; no other field can be changed.
- Idempotent
Inputs
notesobjectrequired- New key-value notes for the payment. Example: {"reference": "INV-42"}.
payment_idstringrequired- ID of the payment. Example: pay_KbCVlLqUbb3VhA.
razorpay_update_payment_linkUpdate the partial-payment setting, reference ID, expiry or notes of a payment link.WriteUpdate Payment Link
Update the partial-payment setting, reference ID, expiry or notes of a payment link. Returns the updated link. Only links that are not yet paid or cancelled can be changed.
- Idempotent
Inputs
payment_link_idstringrequired- ID of the payment link. Example: plink_FL5HCrWEO112OW.
accept_partialboolean- true lets customers pay in parts; false requires the full amount. Not allowed for UPI links.
expire_byinteger- New expiry as a Unix timestamp. Example: 1893456000.
notesobject- Key-value pairs for your own reference, up to 15 pairs with values up to 256 characters each. Example: {"order_ref": "A-1001"}.
reference_idstring- New unique reference for the link. Example: ORD-1002.
razorpay_update_refundReplace the notes on an existing refund.WriteUpdate Refund Notes
Replace the notes on an existing refund. Returns the updated refund. Use this only to change notes; amount and speed cannot be changed.
- Idempotent
Inputs
notesobjectrequired- New key-value notes for the refund. Example: {"reason": "damaged item"}.
refund_idstringrequired- ID of the refund. Example: rfnd_DfjjhJC6eDvUAi.
razorpay_update_subscriptionChange the plan, quantity, offer or schedule of an active subscription.WriteUpdate Subscription
Change the plan, quantity, offer or schedule of an active subscription. Returns the updated subscription. Set schedule_change_at to cycle_end to apply the change at the end of the current cycle.
- Idempotent
Inputs
subscription_idstringrequired- ID of the subscription. Example: sub_00000000000001.
customer_notifyboolean- true (default) lets Razorpay notify the customer; false means you do.
offer_idstring- ID of a Dashboard offer to link. Example: offer_JHD834hjbxzhd38d.
plan_idstring- ID of the new plan. Example: plan_00000000000002.
quantityinteger- New number of units per invoice. Example: 5.
remaining_countinteger- Overrides the number of billing cycles still to charge. Example: 5.
schedule_change_atstring- When to apply the change: now (default) or cycle_end.one of
nowcycle_end start_atinteger- New start time as a Unix timestamp. Example: 1893456000.
razorpay_update_transfer_settlement_holdPut a transfer's settlement on hold or release it.WriteUpdate Transfer Settlement Hold
Put a transfer's settlement on hold or release it. Returns the updated transfer with on_hold and on_hold_until. The linked account's settlement schedule still applies after release.
- Idempotent
Inputs
on_holdbooleanrequired- true puts the settlement on hold; false releases it.
transfer_idstringrequired- ID of the transfer. Example: trf_E9uQZ1rwK8gWfu.
on_hold_untilinteger- Unix timestamp until which the hold lasts. Leave empty to hold indefinitely. Example: 1893456000.
razorpay_update_virtual_accountChange the auto-close time, description or notes of a virtual account.WriteUpdate Virtual Account
Change the auto-close time, description or notes of a virtual account. Returns the updated virtual account. close_by must be at least 15 minutes from now.
- Idempotent
Inputs
virtual_account_idstringrequired- ID of the virtual account. Example: va_Di5gbNptcWV8fQ.
close_byinteger- New auto-close time as a Unix timestamp, at least 15 minutes from now and at most 2147483647.
descriptionstring- New description. Example: Collections for Gaurav Kumar.
notesobject- Key-value pairs for your own reference, up to 15 pairs with values up to 256 characters each. Example: {"order_ref": "A-1001"}.
razorpay_delete_invoicePermanently delete a draft invoice.DestructiveDelete Invoice
Permanently delete a draft invoice. Returns an empty object on success. Only drafts can be deleted. Use cancel_invoice for issued invoices.
- Idempotent
Inputs
invoice_idstringrequired- ID of the draft invoice to delete. Example: inv_DAweOiQ7amIUVd.
razorpay_delete_itemPermanently delete an item.DestructiveDelete Item
Permanently delete an item. Returns an empty object on success. Use update_item with active false instead if you only want to retire the item.
- Idempotent
Inputs
item_idstringrequired- ID of the item to delete. Example: item_7Oxp8NPBEuBAFH.
razorpay_delete_subscription_addonDelete a subscription add-on that has not been invoiced yet.DestructiveDelete Add-on
Delete a subscription add-on that has not been invoiced yet. Returns an empty object on success. An add-on already linked to an invoice cannot be deleted.
- Idempotent
Inputs
addon_idstringrequired- ID of the add-on to delete. Example: ao_00000000000001.
No tools match.