Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mollie connection the step signs in with. |
| 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 | The exact amount as Mollie wants it: text with two decimals, like 10.00. A number is refused. |
| DescriptionRequired | What your customer sees on their bank statement. At most 255 characters. |
| Redirect address | Where Mollie sends the customer once they are done paying. |
| Cancel address | text |
| Webhook address | Mollie posts the payment id here on every status change. |
| Payment method | Leave empty to let the customer choose. Several methods go in as a comma-separated list. |
| Checkout language | "" or "en_US" or "en_GB" or "nl_NL" or "nl_BE" or "fr_FR" or "fr_BE" or "de_DE" or "de_AT" or "de_CH" or "es_ES" or "ca_ES" or "pt_PT" or "it_IT" or "nb_NO" or "sv_SE" or "fi_FI" or "da_DK" or "is_IS" or "hu_HU" or "pl_PL" or "lv_LV" or "lt_LT" |
| Payment type | "oneoff" or "first" or "recurring" |
| Customer id | The cst_… id a Create customer node made. |
| Mandate id | text |
| Capture | "automatic" or "manual" |
| Capture after | Mollie's own words, up to seven days: 8 hours, 2 days. |
| Due date | text |
| Only methods for country | A two-letter country code, like NL. |
| Billing address | object of text |
| Shipping address | object of text |
| Order lines | Required for Klarna, Billie, Billink, in3, Riverty and vouchers. totalAmount must equal unitPrice x quantity minus discountAmount. |
| Your own data | Mollie stores about 1 kB and hands it back on every read and webhook. |
| Ask for a QR code | true/false |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mollie`) |
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 |
redirectUrl | text |
cancelUrl | text |
webhookUrl | text |
method | text |
locale | "" or "en_US" or "en_GB" or "nl_NL" or "nl_BE" or "fr_FR" or "fr_BE" or "de_DE" or "de_AT" or "de_CH" or "es_ES" or "ca_ES" or "pt_PT" or "it_IT" or "nb_NO" or "sv_SE" or "fi_FI" or "da_DK" or "is_IS" or "hu_HU" or "pl_PL" or "lv_LV" or "lt_LT" |
sequenceType | "oneoff" or "first" or "recurring", by default "oneoff" |
customerId | textused when `sequenceType` is not "oneoff" |
mandateId | textused when `sequenceType` is not "oneoff" |
captureMode | "automatic" or "manual", by default "automatic" |
captureDelay | textused when `captureMode` is "automatic" |
dueDate | text |
restrictToCountry | text |
billingAddress | object of text, by default {} |
shippingAddress | object of text, by default {} |
lines | text |
metadata | object of text, by default {} |
includeQrCode | true/false, by default false |
Output
| Field | Type |
|---|---|
paymentId | string |
payment | object |
checkoutUrlCheckout address | string |
status | string |
replayedMollie replayed an earlier attempt | boolean |
Sample output, and the expression for each field
- checkoutUrl"https://www.mollie.com/checkout/select-method/7UhSN1"
- payment{}
- paymentId"tr_7UhSN1zuXS"
- replayedfalse
- status"open"
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>",
"billingAddress": {},
"cancelUrl": "",
"captureDelay": "",
"captureMode": "automatic",
"connection": "<connection id>",
"customerId": "",
"description": "<description>",
"dueDate": "",
"includeQrCode": false,
"lines": "",
"locale": "",
"mandateId": "",
"metadata": {},
"method": "",
"redirectUrl": "",
"restrictToCountry": "",
"sequenceType": "oneoff",
"shippingAddress": {},
"webhookUrl": ""
},
"label": "Create payment",
"type": "mollie.createPayment",
"version": 1
}