x-api-key: ********************curl --location '/v1/subscriptions' \
--header 'x-api-key: <api-key>'{
"status": 200,
"message": "Subscriptions fetched successfully",
"data": {
"userId": "cmg9jatbj0000jv04cejuz12b",
"totalSubscriptions": 2,
"subscriptions": [
{
"id": "sub_1",
"plan": "Basic",
"status": "active",
"startedAt": "2025-09-20T12:00:00Z",
"expiresAt": "2025-10-20T12:00:00Z"
},
{
"id": "sub_2",
"plan": "Pro",
"status": "canceled",
"startedAt": "2025-07-01T12:00:00Z",
"expiresAt": "2025-08-01T12:00:00Z"
}
]
}
}