English
PayPlug
Creates a PayPlug payment and returns its payment page to email, follows the settlement, refunds.
The PayPlug node creates a payment and publishes its secure payment page address, to send by email; it then tells whether the payment was settled, and can refund.
See PayPlug to create the connection.
At a glance
- Type:
payplug.api· version 1 - Category: Data
- Kind: Step — one stage of a run
- Effect: Writes outside (
external_write) — writes outside Loop & Roll; described instead of performed during a test run - Needs a carrier email: No
- Connection: PayPlug
- Inputs:
main - Outputs:
main
Connection
This node needs a PayPlug connection.
Parameters
connection
PayPlug connection — The PayPlug connection to use. Create it once in Connections; its key never appears in the workflow.
- Type: Connection (
credential) - Required: Yes
- Default:
""(empty)
action
Action
- Type: One choice (
options) - Required: Yes
- Default:
payment.create - Options:
payment.create— Create a payment: Returns the payment page address, to send to the customer.payment.get— Get a payment: Know whether it was paid, and when.payment.list— List payments: One page of payments, paid only if needed.refund.create— Refund a payment: Without an amount: full refund.
amount
Amount (€) — Accepts 1234.50 as well as 1 234,50 €. Between €0.30 and €20,000 for a payment.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 40 characters at most
- Shown when:
actionis one ofpayment.create,refund.create - Expressions:
{{ }}accepted
email
Customer email address
- Type: Text (
string) - Required: No
- Default:
""(empty) - 320 characters at most
- Example:
{{ email.from.address }} - Shown when:
actionispayment.create - Expressions:
{{ }}accepted
firstName
First name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 100 characters at most
- Shown when:
actionispayment.create - Expressions:
{{ }}accepted
lastName
Last name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 100 characters at most
- Shown when:
actionispayment.create - Expressions:
{{ }}accepted
description
Description
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
actionispayment.create - Expressions:
{{ }}accepted
returnUrl
Return page — Optional: where the customer lands after paying.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 2000 characters at most
- Shown when:
actionispayment.create - Expressions:
{{ }}accepted
reference
Internal reference — Stored in the payment metadata, to find the case again.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
actionispayment.create - Expressions:
{{ }}accepted
paymentId
Payment id
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 64 characters at most
- Example:
{{ data.payment.id }} - Shown when:
actionis one ofpayment.get,refund.create - Expressions:
{{ }}accepted
paidOnly
Paid only
- Type: Yes / no (
boolean) - Required: No
- Default:
false - Shown when:
actionispayment.list
limit
Maximum count
- Type: Number (
number) - Required: No
- Default:
20 - Whole number, from 1 to 100
- Shown when:
actionispayment.list
Outputs
main— Taken once the call to PayPlug succeeds, whatever the action. An error response from PayPlug fails the step instead.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.<step>.id }}—string. The PayPlug payment id.{{ data.<step>.paymentUrl }}—string. Create a payment: the payment page to send.{{ data.<step>.paid }}—boolean. true when the payment is settled.{{ data.<step>.amount }}—string. The amount in euros, with two decimals.{{ data.<step>.payments }}—array of { id, paid, amount, paymentUrl, paidAt }. List payments only.{{ data.<step>.simulated }}—boolean. true when the action was described instead of done: in a test run, creations and changes are not sent; reads always go out for real.{{ data.<step>.summary }}—string. The one-line summary in the member’s language (withsummaryKeyandsummaryParams).
Operations
The node has a single Action parameter (action). Each action calls the PayPlug API with the connection’s key.
- Create a payment (
payment.create, the default): amount in euros (converted to cents), customer email and name, optional return page. - Get a payment (
payment.get) and List payments (payment.list, paid only if needed). - Refund a payment (
refund.create): without an amount, in full.
Example
A customer asks to pay online: the payment node creates the payment, Compose sends {{ data.payment.paymentUrl }}.
text
action payment.create
amount {{ data.read.amount }}
email {{ email.from.address }}Tips
- Test runs. Reads go out for real in a test run; creations and changes are only described (
simulatedis true). - Amounts and dates. Amounts accept
1234.50as well as1 234,50 €; dates2026-11-15as well as15/11/2026. An unreadable value is never guessed. - No idempotency in PayPlug. If the engine retries the step after a successful creation, a second (unpaid) payment is created.
- No trigger. PayPlug only notifies through an unsigned callback; to follow a settlement, read the payment at regular intervals.
- Errors.
integration.unauthorized: the key was refused or revoked, replace it in the connection.integration.rejected: PayPlug refused the request (missing field, invalid value), fix the settings.integration.rate_limitedandintegration.unavailableare retried automatically. An empty required parameter or an unreadable amount fails the step withnode_invalid_param, before any call. See Error handling.