Cancel subscription
BetaChanges data
Stops a running Mollie subscription so it charges nothing further.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mollie connection the step signs in with. |
| Customer idRequired | text |
| Subscription idRequired | A subscription Mollie already stopped counts as done: the run continues and says so instead of failing. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mollie`) |
customerId | text |
subscriptionId | text |
Output
| Field | Type |
|---|---|
subscriptionId | string |
subscription | object |
status | string |
alreadyCanceledIt was already stopped | boolean |
Sample output, and the expression for each field
- alreadyCanceledfalse
- status"canceled"
- subscription{}
- subscriptionId"sub_rVKGtNd6s3"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"customerId": "<customer id>",
"subscriptionId": "<subscription id>"
},
"label": "Cancel subscription",
"type": "mollie.cancelSubscription",
"version": 1
}