Subscriptions
List subscriptions
List subscriptions with optional filtering by customer or plan.
get/api/v1/subscriptions
Query parameters
customer_idstring
Filter by customer ID or alias
plan_idstring MeteroidId
Example:plan_7n42DGM5Tflk9n8mt7Fhc7
statusesSubscriptionStatusEnum[]
pageinteger
Page number (0-indexed)
per_pageinteger
Number of items per page
Response
List of subscriptions
Example response
{
"data": [
{
"currency": "EUR",
"customer_id": "cus_7n42DGM5Tflk9n8mt7Fhc7",
"id": "sub_7n42DGM5Tflk9n8mt7Fhc7",
"payment_methods_config": {
"account_id": "ba_7n42DGM5Tflk9n8mt7Fhc7"
},
"plan_id": "plan_7n42DGM5Tflk9n8mt7Fhc7",
"plan_version_id": "plv_7n42DGM5Tflk9n8mt7Fhc7"
}
]
}