List Products
stripe.list_products
ActionBusiness appsconnection required
Calls the Stripe API with the connection's secret key.
List products in the Stripe catalog, newest first.
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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
active Return only active products, or only inactive ones. | boolean | No | — | — | — |
limit How many objects to return, 1-100. Stripe defaults to 10. | number | No | 10 | 1–100 | — |
starting_after Cursor: return the page after this object id, for walking forward. | string | No | — | — | — |
ending_before Cursor: return the page before this object id, for walking backward. | string | No | — | — | — |
created_after Only objects created at or after this Unix timestamp, in seconds. | number | No | — | ≥ 0 | — |
created_before Only objects created at or before this Unix timestamp, in seconds. | number | No | — | ≥ 0 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"limit": 10
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
products[].id The product id (prod_...). | string | — |
products[].name The product name shown to customers. | string | — |
products[].description The product description, or null. | string | — |
products[].active True when the product can be used for new purchases. | boolean | — |
products[].default_price The product's default price id, or null. | string | — |
products[].url A public page for the product, or null. | string | — |
products[].created Creation time, as a Unix timestamp in seconds. | number | — |
products[].metadata The key/value pairs stored on the product. | 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,
"products": [
{
"active": false,
"created": 0,
"default_price": "",
"description": "",
"id": "",
"metadata": {},
"name": "",
"url": ""
}
]
}See List Products 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.