List all customer's subscriptions
This endpoint retrieves all active subscriptions for a customer.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The customer external unique identifier (provided by your own application)
"5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba"
Query Parameters
Page number.
1
Number of records per page.
20
The unique code representing the plan to be attached to the customer. This code must correspond to the code property of one of the active plans.
"premium"
If the field is not defined, Lago will return only active subscriptions. However, if you wish to fetch subscriptions by different status you can define them in a status[] query param. Available filter values: pending, canceled, terminated, active.
pending, canceled, terminated, active ["active", "pending"]Filter subscriptions by billing entity codes.
[
"billing_entity_code_1",
"billing_entity_code_2"
]