curl --request GET \
--url https://api.malga.io/v1/subscriptions/{id}/cycles \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'{
"items": [
{
"id": "01985cf8-9877-7c09-bbf6-2cceb3384a61",
"customerId": "2a8b64ce-904c-4256-b79a-49525808609c",
"merchantId": "225d39bc-1fbb-480a-90bd-f0caad05d2d0",
"cycle": 1,
"status": "authorized",
"createdAt": "2025-07-30T20:14:12.599715Z"
}
],
"meta": {
"totalItems": 1,
"itemCount": 1,
"itemsPerPage": 10,
"totalPages": 1,
"currentPage": 1
}
}curl --request GET \
--url https://api.malga.io/v1/subscriptions/{id}/cycles \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'{
"items": [
{
"id": "01985cf8-9877-7c09-bbf6-2cceb3384a61",
"customerId": "2a8b64ce-904c-4256-b79a-49525808609c",
"merchantId": "225d39bc-1fbb-480a-90bd-f0caad05d2d0",
"cycle": 1,
"status": "authorized",
"createdAt": "2025-07-30T20:14:12.599715Z"
}
],
"meta": {
"totalItems": 1,
"itemCount": 1,
"itemsPerPage": 10,
"totalPages": 1,
"currentPage": 1
}
}id da assinatura
Número máximo de items por página
1 <= x <= 100Número da página
x >= 1Success
Show child attributes
Identificador do cycle
"01985cf8-9877-7c09-bbf6-2cceb3384a61"
Identificador do cliente
"2a8b64ce-904c-4256-b79a-49525808609c"
Identificador do merchant
"225d39bc-1fbb-480a-90bd-f0caad05d2d0"
Número do cycle
1
Status do cycle.
scheduled, pending, authorized, failed, retrying, canceled "authorized"
Data de criação do cycle
"2025-07-30T20:14:12.599715Z"
Was this page helpful?