Skip to main content
POST
Cancel subscription

Authorizations

Authorization
string
header
required

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

Path Parameters

subscription_id
string<MeteroidId>
required

Subscription ID

Example:

"sub_7n42DGM5Tflk9n8mt7Fhc7"

Body

application/json
effective_date
string<date> | null

If not provided, the cancellation will be effective at the end of the current billing or committed period.

reason
string | null

Response

Subscription canceled

pending_events
object[]
required

Changes still scheduled after this request, including the cancellation.

subscription
object
required
scheduled_cancellation_date
string<date> | null

Date the subscription ends at the start of: its first day without service. Empty when the cancellation applied immediately.