Payment Links
Cancel a payment link
Cancel a payment link. Only links in 'created' status can be cancelled. Paid, partially paid, and already expired links cannot be cancelled.
post/payment_links/{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
Payment Link ID (plink_*).
Response
Payment link cancelled. Status changes to 'cancelled'.
Changes
No recorded changes to this operation across all 1 revision of this API.