Subscription Group Status

Cancel Grouped Subscriptions

POST
/subscription_groups/{uid}/cancel.json

Cancels all subscriptions within the specified group immediately. The group is identified by the uid that is passed in the URL. To successfully cancel the group, the primary subscription must be on automatic billing. The group members must be on automatic billing or prepaid.

To cancel a subscription group while also charging for any unbilled usage on metered or prepaid components, the charge_unbilled_usage=true parameter must be included in the request.

Authorization

BasicAuth
AuthorizationBasic <token>

The username is a Maxio Chargify API key. The password is x.

In: header

Path Parameters

uid*string

The uid of the subscription group

Request Body

application/json

charge_unbilled_usage?boolean

Response Body

application/json

curl -X POST "https://example.com/subscription_groups/string/cancel.json" \  -H "Content-Type: application/json" \  -d '{    "charge_unbilled_usage": true  }'
Empty