Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mollie connection the step signs in with. |
| Payment idRequired | The tr_… id of the payment to give money back on. |
| Currency | "EUR" or "GBP" or "CHF" or "DKK" or "NOK" or "PLN" or "SEK" or "USD" or "CZK" or "HUF" or "AUD" or "CAD" or "RON" |
| AmountRequired | Text with two decimals, like 10.00. Less than the payment refunds a part of it. |
| Description | Mollie may show this to your customer. At most 255 characters. |
| Acquirer reference | Your own reference at the card acquirer, for reconciliation. |
| Your own data | object of text |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mollie`) |
paymentId | text |
amountCurrency | "EUR" or "GBP" or "CHF" or "DKK" or "NOK" or "PLN" or "SEK" or "USD" or "CZK" or "HUF" or "AUD" or "CAD" or "RON", by default "EUR" |
amountValue | textits `{{ }}` must give a string |
description | text |
externalReferenceId | text |
metadata | object of text, by default {} |
Output
| Field | Type |
|---|---|
refundId | string |
refund | object |
status | string |
replayedMollie replayed an earlier attempt | boolean |
Sample output, and the expression for each field
- refund{}
- refundId"re_4qqhO89gsT"
- replayedfalse
- status"queued"
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": {
"amountCurrency": "EUR",
"amountValue": "<amount>",
"connection": "<connection id>",
"description": "",
"externalReferenceId": "",
"metadata": {},
"paymentId": "<payment id>"
},
"label": "Create refund",
"type": "mollie.createRefund",
"version": 1
}