Skip to main content
Use this endpoint to retrieve all payment plans attached to a given service. The response is an array of plan objects ordered by 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 HTTP 200 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

Replace clz1abc2def3ghi4 with your actual service ID:
Example response:
Example 404 response:
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.