FlowmageDocs

Create payment

BetaChanges data

Creates a Mollie payment and hands back the checkout link.

Settings

SettingWhat it is
ConnectionRequiredThe 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"
AmountRequiredThe exact amount as Mollie wants it: text with two decimals, like 10.00. A number is refused.
DescriptionRequiredWhat your customer sees on their bank statement. At most 255 characters.
Redirect addressWhere Mollie sends the customer once they are done paying.
Cancel addresstext
Webhook addressMollie posts the payment id here on every status change.
Payment methodLeave 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 idThe cst_… id a Create customer node made.
Mandate idtext
Capture"automatic" or "manual"
Capture afterMollie's own words, up to seven days: 8 hours, 2 days.
Due datetext
Only methods for countryA two-letter country code, like NL.
Billing addressobject of text
Shipping addressobject of text
Order linesRequired for Klarna, Billie, Billink, in3, Riverty and vouchers. totalAmount must equal unitPrice x quantity minus discountAmount.
Your own dataMollie stores about 1 kB and hands it back on every read and webhook.
Ask for a QR codetrue/false
Technical details
KeyValue
connectiontexta 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"
amountValuetextits `{{ }}` must give a string
descriptiontext
redirectUrltext
cancelUrltext
webhookUrltext
methodtext
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"
customerIdtextused when `sequenceType` is not "oneoff"
mandateIdtextused when `sequenceType` is not "oneoff"
captureMode"automatic" or "manual", by default "automatic"
captureDelaytextused when `captureMode` is "automatic"
dueDatetext
restrictToCountrytext
billingAddressobject of text, by default {}
shippingAddressobject of text, by default {}
linestext
metadataobject of text, by default {}
includeQrCodetrue/false, by default false

Output

FieldType
paymentIdstring
paymentobject
checkoutUrlCheckout addressstring
statusstring
replayedMollie replayed an earlier attemptboolean
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
}