HTTP Request
POST https://api.vindicia.com/subscriptions/:subscription/actions/cancel
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
POST https://api.vindicia.com/subscriptions/:subscription/actions/cancel
| Parameter | Default | Description | Required |
|---|---|---|---|
| subscription | n/a | The id or the vid of the Subscription to cancel | Yes |
| Parameter | Default | Description | Required |
|---|---|---|---|
| disentitle | false | Indicates whether or not to dis-entitle immediately or leave service in effect until the end of the current billing period. | No |
| force | false | Indicates whether to ignore unsatisfied minimum commitments | No |
| settle | false | Indicates whether to issue a prorated refund for any pre-paid unconsumed services and to rate unbilled usage. | No |
| send_cancellation_notice | true | Indicates whether to send a special cancellation notice to the customer | No |
| reason_code | n/a | The predefined Cancel Reason code for cancelling this subscription. | No |
| dryrun | false | If true, works as quote, computations are performed, but no result from this operation is recorded in Vindicia’s database. If it did not exist before, it won’t exist afterwards; if it did exist before, it won’t change. This is useful for computing the cost of a Subscription without committing to the change. | No |
| cancel_policy | WAIVE_CANCEL_FEE | Policy for handling the cancel fee. Can be WAIVE_CANCEL_FEE, PRORATE_CANCEL_FEE, FULL_CANCEL_FEE |
curl -X POST \
-u acaff38d462f9430d5cbcbaf:a575771fc679b9de \
"https://api.staging.us-west.vindicia.com/subscriptions/sub_1234x/actions/cancel?reason_code=101&settle=false&disentitle=false"
