curl --request GET \
--url https://api.mijnklantportaal.nl/v1/customer-subscription-packages/{packageId} \
--header 'Authorization: Bearer <token>'{
"id": "spg_abc12345def678",
"name": "Phone subscription",
"description": "1GB per month, 300min per month",
"interval": "1 year",
"currency": "EUR",
"amount": "12.95",
"vatRate": 21,
"availableForSale": true
}Get a Customer Subscription Package by ID
curl --request GET \
--url https://api.mijnklantportaal.nl/v1/customer-subscription-packages/{packageId} \
--header 'Authorization: Bearer <token>'{
"id": "spg_abc12345def678",
"name": "Phone subscription",
"description": "1GB per month, 300min per month",
"interval": "1 year",
"currency": "EUR",
"amount": "12.95",
"vatRate": 21,
"availableForSale": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the Customer Subscription Package to get
Getting the requested Customer Subscription Package
Customer Subscription Package
ID of the subscription package, always starting with spg_.
"spg_abc12345def678"
Name of the subscription package
"Phone subscription"
A description of the package, mainly meant for terms and conditions
"1GB per month, 300min per month"
The interval of which the subscription will be extended with. Can be 14 days, 1 month, 2 months, 6 months or 1 year.
"1 year"
Currency of the subscription price amount.
"EUR"
Amount value as string.
"12.95"
The VAT rate percentage as integer. Can be 0, 9 or 21.
21
Indicates if the package is available for sale in the portal and public page, if enabled
true