Skip to main content
POST
Cancel Razorpay Subscription

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environment
enum<string>
required

Payment provider environment.

Available options:
test,
live
subscriptionId
string
required

Razorpay subscription ID.

Minimum string length: 1

Body

application/json
cancelAtCycleEnd
boolean
default:false

When true, cancels at the end of the current billing cycle. Defaults to immediate cancellation.

Response

Razorpay subscription cancelled

subscription
object
required