<- Subscriptions API

Subscriptions API

Cancel subscription

POST

 /v2/subscriptions/{subscription_id}/cancel

Schedules a CANCEL action to cancel an active subscription by setting the canceled_date field to the end of the active billing period and changing the subscription status from ACTIVE to CANCELED after this date.

Permissions:SUBSCRIPTIONS_WRITE
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

subscription_id

string

Required

The ID of the subscription to cancel.

Link to section

Response fields

Link to section

errors

Errors encountered during the request.

Show attributes
Link to section

subscription

The specified subscription scheduled for cancellation according to the action created by the request.

Show attributes
Link to section

actions

Beta

A list of a single CANCEL action scheduled for the subscription.

Show attributes