List all PricingPlanComponent objects for a PricingPlan.
Learn more about calling API v2 endpoints.Parameters
- pricing_
plan_ idstringRequired The ID of the PricingPlan to list components for.
- limitinteger
Optionally set the maximum number of results per page. Defaults to 20.
- lookup_
keysarray of strings Filter by lookup keys. Mutually exclusive with
pricing_
. You can specify up to 10 lookup keys.plan_ version - pagestring
A cursor for use in pagination.
- pricing_
plan_ versionstring The ID of the PricingPlanVersion to list components for. Will use the latest version if not provided. Mutually exclusive with
lookup_
.keys
Returns
Response attributes
- dataarray of objects
List of PricingPlanComponents.
- 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.
Returned when the provided pricing_plan ID cannot be found.
Returned when the provided pricing_plan_version ID cannot be found.
{ "data": [ { "created": "2025-01-01T00:00:00.000Z", "id": "bppc_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy", "lookup_key": "monthly-fee-component", "metadata": { "key": "value" }, "object": "v2.billing.pricing_plan_component", "pricing_plan": "bpp_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy", "pricing_plan_version": "bppv_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy", "type": "license_fee", "livemode": true, "license_fee": { "id": "licf_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy", "version": "licfv_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy" } } ], "next_page_url": null, "previous_page_url": null}
List all PricingPlan objects.
Learn more about calling API v2 endpoints.Parameters
- activeboolean
Filter for active/inactive PricingPlans. 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 PricingPlans.
- 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", "currency": "usd", "display_name": "Pro Pricing Plan", "id": "bpp_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy", "latest_version": "bppv_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy", "live_version": "bppv_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy", "lookup_key": "pro-pricing-plan", "metadata": { "key": "value" }, "object": "v2.billing.pricing_plan", "tax_behavior": "exclusive", "livemode": true } ], "next_page_url": null, "previous_page_url": null}
List all versions of a PricingPlan.
Learn more about calling API v2 endpoints.Parameters
- pricing_
plan_ idstringRequired The ID of the PricingPlan to list versions for.
- limitinteger
Optionally set the maximum number of results per page. Defaults to 20.
- pagestring
A cursor for use in pagination.
Returns
Response attributes
- dataarray of objects
List of PricingPlanVersions.
- 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.
Returned when the provided pricing_plan ID cannot be found.
{ "data": [ { "created": "2025-01-01T00:00:00.000Z", "end_date": "2025-12-31T23:59:59.000Z", "id": "bppv_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy", "object": "v2.billing.pricing_plan_version", "pricing_plan": "bpp_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy", "start_date": "2025-01-01T00:00:00.000Z", "livemode": true } ], "next_page_url": null, "previous_page_url": null}
Remove a PricingPlanComponent from the latest version of a PricingPlan.
Learn more about calling API v2 endpoints.Parameters
- idstringRequired
The ID of the PricingPlanComponent to remove.
- pricing_
plan_ idstringRequired The ID of the PricingPlan.
Returns
Response attributes
- idstring
The ID of the PricingPlanComponent that was removed.
- objectstring
String representing the object’s type. Objects of the same type share the same value.
Returned when trying to remove a pricing plan component that is not available in the latest pricing plan version.
Returned when trying to create or modify a subscription for an inactive pricing plan.
Returned when the provided pricing_plan_component ID cannot be found.
Returned when the provided pricing_plan ID cannot be found.
{ "id": "bppc_61SbQ4ZVMJ2ESqq2416S40x4RVA8P2F2ShZStd6x6RCy", "object": "v2.billing.pricing_plan_component"}
A PricingPlanSubscription links a PricingPlan to a specific billing Cadence. While the PricingPlanSubscription is active, Stripe will bill the Payer according to the PricingPlan’s components.
- POST/