{
"meta": {
"page": {
"currentPage": 0,
"from": 0,
"lastPage": 0,
"perPage": 0,
"to": 0,
"total": 0
}
},
"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": "2025-01-18T04:55:04.004Z",
"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": "2025-01-18T04:55:04.004Z",
"updatedAt": "2025-01-18T04:55:04.004Z"
},
"relationships": {
"accounts": "text",
"invoices": "text",
"subscription-items": "text"
},
"links": {
"self": "text"
}
}
]
}