The Price object
Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products. Products help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme. For example, you might have a single “Pro pass" product that has prices for $10 USDC/month, $100 USDC/year, and $9 USDC once-off.
Stripe API equivalent/v1/prices/v1/prices/:id/v1/prices/:id/v1/prices/v1/prices/:id
Attributes
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Only required if a default tax behavior was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified. Once specified as either inclusive or exclusive, it cannot be changed.
inclusiveTax is included in the price.exclusiveTax is added on top of the price.unspecifiedNo explicit tax behavior is set.One of one_time or recurring depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.
one_timeA one-time purchase price.recurringA subscription (recurring) price.{
"id": "price_z_yXmLn04Bpw9Wbjx2",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1778605292,
"currency": "usdc",
"custom_unit_amount": null,
"livemode": false,
"lookup_key": null,
"metadata": {},
"nickname": "Pro Plan Price",
"product": "prod_z_oJaYlHpf6YmRzCMm",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 1000,
"unit_amount_decimal": "1000"
}