/
Update a cycle on a subsc...
Overrides the charge amount for a single cycle without touching the subscription's recurring schedule or default value. Only RENEWABLE cycles in PENDING status can be patched — anything else (one-off charges, already-processed cycles, deleted cycles) returns 409 Conflict.
Required scope: subscription:update
Segurança
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 PATCH \
'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' \
-H 'Content-Type: application/json' \
-d '{
"value": 99.99
}'Response
{ "status": "ok", "message": [ "Your request was successfully updated" ], "id": "550e8400-e29b-41d4-a716-446655440000" }