FlowmageDocs

Charge customer

BetaChanges data

Charges a stored Mollie customer on the mandate they already signed.

Settings

SettingWhat it is
ConnectionRequiredThe Mollie connection the step signs in with.
Customer idRequiredThe cst_… id. The customer needs a valid mandate — a first payment with type first, or a Create mandate node, gets them one.
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"
AmountRequiredtext
DescriptionRequiredtext
Mandate idOnly when the customer has several — otherwise Mollie picks the valid one.
Webhook addresstext
Your own dataobject of text
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mollie`)
customerIdtext
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
mandateIdtext
webhookUrltext
metadataobject of text, by default {}

Output

FieldType
paymentIdstring
paymentobject
statusstring
checkoutUrlCheckout addressstring
replayedMollie replayed an earlier attemptboolean
Sample output, and the expression for each field
  • checkoutUrl""
  • payment{}
  • paymentId"tr_7UhSN1zuXS"
  • replayedfalse
  • status"pending"

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>",
    "customerId": "<customer id>",
    "description": "<description>",
    "mandateId": "",
    "metadata": {},
    "webhookUrl": ""
  },
  "label": "Charge customer",
  "type": "mollie.createCustomerPayment",
  "version": 1
}