Subscriptions
Cancel a subscription
Cancel an active or authenticated subscription. Use cancel_at_cycle_end=1 to continue service until the end of the current cycle before cancelling.
post/subscriptions/{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
Subscription ID (sub_*).
Request body
Response
Subscription cancelled.
Changes
No recorded changes to this operation across all 1 revision of this API.