List Payment Intents

stripe.list_payment_intents
ActionBusiness appsconnection required

Calls the Stripe API with the connection's secret key.

List Stripe PaymentIntents, newest first, optionally for one customer.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Stripe
Secret shape
the Stripe secret key (sk_...)
Resolved by
config.connection_id, else node.connection_id

Configuration

6 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
customer
Return only intents belonging to this customer (cus_...).
stringNo———
limit
How many objects to return, 1-100. Stripe defaults to 10.
numberNo101–100—
starting_after
Cursor: return the page after this object id, for walking forward.
stringNo———
ending_before
Cursor: return the page before this object id, for walking backward.
stringNo———
created_after
Only objects created at or after this Unix timestamp, in seconds.
numberNo—≥ 0—
created_before
Only objects created at or before this Unix timestamp, in seconds.
numberNo—≥ 0—

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "limit": 10
}

Output

One shape.

result

FieldTypeExample
payment_intents[].id
The PaymentIntent id (pi_...).
string—
payment_intents[].status
One of requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled or succeeded.
string—
payment_intents[].amount
Amount to collect, in the currency's minor unit.
number—
payment_intents[].amount_received
Amount collected so far, in the minor unit.
number—
payment_intents[].amount_capturable
Authorised amount still to capture, in the minor unit.
number—
payment_intents[].currency
Three-letter lowercase ISO currency code.
string—
payment_intents[].customer
The customer this intent belongs to, or null.
string—
payment_intents[].description
The description stored on the intent.
string—
payment_intents[].payment_method
The attached payment method id, or null.
string—
payment_intents[].latest_charge
The charge this intent last produced, or null.
string—
payment_intents[].capture_method
When the funds are captured for this intent.
string—
payment_intents[].cancellation_reason
Why the intent was cancelled, when it was.
string—
payment_intents[].receipt_email
Where Stripe sends the receipt, or null.
string—
payment_intents[].created
Creation time, as a Unix timestamp in seconds.
number—
payment_intents[].metadata
The key/value pairs stored on the intent.
object—
count
How many objects this page returned.
number—
has_more
True when Stripe has a further page to fetch.
boolean—
{
  "count": 0,
  "has_more": false,
  "payment_intents": [
    {
      "amount": 0,
      "amount_capturable": 0,
      "amount_received": 0,
      "cancellation_reason": "",
      "capture_method": "",
      "created": 0,
      "currency": "",
      "customer": "",
      "description": "",
      "id": "",
      "latest_charge": "",
      "metadata": {},
      "payment_method": "",
      "receipt_email": "",
      "status": ""
    }
  ]
}

See List Payment Intents run in a workflow.

In a technical demo we add the Stripe connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.