FlowmageDocs

Capture payment

BetaChanges data

Collects money on a Mollie payment that was only authorised.

Settings

SettingWhat it is
ConnectionRequiredThe Mollie connection the step signs in with.
Payment idRequiredA payment created with Capture set to manual, which is now ready to collect.
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"
AmountLeave empty to collect the whole authorised amount.
Descriptiontext
Your own dataobject of text
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mollie`)
paymentIdtext
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
metadataobject of text, by default {}

Output

FieldType
captureIdstring
captureobject
statusstring
replayedMollie replayed an earlier attemptboolean
Sample output, and the expression for each field
  • capture{}
  • captureId"cpt_4qqhO89gsT"
  • 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": "",
    "connection": "<connection id>",
    "description": "",
    "metadata": {},
    "paymentId": "<payment id>"
  },
  "label": "Capture payment",
  "type": "mollie.createCapture",
  "version": 1
}