createdAt descending, so the most recently created plan appears first. Use the plan IDs returned here when you create checkout sessions or need to audit your pricing configuration.
Path Parameters
string
required
The unique identifier of the service whose plans you want to list. You can find this ID in the list services or get service response. Passing an ID that does not exist returns a
404.Response
A successful request returns HTTP200 OK with a plans array. If the service exists but has no plans, the array is empty.
array
An array of payment plan objects for the specified service, ordered by
createdAt descending.Error Responses
Example
Replaceclz1abc2def3ghi4 with your actual service ID:
To add a new plan to a service, use the Create Plan endpoint. To inspect a service and all its plans in one call, use Get Service.