English
Stripe
Creates a Stripe payment link or invoice to send, finds and creates customers, reads a payment, refunds.
The Stripe node creates a payment link or an invoice to send, finds and creates customers, reads a payment and refunds.
See Stripe to create the connection.
At a glance
- Type:
stripe.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: Stripe
- Inputs:
main - Outputs:
main
Connection
This node needs a Stripe connection.
Parameters
connection
Stripe connection — The Stripe 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:
paymentLink.create - Options:
paymentLink.create— Create a payment link: An amount and a label; the link goes into a reply.customer.find— Find a customer by email: Exact address match.customer.create— Create a customer: Name, email address and internal reference.invoice.create— Create an invoice (draft): One line, payable by a due date; “Send an invoice” finalizes and sends it.invoice.send— Send an invoice: Finalizes it, then sends it through Stripe with its payment page.invoice.list— List invoices: Of a customer, by status; newest first.paymentIntent.get— Get a payment: Its status and amount received.refund.create— Refund a payment: Without an amount: full refund.
amount
Amount — Accepts 1234.50 as well as 1 234,50 €. For a refund, empty = full.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 40 characters at most
- Shown when:
actionis one ofpaymentLink.create,invoice.create,refund.create - Expressions:
{{ }}accepted
currency
Currency
- Type: Text (
string) - Required: No
- Default:
eur - 3 characters at most
- Shown when:
actionis one ofpaymentLink.create,invoice.create - Expressions:
{{ }}accepted
label
Label — What the customer sees: the link’s product, or the invoice line.
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 250 characters at most
- Shown when:
actionis one ofpaymentLink.create,invoice.create - Expressions:
{{ }}accepted
email
Email address
- Type: Text (
string) - Required: No
- Default:
""(empty) - 320 characters at most
- Example:
{{ email.from.address }} - Shown when:
actionis one ofcustomer.find,customer.create - Expressions:
{{ }}accepted
name
Name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 250 characters at most
- Shown when:
actioniscustomer.create - Expressions:
{{ }}accepted
reference
Internal reference — Stored in the metadata: a trigger returns it.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
actionis one ofcustomer.create,paymentLink.create,invoice.create - Expressions:
{{ }}accepted
customerId
Customer (id) — The cus_… id returned by “Find a customer”. Optional when listing invoices.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 64 characters at most
- Shown when:
actionis one ofinvoice.create,invoice.list - Expressions:
{{ }}accepted
daysUntilDue
Payment terms (days)
- Type: Number (
number) - Required: No
- Default:
30 - Whole number, from 0 to 365
- Shown when:
actionisinvoice.create
objectId
Id — The invoice (in_…) or the payment (pi_…), as a step or a trigger returns it.
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 64 characters at most
- Shown when:
actionis one ofinvoice.send,paymentIntent.get,refund.create - Expressions:
{{ }}accepted
status
Status
- Type: One choice (
options) - Required: No
- Default:
any - Options:
any— Anydraft— Draftopen— Openpaid— Paiduncollectible— Uncollectiblevoid— Void
- Shown when:
actionisinvoice.list
limit
Maximum count
- Type: Number (
number) - Required: No
- Default:
20 - Whole number, from 1 to 500
- Shown when:
actionis one ofinvoice.list,customer.find
Outputs
main— Taken once the call to Stripe succeeds, whatever the action. An error response from Stripe 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 Stripe id of the object created, read or found first.{{ data.<step>.url }}—string. Payment link: the address to send.{{ data.<step>.hostedInvoiceUrl }}—string. Invoices: the invoice’s payment page.{{ data.<step>.status }}—string. Invoices and payments: the Stripe status.{{ data.<step>.invoices }}—array of { id, number, status, amountDue, hostedInvoiceUrl }. List invoices 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 Stripe API with the connection’s key.
- Create a payment link (
paymentLink.create, the default): a price is created on the fly with the Label, then the link. - Find a customer by email and Create a customer (
customer.find,customer.create). - Create an invoice (draft) (
invoice.create) with its line, then Send an invoice (invoice.send) which finalizes it and sends it through Stripe; List invoices (invoice.list). - Get a payment (
paymentIntent.get) and Refund a payment (refund.create, in full without an amount).
Example
The link node creates a deposit link that Compose sends ({{ data.link.url }}):
text
action paymentLink.create
amount {{ data.read.amount }}
label Deposit — {{ data.read.reference }}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. - Real idempotency. Each creation carries a key derived from the step, honoured by Stripe for 24 hours: a retry creates no duplicate.
- One page. Lists read one page (100 at most): Stripe paginates by id, which the node does not follow.
- Errors.
integration.unauthorized: the key was refused or revoked, replace it in the connection.integration.rejected: Stripe 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.