/
Retrieve a cycle on a sub...
Returns a single cycle that belongs to the given subscription. A cycle that doesn't exist — or that belongs to a different account — returns 404 Not Found.
Required scope: subscription:read
Security
accountId and apiKey
- Sandboxhttps://api.test.easypay.pt/2.0/subscription/{id}/cycle/{cycle_id}
- Productionhttps://api.prod.easypay.pt/2.0/subscription/{id}/cycle/{cycle_id}
curl -i -X GET \
'https://api.test.easypay.pt/2.0/subscription/{id}/cycle/{cycle_id}' \
-H 'AccountId: 2b0f63e2-9fb5-4e52-aca0-b4bf0339bbe6' \
-H 'ApiKey: eae4aa59-8e5b-4ec2-887d-b02768481a92'OK
The cycle's unique identifier.
Example:"550e8400-e29b-41d4-a716-446655440000"
How the cycle was created:
RENEWABLE— part of the recurring schedule.ONE_TIME_CHARGE— an ad-hoc capture added on top of the schedule.CAPTURE_NOW— an immediate one-off capture.
Enum:"RENEWABLE""ONE_TIME_CHARGE""CAPTURE_NOW"
Example:"RENEWABLE"
The current state of the cycle:
PENDING— queued, waiting for its scheduled time.PROCESSING— capture is being executed right now.WAITING— waiting on an external dependency (e.g. customer action).SUCCESS— captured successfully.FAILED— capture failed and will not be retried.RETRY— capture failed but is queued for another attempt.FAILOVER— switched to the failover method after the primary failed.DELETED— cancelled before being captured.
Enum:"PENDING""PROCESSING""WAITING""SUCCESS""FAILED""RETRY""FAILOVER""DELETED"
Example:"PENDING"
When the capture is scheduled to run, in UTC (RFC 3339).
Example:"2026-05-22T09:00:00Z"
Free-form text shown on the bank statement or in the MB WAY app. Omitted when not set.
Example:"monthly charge"
Response
- A one-off cycle that has not been captured yet
- A regular renewal cycle that has been captured
{ "id": "550e8400-e29b-41d4-a716-446655440000", "type": "ONE_TIME_CHARGE", "status": "PENDING", "value": 10.5, "capture_at": "2026-05-22T09:00:00Z", "description": "monthly charge", "key": "my-key" }