Invoices
Cancel an invoice
Cancel a draft or issued invoice. Cancelled invoices cannot be paid and cannot be reinstated.
post/invoices/{id}/cancel
Request
- Base URLhttps://api.razorpay.com/v1
- Auth
- HTTP basic
- or OAuth 2Authorization codehttps://mcp.razorpay.com/authorizeClient credentialsToken URLhttps://mcp.razorpay.com/tokenScopesread_only
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Invoice ID (inv_*).
Response
Invoice cancelled.
Changes
No recorded changes to this operation across all 1 revision of this API.