curl --request GET \
--url https://api.mijnklantportaal.nl/v1/customer-subscriptions/{subscriptionId} \
--header 'Authorization: Bearer <token>'{
"id": "sub__abc12345def678",
"customerId": "cst_abc12345def678",
"description": "Website maintenance contract",
"startsAt": "2024-04-29",
"interval": "1 year",
"renewsAt": "2025-04-29",
"currency": "EUR",
"amount": "12.95",
"vatRate": 21,
"status": "in_progress",
"options": {
"createInvoice": true,
"invoiceDescription": "Extending subscription"
},
"terminatedAt": "2024-04-29T21:00:00+02:00",
"createdAt": "2024-04-29T21:00:00+02:00"
}Get a Customer Subscription by ID
curl --request GET \
--url https://api.mijnklantportaal.nl/v1/customer-subscriptions/{subscriptionId} \
--header 'Authorization: Bearer <token>'{
"id": "sub__abc12345def678",
"customerId": "cst_abc12345def678",
"description": "Website maintenance contract",
"startsAt": "2024-04-29",
"interval": "1 year",
"renewsAt": "2025-04-29",
"currency": "EUR",
"amount": "12.95",
"vatRate": 21,
"status": "in_progress",
"options": {
"createInvoice": true,
"invoiceDescription": "Extending subscription"
},
"terminatedAt": "2024-04-29T21:00:00+02:00",
"createdAt": "2024-04-29T21:00:00+02:00"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the Customer Subscription to get
Getting the requested Customer Subscription
Customer Subscription
ID of the subscription, always starting with sub_.
"sub__abc12345def678"
ID of the customer which the subscription belongs to.
"cst_abc12345def678"
Description of the subscription
"Website maintenance contract"
Start date of the subscription. Formatted as YYYY-mm-dd.
"2024-04-29"
The interval of which the subscription will be extended. Can be 14 days, 1 month, 2 months, 6 months or 1 year.
"1 year"
Date of when the subscription will be renewed next. Formatted as YYYY-mm-dd.
"2025-04-29"
Currency of the subscription amount.
"EUR"
Amount value as string.
"12.95"
The VAT rate percentage as integer. Can be 0, 9 or 21.
21
The current status of the subscription. Can be planned, in_progress, terminated or ended.
"in_progress"
Settings of the subscription
Show child attributes
Date and time when the subscription was terminated. Written in ATOM format.
"2024-04-29T21:00:00+02:00"
Date and time when the subscription was added to MijnKlantportaal. Written in ATOM format.
"2024-04-29T21:00:00+02:00"