GET
/
v1
/
subscriptions
/
{id}
/
cycles
/
{cycleId}
Recuperar detalhes de um cycle específico
curl --request GET \
  --url https://api.malga.io/v1/subscriptions/{id}/cycles/{cycleId} \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Client-Id: <api-key>'
{
  "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",
  "paymentHistory": [
    {
      "id": "84ec50c5-1fb4-4d6b-bbff-fedc47ba9fa3",
      "createdAt": "2025-07-30T20:14:12.608115Z",
      "chargeId": "6f2a0713-c4cd-4e2d-8603-69855902676d"
    }
  ]
}

Authorizations

X-Client-Id
string
header
required
X-Api-Key
string
header
required

Path Parameters

id
string<uuid>
required

id da assinatura

cycleId
string<uuid>
required

id do cycle

Response

200 - application/json

Success

The response is of type object.