List all Custom Pricing Unit objects.
Learn more about calling API v2 endpoints.Parameters
- activeboolean
Filter for active/inactive custom pricing units. Mutually exclusive with
lookup_
.keys - limitinteger
Optionally set the maximum number of results per page. Defaults to 20.
- lookup_
keysarray of strings Filter by lookup keys. Mutually exclusive with
active
. You can specify up to 10 lookup keys. - pagestring
A cursor for use in pagination.
Returns
Response attributes
- dataarray of objects
List of Custom Pricing Units.
- next_
page_ urlnullable string The URL to get the next page of results, if there are any.
- previous_
page_ urlnullable string The URL to get the previous page of results, if there are any.
{ "data": [ { "active": true, "created": "2025-01-01T00:00:00.000Z", "display_name": "Unit #1", "id": "cpu_61T4sQA90ELFdWUhl16Ss95I3tSQSib3S1PC0IDCSFCS", "lookup_key": "my-custom-pricing-unit-1", "metadata": {}, "object": "v2.billing.custom_pricing_unit", "livemode": true } ], "next_page_url": null, "previous_page_url": null}
A Licensed Item represents any item that you bill customers for based on the subscribed quantity.
A Service Action represents a recurring, automated action that can be applied as part of a subscription.
Rate Cards v2
A Rate Card describes usage-based pricing. To bill a customer using a Rate Card, create a Rate Card Subscription which links it to the corresponding Billing Cadence.
- POST/
A Rate Card Subscription links a Rate Card to a specific Billing Cadence. While the rate card subscription is active, Stripe will bill the payer according to the rate card’s pricing.