List your marketing campaigns
Required in combination with paymentChoice DIRECT_DEBIT
Communication preferences for the customer. If specified, the list must contain an element for each message category.
Required for italian studios and none-italian nationals
Required in combination with paymentChoice CREDIT_CARD
information from an official document with identifies the customer
User will be assigned as UNISEX if no gender is set.
[Optional] Should only be set if checkout page has been called with URL param identityToken. If no customer exists with this UUID a new one will be created.
language of customer as ISO 639-1 two-letter code (e.g. es or de)
locale of customer as ISO 639-1 two-letter language and country code (e.g. es_ES or de_DE)
Only configured values in the rate bundle allowed. For Contract Voucher redemption use CASH
addition for southern Europe countries/US (e.g. Madrid, California)
If only one number is available use mobile as default.
If only one number is available use mobile as default.
Deprecated. Use the identityNumber field.
curl -i -X POST \
'https://connectdemo.api.magicline.com/connect/v2/preview?checkoutPageConfigurationId=0&landingPageConfigurationId=0' \
-H 'Content-Type: application/json' \
-d '{
"contract": {
"contractSignature": {
"base64Svg": "string",
"textBlockId": 0
},
"notes": "string",
"optionalRateBundleTermModules": [
{
"id": 0
}
],
"preuseDate": "2019-08-24",
"rateBundleTermId": 0,
"selectedRateBundleModules": [
{
"id": 0
}
],
"sepaSignature": {
"base64Svg": "string",
"textBlockId": 0
},
"startDate": "2019-08-24",
"textBlockSignatures": [
{
"base64Svg": "string",
"textBlockId": 0
}
]
},
"customer": {
"additionalAddressInformation": "string",
"bankAccount": {
"accountHolder": "string",
"bic": "string",
"iban": "string"
},
"buildingName": "string",
"city": "Hamburg",
"cityPart": "string",
"communicationPreferences": [
{
"activeCommunicationChannels": [
"LETTER"
],
"messageCategoryId": 0
}
],
"countryCode": "DE",
"countryOfBirth": "UNDEFINED",
"creditCard": {
"accountPaymentInstrumentToken": "string",
"tokenizationReference": "string"
},
"dateOfBirth": "2019-08-24",
"district": "string",
"documentIdentification": {
"documentNumber": "string",
"documentType": "ID_CARD"
},
"door": "string",
"email": "string",
"firstname": "string",
"floor": "string",
"gender": "MALE",
"houseNumber": "3-4",
"identification": {
"spain_DNI_NIE": "string"
},
"identityToken": "2340b1cc-3fe7-4f81-8eca-f92181dd2bb4",
"imageObjectKey": "string",
"language": "string",
"lastname": "string",
"locale": "string",
"paymentChoice": "DIRECT_DEBIT",
"placeOfBirth": "string",
"portal": "string",
"privacyConfiguration": {
"email": true,
"letter": true,
"mySportsMessage": true,
"phone": true,
"textMessage": true
},
"province": "string",
"provinceCode": "string",
"publicGender": "MALE",
"referralCode": "string",
"secondFirstname": "string",
"secondLastName": "string",
"secondStreet": "string",
"stairway": "string",
"street": "Raboisen",
"streetBlock": "string",
"streetType": "string",
"studioCountryCode": "UNDEFINED",
"taxId": "string",
"telephone_mobile": "string",
"telephone_private": "string",
"zipCode": 22099
},
"landingPageConfigurationId": 0,
"offerUuid": "5d19bb70-d72b-45ae-9b5e-c4257877bdbb",
"studioId": 0,
"voucherCode": "string"
}'
OK
The adjusted price, if age-based discounts are configured and the customer is eligible, null otherwise
Type of company fee split (percentage or absolute), if valid a company discount voucher is provided
Contains the total amount to be paid during the initial runtime of the contract and the average amounts per month and per the rate's payment frequency (e.g. 1 week)
Type of discount (percentage or absolute), if valid a (company) discount voucher is provided
Discounted pre use charge, if a valid (company) discount voucher is provided
Effective period: term in which a discount is applied if type is time base
Effective period: term unit in which a discount is applied if type is time base
Flat fee previews, including discount if a valid discount voucher is provided
Consent texts for modules that are part of the contract
Optional module contract preview including discount, company split or credit, if a valid voucher is provided
Bonus period applied with the (company) discount voucher, if valid a (company) discount voucher is provided
Effective period type in which a discount is applied
An error code, if the voucher code is invalid
Textual representation of the voucher conditions, if a valid voucher is provided
Voucher related text blocks, if a valid voucher is provided