Create payment link
BetaChanges data
Creates a shareable Mollie payment link you can send to a customer.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mollie connection the step signs in with. |
| DescriptionRequired | What the customer sees on the payment page. At most 255 characters. |
| 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" |
| Amount | Text with two decimals, like 25.00. Leave it empty and fill in a minimum instead to let the customer choose what to pay. |
| Minimum amount | An open link the customer decides the amount on. Cannot go with a fixed amount. |
| Redirect address | text |
| Webhook address | text |
| May be paid more than once | Off, the link stops working after the first payment. |
| Expires at | text |
| Only these methods | A comma-separated list. Leave empty to offer everything the profile has. |
| Payment type | "oneoff" or "first" |
| Customer id | text |
| Order lines | text |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mollie`) |
description | 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 |
minimumAmountValue | textits `{{ }}` must give a string |
redirectUrl | text |
webhookUrl | text |
reusable | true/false, by default false |
expiresAt | text |
allowedMethods | text |
sequenceType | "oneoff" or "first", by default "oneoff" |
customerId | textused when `sequenceType` is "first" |
lines | text |
Output
| Field | Type |
|---|---|
paymentLinkId | string |
paymentLinkUrlAddress to send the customer | string |
paymentLink | object |
replayedMollie replayed an earlier attempt | boolean |
Sample output, and the expression for each field
- paymentLink{}
- paymentLinkId"pl_4Y0eZitmBnQ6IDoMqZQKh"
- paymentLinkUrl"https://payment-links.mollie.com/payment/pl_4Y0eZitmBnQ6IDoMqZQKh"
- replayedfalse
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": {
"allowedMethods": "",
"amountCurrency": "EUR",
"amountValue": "",
"connection": "<connection id>",
"customerId": "",
"description": "<description>",
"expiresAt": "",
"lines": "",
"minimumAmountValue": "",
"redirectUrl": "",
"reusable": false,
"sequenceType": "oneoff",
"webhookUrl": ""
},
"label": "Create payment link",
"type": "mollie.createPaymentLink",
"version": 1
}