Cancel Pending Change
Cancel a pending plan change scheduled for period_end.
If a subscription has a pending plan change (scheduled via
`effective_at: "period_end"`), this endpoint cancels it.
Returns the details of the cancelled pending change, or status "not_found"
if no pending change exists.
Works for both User and API Key authentication.
Account access is automatically validated via endpoint dependency.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
subscription_id
account_id
Response
Successful Response
status
‘cancelled’ if pending change was removed, ‘not_found’ if none existed
subscription_id
ID of the subscription
previous_pending_change
The cancelled pending change details (if any)
Errors
422
Unprocessable Entity Error