Stripe

List all Stripe prices

get/v3/subscriptions/stripe/prices/all

Request

  • Base URL: https://api.zephyr-cloud.io
  • URL: https://api.zephyr-cloud.io/v3/subscriptions/stripe/prices/all
  • Auth: HTTP bearer

Response

Stripe prices

idstring required

Price ID

activeboolean required

Whether price is currently active

currencystring required

Three-letter ISO currency code

unit_amountnumber nullable

Unit amount in cents (null for tiered pricing)

metadataobject required

Set of key-value pairs for price metadata

productstring nullable

Product ID this price belongs to

Example response

[
  {
    "id": "price_1234567890",
    "active": true,
    "currency": "usd",
    "unit_amount": 2000,
    "recurring": {
      "interval": "month",
      "interval_count": 1,
      "usage_type": "metered",
      "meter": "mtr_1234567890"
    },
    "tiers": [
      {
        "unit_amount": 10,
        "unit_amount_decimal": "0.1",
        "up_to": 10000
      }
    ],
    "metadata": {
      "tier": "PRO",
      "cycle": "MONTHLY",
      "metric": "DEPLOYMENTS",
      "version": "1"
    },
    "product": "prod_1234567890"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.