Subscriptions
The Subscriptions API enables you to manage Subscriptions and Subscription Plans with ease. A Subscription represents a recurring agreement between you and your customer, allowing for regular charges, such as for season cards.
Subscription Plans define specific properties for Subscriptions that are created based on the Plan. These properties include details like pricing and billing intervals, ensuring precise customization of subscription parameters and behavior
Endpoints
The Subscription object
Attributes
The ID of the subscription
The ID of the seller of the subscription
The status of the subscription
DRAFTACTIVEINCOMPLETECANCELEDARCHIVEDPENDING-CANCELLATIONThe ID of the customer of the subscription
The ID of the plan of the subscription
An ISO 4217 3-character code of the currency
EURUSDGBPAUDCHFTHBILSCOPMXNDKKNOKSEKQARCADISKGTQINRDOPSGDPLNSARTTDZARKYDHKDCZKKRWJPYNZDAEDMADTWDBRLBWPNADKESSCRTRYSZLLSLTZSUGXZMWZWGGHSNGNSLELRDXOFThe origin information of the subscription
Optional Attributes
Collapse all{"_id": "string","sellerId": "string","status": "DRAFT","customerId": "string","planId": "string","currency": "EUR","customerPaymentMethodId": "string","origin": {"eventId": "string","shopId": "string"},"items": [{"type": "ticket","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"ticketTypeId": "string","categoryRef": "string","seatingInfo": {"_id": "string","_type": 6,"categoryId": "string","statusId": "string","name": "string","seatType": "handicapped","sectionName": "string","groupName": "string","rowName": "string","seatName": "string","gate": "string"},"slotInfo": {"slotId": "string","slotStartTime": "string"},"asHardTicket": true,"listingId": "string","listingItemId": "string","triggeredAutomations": true,"meta": {},"addOns": [{"productId": "string","productVariantId": "string","name": "string"}],"capabilities": [{"type": "self_service_return","settings": {"returnRelatedItems": true,"phases": [{"condition": {"target": "string","unit": "hours","offset": 1},"refundPercentage": 10.5}]}}],"taxInfo": {"serviceTypeId": "string","exceptionId": "string","proceedsAccountId": "string","proceedsAccountCode": "string","taxItems": [{"name": "string","taxTypeId": "string","rate": 10.5,"perUnit": 10.5,"total": 10.5,"netTotal": 10.5,"netPerUnit": 10.5,"taxPayableAccountId": "string","taxPayableAccountCode": "string"}]},"ticketId": "string","planVariantId": "string"}],"billing": {"cycles": [{"start": "2030-01-23T23:00:00.123Z","end": "2030-01-23T23:00:00.123Z","due": "2030-01-23T23:00:00.123Z","status": "FAILED","transactionId": {"type": [],"required": []}}]},"consents": [{"type": "autorenewal","granted": "2030-01-23T23:00:00.123Z"}],"payment": {"anchor": "2030-01-23T23:00:00.123Z","schedules": []},"cycles": [],"history": [],"transactionId": "string","startAt": "2030-01-23T23:00:00.123Z","cancelAt": "2030-01-23T23:00:00.123Z","canceledAt": "2030-01-23T23:00:00.123Z","company": "string","firstname": "string","lastname": "string","name": "string","phone": "string","address": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string"},"secret": "2030-01-23T23:00:00.123Z","attributes": {}}
Get a Subscription
Query
{"_id": "string","sellerId": "string","status": "DRAFT","customerId": "string","planId": "string","currency": "EUR","customerPaymentMethodId": "string","origin": {"eventId": "string","shopId": "string"},"items": [{"type": "ticket","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"ticketTypeId": "string","categoryRef": "string","seatingInfo": {"_id": "string","_type": 6,"categoryId": "string","statusId": "string","name": "string","seatType": "handicapped","sectionName": "string","groupName": "string","rowName": "string","seatName": "string","gate": "string"},"slotInfo": {"slotId": "string","slotStartTime": "string"},"asHardTicket": true,"listingId": "string","listingItemId": "string","triggeredAutomations": true,"meta": {},"addOns": [{"productId": "string","productVariantId": "string","name": "string"}],"capabilities": [{"type": "self_service_return","settings": {"returnRelatedItems": true,"phases": [{"condition": {"target": "string","unit": "hours","offset": 1},"refundPercentage": 10.5}]}}],"taxInfo": {"serviceTypeId": "string","exceptionId": "string","proceedsAccountId": "string","proceedsAccountCode": "string","taxItems": [{"name": "string","taxTypeId": "string","rate": 10.5,"perUnit": 10.5,"total": 10.5,"netTotal": 10.5,"netPerUnit": 10.5,"taxPayableAccountId": "string","taxPayableAccountCode": "string"}]},"ticketId": "string","planVariantId": "string"}],"billing": {"cycles": [{"start": "2030-01-23T23:00:00.123Z","end": "2030-01-23T23:00:00.123Z","due": "2030-01-23T23:00:00.123Z","status": "FAILED","transactionId": {"type": [],"required": []}}]},"consents": [{"type": "autorenewal","granted": "2030-01-23T23:00:00.123Z"}],"payment": {"anchor": "2030-01-23T23:00:00.123Z","schedules": []},"cycles": [],"history": [],"transactionId": "string","startAt": "2030-01-23T23:00:00.123Z","cancelAt": "2030-01-23T23:00:00.123Z","canceledAt": "2030-01-23T23:00:00.123Z","company": "string","firstname": "string","lastname": "string","name": "string","phone": "string","address": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string"},"secret": "2030-01-23T23:00:00.123Z","attributes": {}}
Update a Subscription
Payload
Optional Attributes
Collapse all{"status": "DRAFT","customerPaymentMethodId": "string","attributes": {},"consents": [{"type": "autorenewal","granted": "2030-01-23T23:00:00.123Z"}],"secret": "string"}
Get all Subscriptions
Query
A limit on the number of objects to be returned. Can range between 1 and 1000.
The number of objects to skip for the requested result
Optional Attributes
Collapse all{"docs": [{"_id": "string","sellerId": "string","status": "DRAFT","customerId": "string","planId": "string","currency": "EUR","customerPaymentMethodId": "string","origin": {"eventId": "string","shopId": "string"},"items": [{"type": "ticket","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"ticketTypeId": "string","categoryRef": "string","seatingInfo": {"_id": "string","_type": 6,"categoryId": "string","statusId": "string","name": "string","seatType": "handicapped","sectionName": "string","groupName": "string","rowName": "string","seatName": "string","gate": "string"},"slotInfo": {"slotId": "string","slotStartTime": "string"},"asHardTicket": true,"listingId": "string","listingItemId": "string","triggeredAutomations": true,"meta": {},"addOns": [{"productId": "string","productVariantId": "string","name": "string"}],"capabilities": [{"type": "self_service_return","settings": {"returnRelatedItems": true,"phases": [{"condition": {"target": "string","unit": "hours","offset": 1},"refundPercentage": 10.5}]}}],"taxInfo": {"serviceTypeId": "string","exceptionId": "string","proceedsAccountId": "string","proceedsAccountCode": "string","taxItems": [{"name": "string","taxTypeId": "string","rate": 10.5,"perUnit": 10.5,"total": 10.5,"netTotal": 10.5,"netPerUnit": 10.5,"taxPayableAccountId": "string","taxPayableAccountCode": "string"}]},"ticketId": "string","planVariantId": "string"}],"billing": {"cycles": [{"start": "2030-01-23T23:00:00.123Z","end": "2030-01-23T23:00:00.123Z","due": "2030-01-23T23:00:00.123Z","status": "FAILED","transactionId": {"type": [],"required": []}}]},"consents": [{"type": "autorenewal","granted": "2030-01-23T23:00:00.123Z"}],"payment": {"anchor": "2030-01-23T23:00:00.123Z","schedules": []},"cycles": [],"history": [],"transactionId": "string","startAt": "2030-01-23T23:00:00.123Z","cancelAt": "2030-01-23T23:00:00.123Z","canceledAt": "2030-01-23T23:00:00.123Z","company": "string","firstname": "string","lastname": "string","name": "string","phone": "string","address": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string"},"secret": "2030-01-23T23:00:00.123Z","attributes": {}}],"total": 1}
Update Subscription Items
Payload
Optional Attributes
Collapse all{"secret": "string","seatingReservationToken": "string","item": {"type": "ticket","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"ticketTypeId": "string","categoryRef": "string","seatingInfo": {"_id": "string","_type": 6,"categoryId": "string","statusId": "string","name": "string","seatType": "handicapped","sectionName": "string","groupName": "string","rowName": "string","seatName": "string","gate": "string"},"slotInfo": {"slotId": "string","slotStartTime": "string"},"asHardTicket": true,"listingId": "string","listingItemId": "string","triggeredAutomations": true,"meta": {},"addOns": [{"productId": "string","productVariantId": "string","name": "string"}],"capabilities": [{"type": "self_service_return","settings": {"returnRelatedItems": true,"phases": [{"condition": {"target": "string","unit": "hours","offset": 1},"refundPercentage": 10.5}]}}],"taxInfo": {"serviceTypeId": "string","exceptionId": "string","proceedsAccountId": "string","proceedsAccountCode": "string","taxItems": [{"name": "string","taxTypeId": "string","rate": 10.5,"perUnit": 10.5,"total": 10.5,"netTotal": 10.5,"netPerUnit": 10.5,"taxPayableAccountId": "string","taxPayableAccountCode": "string"}]},"ticketId": "string","planVariantId": "string"}}
The Subscription Plan object
Attributes
The ID of the subscription plan
The name of the subscription plan
The ID of the seller of the subscription plan
Optional Attributes
Collapse all{"_id": "string","name": "string","pricingPolicy": "fixed","variants": [],"billingCycle": {},"paymentSchedules": [{}],"renewalPolicy": {"changesPeriodStart": "2030-01-23T23:00:00.123Z","changesPeriodEnd": "2030-01-23T23:00:00.123Z","allowedChanges": {},"confirmationPeriodStart": "2030-01-23T23:00:00.123Z","confirmationPeriodEnd": "2030-01-23T23:00:00.123Z"},"paymentPolicy": {"allowedPaymentGateways": [],"changePaymentMethodPolicy": "always","allowedChangePaymentMethodGateways": []},"requestedConsents": [{"type": "autorenewal","description": "string"}],"sellerId": "string"}
Create a subscription Plan
Payload
The name of the subscription plan
Optional Attributes
Collapse all{"name": "string","pricingPolicy": "fixed","variants": [],"paymentSchedules": [{}],"billingCycle": {},"renewalPolicy": {"changesPeriodStart": "2030-01-23T23:00:00.123Z","changesPeriodEnd": "2030-01-23T23:00:00.123Z","allowedChanges": {},"confirmationPeriodStart": "2030-01-23T23:00:00.123Z","confirmationPeriodEnd": "2030-01-23T23:00:00.123Z"},"paymentPolicy": {"allowedPaymentGateways": [],"changePaymentMethodPolicy": "always","allowedChangePaymentMethodGateways": []},"requestedConsents": [{"type": "autorenewal","description": "string"}]}
{"_id": "string","name": "string","pricingPolicy": "fixed","variants": [],"billingCycle": {},"paymentSchedules": [{}],"renewalPolicy": {"changesPeriodStart": "2030-01-23T23:00:00.123Z","changesPeriodEnd": "2030-01-23T23:00:00.123Z","allowedChanges": {},"confirmationPeriodStart": "2030-01-23T23:00:00.123Z","confirmationPeriodEnd": "2030-01-23T23:00:00.123Z"},"paymentPolicy": {"allowedPaymentGateways": [],"changePaymentMethodPolicy": "always","allowedChangePaymentMethodGateways": []},"requestedConsents": [{"type": "autorenewal","description": "string"}],"sellerId": "string"}
Get a Subscription Plan
Query
{"_id": "string","name": "string","pricingPolicy": "fixed","variants": [],"billingCycle": {},"paymentSchedules": [{}],"renewalPolicy": {"changesPeriodStart": "2030-01-23T23:00:00.123Z","changesPeriodEnd": "2030-01-23T23:00:00.123Z","allowedChanges": {},"confirmationPeriodStart": "2030-01-23T23:00:00.123Z","confirmationPeriodEnd": "2030-01-23T23:00:00.123Z"},"paymentPolicy": {"allowedPaymentGateways": [],"changePaymentMethodPolicy": "always","allowedChangePaymentMethodGateways": []},"requestedConsents": [{"type": "autorenewal","description": "string"}],"sellerId": "string"}
Update a subscription Plan
Payload
Optional Attributes
Collapse all{"name": "string","pricingPolicy": "fixed","variants": [],"paymentSchedules": [{}],"billingCycle": {},"renewalPolicy": {"changesPeriodStart": "2030-01-23T23:00:00.123Z","changesPeriodEnd": "2030-01-23T23:00:00.123Z","allowedChanges": {},"confirmationPeriodStart": "2030-01-23T23:00:00.123Z","confirmationPeriodEnd": "2030-01-23T23:00:00.123Z"},"paymentPolicy": {"allowedPaymentGateways": [],"changePaymentMethodPolicy": "always","allowedChangePaymentMethodGateways": []},"requestedConsents": [{"type": "autorenewal","description": "string"}]}
{"_id": "string","name": "string","pricingPolicy": "fixed","variants": [],"billingCycle": {},"paymentSchedules": [{}],"renewalPolicy": {"changesPeriodStart": "2030-01-23T23:00:00.123Z","changesPeriodEnd": "2030-01-23T23:00:00.123Z","allowedChanges": {},"confirmationPeriodStart": "2030-01-23T23:00:00.123Z","confirmationPeriodEnd": "2030-01-23T23:00:00.123Z"},"paymentPolicy": {"allowedPaymentGateways": [],"changePaymentMethodPolicy": "always","allowedChangePaymentMethodGateways": []},"requestedConsents": [{"type": "autorenewal","description": "string"}],"sellerId": "string"}
Get all Subscription Plans
Query
A limit on the number of objects to be returned. Can range between 1 and 1000.
The number of objects to skip for the requested result
{"docs": [{"_id": "string","name": "string","pricingPolicy": "fixed","variants": [],"billingCycle": {},"paymentSchedules": [{}],"renewalPolicy": {"changesPeriodStart": "2030-01-23T23:00:00.123Z","changesPeriodEnd": "2030-01-23T23:00:00.123Z","allowedChanges": {},"confirmationPeriodStart": "2030-01-23T23:00:00.123Z","confirmationPeriodEnd": "2030-01-23T23:00:00.123Z"},"paymentPolicy": {"allowedPaymentGateways": [],"changePaymentMethodPolicy": "always","allowedChangePaymentMethodGateways": []},"requestedConsents": [{"type": "autorenewal","description": "string"}],"sellerId": "string"}],"total": 1}
