/
List cycles on a subscrip...
Returns the cycles attached to a subscription, ordered from newest to oldest. Use status[] to narrow the result set — values are case-insensitive. Pagination is cursor-based: pass the previous response's metadata.next_cursor back as cursor. An empty next_cursor means there are no further pages.
Required scope: subscription:read
Security
accountId and apiKey
- Sandboxhttps://api.test.easypay.pt/2.0/subscription/{id}/cycle
- Productionhttps://api.prod.easypay.pt/2.0/subscription/{id}/cycle
curl -i -X GET \
'https://api.test.easypay.pt/2.0/subscription/{id}/cycle?limit=10&cursor=lL_j7ilk7rc&status=PENDING%2CFAILED' \
-H 'AccountId: 2b0f63e2-9fb5-4e52-aca0-b4bf0339bbe6' \
-H 'ApiKey: eae4aa59-8e5b-4ec2-887d-b02768481a92'Response
{ "data": [ { … }, { … } ], "metadata": { "next_cursor": "lL_j7ilk7rc", "count": 2 } }