← Back to schema index

ListPlanPricesResponse

Response of `GET /v1/plans/{slug}/prices`. Lists the plan's active prices plus a mini summary of the plan in `meta.plan` to spare a round-trip to `/v1/plans/{slug}`.

Properties

FieldTypeDescription
dataarrayMain response payload. Shape varies by endpoint (object, array, or JSON:API envelope with `type`, `id`, `attributes`).
type*stringResource type, fixed for this operation. Part of the resource identity in the JSON:API envelope. Always `plan_price`.
id*stringComposite key `<currency>_<interval>_<kind>` (e.g. `MXN_month_base`).
attributes*objectStripe price tied to a plan, surfaced to clients without revealing `stripe_price_id`. A plan may carry several prices for combinations of currency × interval × kind (`base` for the flat fee + optional `metered_overage` for metered overage).
currencystringPrice currency. `MXN` is Mexican pesos and `USD`, US dollars.
billing_intervalstringBilling cadence. `month` bills monthly; `year`, yearly.
kindstringPrice kind. `base` = flat cycle fee; `metered_overage` = per-unit charge over the included amount.
unit_amountinteger | nullAmount in minor units (cents). `null` when the price is tiered server-side in Stripe (the rate is computed at billing time and cannot be pre-displayed as a single number).
tax_behaviorstringHow tax is treated in `unit_amount`. `inclusive` = already included; `exclusive` = added on top at checkout.
metaobjectResponse metadata including API version, route prefix, unique request identifier, and the server timestamp in UTC.
versionstringAPI version that processed the request.
api_versionstringAPI route prefix version (e.g. `v1`).
request_idstringUnique request identifier (hex).
datetimeobjectCompanion descriptor present in every response's meta block (and in outgoing webhook payloads). Lets clients assert the timezone contract without re-reading the spec.
timezone*stringAlways `UTC` — the canonical timezone for every datetime field in the body.
format*stringAlways `ISO 8601` — explicit `Z` suffix on every datetime.
linksobjectPagination or related links, present only when the endpoint returns a paginated collection.

Used in operations

  • GET /v1/plans/{slug}/prices