FlowmageDocs

Cancel payment

BetaChanges data

Cancels a Mollie payment the customer has not paid yet.

Settings

SettingWhat it is
ConnectionRequiredThe Mollie connection the step signs in with.
Payment idRequiredOnly a payment Mollie still calls cancelable can be cancelled; a paid or expired one cannot.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mollie`)
paymentIdtext

Output

FieldType
paymentIdstring
paymentobject
statusstring
alreadyCanceledIt was already cancelledboolean
Sample output, and the expression for each field
  • alreadyCanceledfalse
  • payment{}
  • paymentId"tr_7UhSN1zuXS"
  • status"canceled"

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>",
    "paymentId": "<payment id>"
  },
  "label": "Cancel payment",
  "type": "mollie.cancelPayment",
  "version": 1
}