List API v1 stripe prices by ID

Changed on
get/api/v1/stripe_prices/{id}

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

idstring required

ID of the product

Example:prod_123

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

activeboolean required
createdinteger required
currencystring required
idstring required
intervalstring required
interval_countinteger required
product_idstring required
unit_amountinteger required

Example response

[
  {
    "$schema": "https://example.com/schemas/StripePriceResponse.json",
    "active": true,
    "created": 1700000000,
    "currency": "usd",
    "id": "price_12345",
    "interval": "month",
    "interval_count": 1,
    "product_id": "prod_12345",
    "unit_amount": 2000
  }
]

Changes