Authorization: Bearer ********************x-api-key: ********************curl --location --request GET '/v2/user/subscriptions_history?page&per_page&q' \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <api-key>'{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "string",
"attributes": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"price": "9.99",
"status": "active",
"start_date": "2023-12-27T18:50:24.193Z",
"end_date": "2023-12-27T18:50:24.193Z",
"created_at": "2023-12-27T18:50:24.193Z",
"updated_at": "2023-12-27T18:50:24.193Z",
"trial_enabled": false,
"trial_duration_days": 7,
"auto_renewal": false,
"cancellation_reason": "Authentication issue",
"product": {
"code": "pci",
"name": "PCI",
"description": "PCI product"
}
}
}
]
}