Cancel Subscription
Changed onSchedule or complete cancellation and optionally cancel related invoices.
Behavior depends on subscription status:
- ACTIVE: Cancellation is scheduled for the end of the current billing period (the subscription stays active until then; it is not moved to CANCELED immediately).
- INACTIVE, TRIALING, TRIAL_PENDING: The subscription is canceled immediately (status becomes CANCELED).
Use cancel_related_invoices to also cancel ongoing invoices tied to this subscription.
Request
- Base URLhttps://stream-app-service.streampay.sa
- Auth
- HTTP bearer
- or API key in header x-api-key
Path parameters
Unique identifier (UUID) of the subscription to cancel
Request body
Response
Successful Response
Changes
- warning
removed the optional property
///from the response with the status - warning
removed the optional property
/from the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
the response optional property
//became read-only for the status
- warning
- info
added the optional property
/to the response with the status
- info