List Subscriptions
Returns a paginated list of an account’s subscriptions.
merchant_reference is not a filter on this endpointSending it has no effect: the parameter is ignored and the full, unfiltered page is returned. To look a subscription up by merchant reference, keep the id you received when you created it, or page through this endpoint and match client-side.Scope and ordering
The list is always scoped to the single account in thex-account-code header — there is no cross-account variant. Results are ordered by created_at descending, so a subscription created while you page can shift items across page boundaries. For a stable sweep, filter with created_at_to fixed at the moment you started.
Filters are combinable and all optional; each one narrows the result set further. With none set, subscriptions in every status are returned, including CANCELED and COMPLETED ones.Authorizations
Headers
The account_id found in your Yuno Dashboard (UUID). Required — the list is always scoped to a single account. Omitting it returns 400 INVALID_PARAMETERS ("x-account-code header is required.").
Query Parameters
Filter by the customer that owns the subscription (customer_payer.id, UUID). A value that isn't a UUID returns 400 BAD_REQUEST ("Invalid customer_id.").
"3t04911d-5df9-429e-8488-ad41abea1a2c"
Filter by status. Accepts several values separated by commas, matching any of them — ACTIVE,PAUSED. Values must be spelled exactly as in Subscription statuses; an unknown one returns 400 BAD_REQUEST ("Invalid status: FOO.").
"ACTIVE,PAUSED"
Only return subscriptions created at or after this instant (ISO 8601 with offset, inclusive). A value that doesn't parse returns 400 BAD_REQUEST ("Invalid created_at_from.").
"2024-01-01T00:00:00Z"
Only return subscriptions created at or before this instant (ISO 8601 with offset, inclusive). A value that doesn't parse returns 400 BAD_REQUEST ("Invalid created_at_to.").
"2024-12-31T23:59:59Z"
Filter by the subscription's payment method type, for example CARD.
"CARD"
1-indexed page number. Must be >= 1, else 400 BAD_REQUEST ("The page must be greater than or equal to 1.").
x >= 1Page size. Must be between 1 and 100 inclusive, else 400 BAD_REQUEST ("The size must be greater than or equal to 1." if too low, "The size must be at most 100." if too high).
1 <= x <= 100