Query Parameters
numero da pagina ativa
quantidade de registros por página 1-100
curl --request GET \
--url https://api.malga.io/v1/subscriptions \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'
{
"items": [
{
"id": "01985cf8-96df-7d37-b17c-a9985a1e78bb",
"name": "Test Without Request",
"clientId": "e234eeb3-483d-4df2-87eb-1e2be5cdaccd",
"merchantId": "225d39bc-1fbb-480a-90bd-f0caad05d2d0",
"customerId": "2a8b64ce-904c-4256-b79a-49525808609c",
"referenceKey": "SUB-PREMIUM-001",
"currency": "BRL",
"trial": {
"endAt": "2025-08-15"
},
"status": "paused",
"amount": 29900,
"liveMode": true,
"interval": "monthly",
"createdAt": "2025-07-30T20:14:12.191866Z",
"updatedAt": "2025-07-31T16:57:23.751952Z"
}
],
"meta": {
"totalItems": 123,
"totalPages": 123,
"currentPage": 123,
"itemsPerPage": 123,
"itemCount": 123
}
}
curl --request GET \
--url https://api.malga.io/v1/subscriptions \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'
{
"items": [
{
"id": "01985cf8-96df-7d37-b17c-a9985a1e78bb",
"name": "Test Without Request",
"clientId": "e234eeb3-483d-4df2-87eb-1e2be5cdaccd",
"merchantId": "225d39bc-1fbb-480a-90bd-f0caad05d2d0",
"customerId": "2a8b64ce-904c-4256-b79a-49525808609c",
"referenceKey": "SUB-PREMIUM-001",
"currency": "BRL",
"trial": {
"endAt": "2025-08-15"
},
"status": "paused",
"amount": 29900,
"liveMode": true,
"interval": "monthly",
"createdAt": "2025-07-30T20:14:12.191866Z",
"updatedAt": "2025-07-31T16:57:23.751952Z"
}
],
"meta": {
"totalItems": 123,
"totalPages": 123,
"currentPage": 123,
"itemsPerPage": 123,
"itemCount": 123
}
}
numero da pagina ativa
quantidade de registros por página 1-100
Was this page helpful?