Charge customer
BetaChanges data
Charges a stored Mollie customer on the mandate they already signed.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mollie connection the step signs in with. |
| Customer idRequired | The 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" |
| AmountRequired | text |
| DescriptionRequired | text |
| Mandate id | Only when the customer has several — otherwise Mollie picks the valid one. |
| Webhook address | text |
| Your own data | object of text |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mollie`) |
customerId | 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 |
mandateId | text |
webhookUrl | text |
metadata | object of text, by default {} |
Output
| Field | Type |
|---|---|
paymentId | string |
payment | object |
status | string |
checkoutUrlCheckout address | string |
replayedMollie replayed an earlier attempt | boolean |
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
}