Path Parameters
id da assinatura
Query Parameters
Número máximo de items por página
Required range:
1 <= x <= 100
Número da página
Required range:
x >= 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
}
}
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 <= 100
Número da página
x >= 1
Was this page helpful?