curl --request POST \
--url https://api.mijnklantportaal.nl/v1/customer-subscription-packages/{packageId}/sign-up/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"companyName": "Test Company BV",
"address": "Teststreet 123",
"zipCode": "1234AB",
"city": "Amsterdam",
"email": "john.doe@test.com"
}
'{
"id": "6aec2555-f3e7-4afe-a061-8bfe9687b470",
"paymentLink": "https://mollie.com/checkout/abc...",
"expiresAt": "2025-03-05T16:30:00+02:00"
}Sign-up for a non-customer for a Customer Subscription Package by ID. A payment link will be generated.
curl --request POST \
--url https://api.mijnklantportaal.nl/v1/customer-subscription-packages/{packageId}/sign-up/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"companyName": "Test Company BV",
"address": "Teststreet 123",
"zipCode": "1234AB",
"city": "Amsterdam",
"email": "john.doe@test.com"
}
'{
"id": "6aec2555-f3e7-4afe-a061-8bfe9687b470",
"paymentLink": "https://mollie.com/checkout/abc...",
"expiresAt": "2025-03-05T16:30:00+02:00"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the Customer Subscription Package to use for the sign-up
Name of thenew customer
"Test Company BV"
Street name and number of the new customer
"Teststreet 123"
Zip code of the new customer
"1234AB"
City of the new customer
"Amsterdam"
Email of the new customer. This will be used to send notifications to.
"john.doe@test.com"
Created pending record
An ID, as UUID, to identify this temporary record
"6aec2555-f3e7-4afe-a061-8bfe9687b470"
The URL the user should be redirected to for paying the first term and so initiating the subscription.
"https://mollie.com/checkout/abc..."
Date and time when the payment link and temporary record expires, written in ATOM format.
"2025-03-05T16:30:00+02:00"