List Prices

stripe.list_prices
ActionBusiness appsconnection required

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

List Stripe prices, newest first, with optional filters.

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

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

FieldTypeRequiredDefaultConstraintsExample
product
Return only prices of this product (prod_...).
stringNo———
type
Return only one-time or only recurring prices.
stringNo—one of "one_time", "recurring"—
currency
Return only prices in this three-letter currency code.
stringNo—3–3 characters—
active
Return only active prices, or only inactive ones.
booleanNo———
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
prices[].id
The price id (price_...).
string—
prices[].product
The product this price belongs to (prod_...).
string—
prices[].active
True when the price can be used for new purchases.
boolean—
prices[].currency
Three-letter lowercase ISO currency code.
string—
prices[].unit_amount
Amount per unit, in the currency's minor unit.
number—
prices[].nickname
The internal name of the price, or null.
string—
prices[].type
one_time or recurring.
string—
prices[].recurring_interval
day, week, month or year for a recurring price.
string—
prices[].recurring_interval_count
How many intervals between billings.
number—
prices[].lookup_key
The lookup key used to fetch this price, or null.
string—
prices[].created
Creation time, as a Unix timestamp in seconds.
number—
prices[].metadata
The key/value pairs stored on the price.
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,
  "prices": [
    {
      "active": false,
      "created": 0,
      "currency": "",
      "id": "",
      "lookup_key": "",
      "metadata": {},
      "nickname": "",
      "product": "",
      "recurring_interval": "",
      "recurring_interval_count": 0,
      "type": "",
      "unit_amount": 0
    }
  ]
}

See List Prices 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.