← Back to schema index

PlanPriceResource

JSON:API resource for an active plan price.

ExtendsJsonApiResourceBase

Properties

FieldTypeDescription
type*stringJSON:API resource type. Always `plan_price`.
id*stringComposite identifier `<currency>_<interval>_<kind>` (e.g. `MXN_month_base`).
attributes*objectPublic plan-price attributes: currency, interval, kind, unit amount, and tax treatment.
currency*stringPrice currency — `MXN`: Mexican pesos; `USD`: US dollars.
billing_interval*stringBilling cadence — `month`: Monthly; `year`: Yearly.
kind*stringPrice kind — `base`: Flat cycle fee; `metered_overage`: Per-unit charge above the units included in the plan.
unit_amount*integer | nullAmount in the currency's minor unit. `null` when Stripe calculates a tiered price at billing time and it cannot be shown as a single amount.
tax_behavior*stringTax treatment in `unit_amount` — `inclusive`: Already included; `exclusive`: Added to the charge.

Used in operations

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

Referenced by schemas