{
"meta": {
"page": {}
},
"jsonapi": {
"version": "1.0"
},
"links": {
"first": "text",
"last": "text",
"next": "text"
},
"data": [
{
"type": "subscriptions",
"id": "2002",
"attributes": {
"accountId": "2002",
"name": "My annual subscription",
"billingInterval": "month",
"billingIntervalName": "Monthly in arrears",
"billingPractice": "in_arrears",
"state": "Ended",
"billingIntervalCount": 12,
"isActive": false,
"billingCycleAnchor": "2024-11-16T07:43:27.033Z",
"renewalDate": "2025-06-30",
"rebateEndDate": "2024-07-01",
"rebateAmount": 2000,
"rebateType": "percent",
"currency": "SEK",
"minimumCommitment": 2000,
"currentBillingPeriod": "2024-03-01 - 2024-03-31",
"autoSendToAccounting": false,
"endDate": "2024-07-01",
"createdAt": "2024-11-16T07:43:27.033Z",
"updatedAt": "2024-11-16T07:43:27.033Z"
},
"relationships": {
"accounts": "text",
"subscription-items": "text"
},
"links": {
"self": "text"
}
}
]
}