Get Price

stripe.get_price
ActionBusiness appsconnection required

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

Retrieve one Stripe price by its id.

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

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

FieldTypeRequiredDefaultConstraintsExample
price_id
The price to retrieve (price_...). Supports {{ }} expressions.
stringYes——price_1MoBy5LkdIwHu7ixZhnattbh

Example configuration

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

{
  "price_id": "price_1MoBy5LkdIwHu7ixZhnattbh"
}

Output

One shape.

result

FieldTypeExample
id
The price id (price_...).
string—
product
The product this price belongs to (prod_...).
string—
active
True when the price can be used for new purchases.
boolean—
currency
Three-letter lowercase ISO currency code.
string—
unit_amount
Amount per unit, in the currency's minor unit.
number—
nickname
The internal name of the price, or null.
string—
type
one_time or recurring.
string—
recurring_interval
day, week, month or year for a recurring price.
string—
recurring_interval_count
How many intervals between billings.
number—
lookup_key
The lookup key used to fetch this price, or null.
string—
created
Creation time, as a Unix timestamp in seconds.
number—
metadata
The key/value pairs stored on the price.
object—
{
  "active": false,
  "created": 0,
  "currency": "",
  "id": "",
  "lookup_key": "",
  "metadata": {},
  "nickname": "",
  "product": "",
  "recurring_interval": "",
  "recurring_interval_count": 0,
  "type": "",
  "unit_amount": 0
}

See Get Price 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.