Skip to main content

Create Refund

Creates a refund in Stripe.

This node is also exposed as an AI Agent tool.

This node has 1 input port and 1 output port.

Common Properties

Every node shares these.

  • Name — the node's display name on the canvas.
  • Color — the node's colour on the canvas.
  • Delay Before (sec) — wait this long before the node runs.
  • Delay After (sec) — wait this long after the node runs.
  • Continue On Error — carry on instead of failing the flow. Defaults to false.
info

When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.

Inputs

PropertyFieldDescription
Client IDinClientIDClient ID from Connect node (optional if credentials provided)
MetadataoptMetadataKey-value pairs for additional data (optional)
Payment Intent IDinPaymentIntentIDThe payment intent ID to refund (pi_...)

Outputs

PropertyFieldDescription
Refund IDoutRefundIDThe created refund's ID
ResultoutResultCreated refund object

Options

PropertyFieldDescription
AmountoptAmountAmount to refund in cents (leave empty for full refund)
CredentialsoptCredentialsStripe API key
ReasonoptReasonReason for the refund One of: NONE, duplicate, fraudulent, requested_by_customer.

Requirements

  • A Client ID from this package's Connect node, unless you set credentials directly on this node.
  • Stripe API Key — Secret API key for Stripe authentication
    • value — Secret Key (password, required). Your Stripe Secret API key (starts with sk_test_ or sk_live_)

Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.

List Refunds

Elsewhere in the package: Connect · Disconnect · Create Customer · Get Customer · Update Customer · Delete Customer · List Customers · Search Customers · Create Payment Intent · Get Payment Intent and 19 more

See also