Current Loyalty session token, represents a 'signed-in' member
Vista Digital Platform (V1)
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/current/billing/payment-provider/vista
- cURL
- JavaScript
- Node.js
curl -i -X PUT \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/current/billing/payment-provider/vista \
-H 'Connect-Region-Code: string' \
-H 'loyaltySessionToken: string'- application/json
- text/json
- application/*+json
- application/json-patch+json
The values needed to create an embedded member payment card
Gets the URL that the browser will be directed to after the embedded payment has finished, if the requested web payment method requires redirect
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/recurring/payment-card/embedded
- cURL
- JavaScript
- Node.js
- application/json
- text/json
- application/*+json
- application/json-patch+json
curl -i -X POST \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/recurring/payment-card/embedded \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-H 'loyaltySessionToken: string' \
-d '{
"webPaymentMethodId": 0,
"redirectReturnUrl": "http://example.com",
"languageTag": "string"
}'{ "memberPaymentCardId": "string", "webPaymentMethodId": 0, "connectorFunctionName": "string", "connectorParametersJson": "string", "createCardTokenUrl": "http://example.com", "sdkScriptUrls": [ "string" ], "isButtonIncluded": true, "isPrimaryCardOptionIncluded": true, "connectorScriptUrls": [ "string" ] }
Request
Upon creating or selecting the member payment card, the member's recurring member subscriptions Future will be set.
The GetFutureRecurringSubscriptionCreation endpoint should be polled to determine the status of the future recurring subscription.
Sets Vista as the payment provider for the member subscription, if not already set to Vista.
- Vista.Ocapi
- Vista.Subscriptions
- application/json
- text/json
- application/*+json
- application/json-patch+json
The values needed to create the future recurring subscription payment
Gets the URL that the browser will be directed to after the embedded payment has finished, if the requested web payment method requires redirect
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/future-recurring/payment-card/embedded
- cURL
- JavaScript
- Node.js
- application/json
- text/json
- application/*+json
- application/json-patch+json
curl -i -X POST \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/future-recurring/payment-card/embedded \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-d '{
"webPaymentMethodId": 0,
"redirectReturnUrl": "http://example.com",
"languageTag": "string",
"subscriptionBillingOptionId": "string"
}'{ "memberPaymentCardId": "string", "webPaymentMethodId": 0, "connectorFunctionName": "string", "connectorParametersJson": "string", "createCardTokenUrl": "http://example.com", "sdkScriptUrls": [ "string" ], "isButtonIncluded": true, "isPrimaryCardOptionIncluded": true, "connectorScriptUrls": [ "string" ] }
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/future-recurring/creation
- cURL
- JavaScript
- Node.js
curl -i -X GET \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/future-recurring/creation \
-H 'Connect-Region-Code: string'{ "status": "NotStarted", "subscriptionBillingOptionId": "string" }
Request
Members may cancel their member subscription if:
- Self-cancellation has been enabled in Loyalty;
- The member is on a recurring billing option;
- The member has an active or frozen account status;
- The member has paid for all billing periods before the member subscription ContractedTermEndsAt
- Vista.Ocapi
- Vista.Subscriptions
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/current
- cURL
- JavaScript
- Node.js
curl -i -X DELETE \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/current \
-H 'Connect-Region-Code: string' \
-H 'loyaltySessionToken: string'Request
If no subscription order action is provided, the subscription order Action will be defaulted to subscription order action Purchase
Orders with the subscription order action Reactivate action will be created with the subscription order Subscription automatically set to the reactivation billing option.
- Vista.Ocapi
- Vista.Subscriptions
- application/json
- text/json
- application/*+json
- application/json-patch+json
Details of the subscription order to be created
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/subscription
- cURL
- JavaScript
- Node.js
- application/json
- text/json
- application/*+json
- application/json-patch+json
curl -i -X POST \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/subscription \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-d '{
"action": "Purchase"
}'Success
Gets the in progress order base entity
Gets the total price to be displayed to the customer
Gets the list of order voucher entities
Gets the identifier that can be used to uniquely identify the voucher within the order base
Gets a masked representation of the barcode
Gets the unique identifier of the voucher type
Gets the list of order deal entities
Gets the identifier that can be used to uniquely identify the deal within the order base
Gets the unique identifier of the deal base used
Gets the list of order payment base entities
- OrderRedirectPayment
- OrderMemberBalancePayment
- OrderGiftCardPayment
- OrderExternallyProcessedPayment
- OrderEmbeddedPayment
- OrderCinemaProcessedPayment
Represents a redirect payment that has been added to an order base
Gets the identifier that can be used to uniquely identify the payment within the order base
Gets the type
Gets the subscription order action
Gets the monetary amount saved via discounted prices
Gets the related data for the in progress order base entity
Gets the list of related order related film entities
Represents some customer-visible translatable Text in the default language, and a list of translation entities
Gets the translations of the translatable Text in other languages
Represents the external identifiers linked to a film
Gets the list of related order related ticket type entities
Represents some customer-visible translatable Text in the default language, and a list of translation entities
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the IETF (RFC 4646) language tag that the translation Text has been translated for
Represents some customer-visible translatable Text in the default language, and a list of translation entities
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the IETF (RFC 4646) language tag that the translation Text has been translated for
Gets the list of related order related item entities
Gets the name text, and its translations
Gets the translations of the translatable Text in other languages
Gets the list of related order related showtime entities
Represents the dates and times relevant to a showtime, e.g. its start, end, film start, etc
Gets the showtime entity's business date
Gets the date and time that the showtime starts
Gets the date and time that the showtime ends
Gets the date and time that the film screening starts
Gets the date and time that the film screening ends
Gets the list of related site entities
Represents a site in Vista Loyalty
Gets the contact details
Gets the list of phone number entities
Gets the IANA time zone name
Gets the name text, and its translations
Gets the translations of the translatable Text in other languages
Gets a value indicating whether the site has any sellable item entities
Gets the list of related screen entities
Gets the name text, and its translations
Gets the translations of the translatable Text in other languages
Gets the list of related censor rating entities
Gets the classification text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the IETF (RFC 4646) language tag that the translation Text has been translated for
Gets the censor rating Classification description text, and its translations
Gets the list of related item service area entities
Gets the name text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the short name text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the IETF (RFC 4646) language tag that the translation Text has been translated for
Gets the list of related item showtime delivery window base entities
Gets the targeted delivery time, as a number of minutes from showtime schedule StartsAt
Gets the type
Gets the unique identifier
Gets the name text, and its translations
Gets the text in the default language
Gets the related order related subscription billing option entity
Gets the related order related subscription entity
Gets the list of related area category entities
Gets the name text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets a value indicating whether the seat entities are allocated
Gets the list of related order related item postal delivery method entities
Gets a value indicating whether this is the default delivery method
Gets the name text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the IETF (RFC 4646) language tag that the translation Text has been translated for
{ "order": { "id": "string", "type": "Standard", "status": "InProgress", "totalPrice": { … }, "vouchers": [ … ], "deals": [ … ], "payments": [ … ], "subscription": { … }, "action": "Purchase", "expiresAt": "2019-08-24T14:15:22Z", "hasCustomer": true, "amountSaved": { … } }, "relatedData": { "films": [ … ], "ticketTypes": [ … ], "items": [ … ], "showtimes": [ … ], "sites": [ … ], "screens": [ … ], "censorRatings": [ … ], "itemServiceAreas": [ … ], "itemShowtimeDeliveryWindows": [ … ], "subscriptionBillingOption": { … }, "subscription": { … }, "balanceType": { … }, "areaCategories": [ … ], "itemPostalDeliveryMethods": [ … ] } }
- application/json
- text/json
- application/*+json
- application/json-patch+json
The requested subscription
Gets the unique identifier of the subscription billing option
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/subscription
- cURL
- JavaScript
- Node.js
- application/json
- text/json
- application/*+json
- application/json-patch+json
curl -i -X PUT \
'https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/subscription' \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-H 'loyaltySessionToken: string' \
-d '{
"subscriptionBillingOptionId": "string",
"discountId": "string",
"voucherId": "string"
}'Success
Gets the in progress order base entity
Gets the total price to be displayed to the customer
Gets the list of order voucher entities
Gets the identifier that can be used to uniquely identify the voucher within the order base
Gets a masked representation of the barcode
Gets the unique identifier of the voucher type
Gets the list of order deal entities
Gets the identifier that can be used to uniquely identify the deal within the order base
Gets the unique identifier of the deal base used
Gets the list of order payment base entities
- OrderRedirectPayment
- OrderMemberBalancePayment
- OrderGiftCardPayment
- OrderExternallyProcessedPayment
- OrderEmbeddedPayment
- OrderCinemaProcessedPayment
Represents a redirect payment that has been added to an order base
Gets the identifier that can be used to uniquely identify the payment within the order base
Gets the type
Gets the subscription order action
Gets the monetary amount saved via discounted prices
Gets the related data for the in progress order base entity
Gets the list of related order related film entities
Represents some customer-visible translatable Text in the default language, and a list of translation entities
Gets the translations of the translatable Text in other languages
Represents the external identifiers linked to a film
Gets the list of related order related ticket type entities
Represents some customer-visible translatable Text in the default language, and a list of translation entities
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the IETF (RFC 4646) language tag that the translation Text has been translated for
Represents some customer-visible translatable Text in the default language, and a list of translation entities
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the IETF (RFC 4646) language tag that the translation Text has been translated for
Gets the list of related order related item entities
Gets the name text, and its translations
Gets the translations of the translatable Text in other languages
Gets the list of related order related showtime entities
Represents the dates and times relevant to a showtime, e.g. its start, end, film start, etc
Gets the showtime entity's business date
Gets the date and time that the showtime starts
Gets the date and time that the showtime ends
Gets the date and time that the film screening starts
Gets the date and time that the film screening ends
Gets the list of related site entities
Represents a site in Vista Loyalty
Gets the contact details
Gets the list of phone number entities
Gets the IANA time zone name
Gets the name text, and its translations
Gets the translations of the translatable Text in other languages
Gets a value indicating whether the site has any sellable item entities
Gets the list of related screen entities
Gets the name text, and its translations
Gets the translations of the translatable Text in other languages
Gets the list of related censor rating entities
Gets the classification text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the IETF (RFC 4646) language tag that the translation Text has been translated for
Gets the censor rating Classification description text, and its translations
Gets the list of related item service area entities
Gets the name text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the short name text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the IETF (RFC 4646) language tag that the translation Text has been translated for
Gets the list of related item showtime delivery window base entities
Gets the targeted delivery time, as a number of minutes from showtime schedule StartsAt
Gets the type
Gets the unique identifier
Gets the name text, and its translations
Gets the text in the default language
Gets the related order related subscription billing option entity
Gets the related order related subscription entity
Gets the list of related area category entities
Gets the name text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets a value indicating whether the seat entities are allocated
Gets the list of related order related item postal delivery method entities
Gets a value indicating whether this is the default delivery method
Gets the name text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the IETF (RFC 4646) language tag that the translation Text has been translated for
{ "order": { "id": "string", "type": "Standard", "status": "InProgress", "totalPrice": { … }, "vouchers": [ … ], "deals": [ … ], "payments": [ … ], "subscription": { … }, "action": "Purchase", "expiresAt": "2019-08-24T14:15:22Z", "hasCustomer": true, "amountSaved": { … } }, "relatedData": { "films": [ … ], "ticketTypes": [ … ], "items": [ … ], "showtimes": [ … ], "sites": [ … ], "screens": [ … ], "censorRatings": [ … ], "itemServiceAreas": [ … ], "itemShowtimeDeliveryWindows": [ … ], "subscriptionBillingOption": { … }, "subscription": { … }, "balanceType": { … }, "areaCategories": [ … ], "itemPostalDeliveryMethods": [ … ] } }
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/subscription-billing-options
- cURL
- JavaScript
- Node.js
curl -i -X GET \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/subscription-billing-options \
-H 'Connect-Region-Code: string'Success
Gets the list of subscription billing option entities
Gets the name text, and its translations
Gets the translations of the translatable Text in other languages
Gets the short name text, and its translations
Gets the translations of the translatable Text in other languages
Gets the list of subscription billing option price entities
Gets the price to be displayed to the customer
Gets the monetary value including tax
Gets the monetary value excluding tax
Gets a value indicating whether this is the default price
Gets the unique identifier of the subscription
Gets the number of months between billing cycles
Gets the related data for the subscription billing option entities
Gets the list of related subscription entities
Gets the name text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the minimum number of number of months required for the subscription term
Gets the list of related discount entities
Gets the name text, and its translations
Gets the translations of the translatable Text in other languages
Gets the restriction
Gets the restrictions
Gets the list of unique identifiers of the reward entities that the discount is restricted to
Gets the list of unique identifiers of the voucher types that the discount is restricted to
{ "billingOptions": [ { … } ], "relatedData": { "subscriptions": [ … ], "discounts": [ … ] } }
- application/json
- text/json
- application/*+json
- application/json-patch+json
The selected subscription option
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/future-recurring
- cURL
- JavaScript
- Node.js
- application/json
- text/json
- application/*+json
- application/json-patch+json
curl -i -X POST \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/future-recurring \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-H 'loyaltySessionToken: string' \
-d '{
"subscriptionBillingOptionId": "string"
}'- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/current/reactivate
- cURL
- JavaScript
- Node.js
curl -i -X POST \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/subscriptions/current/reactivate \
-H 'Connect-Region-Code: string' \
-H 'loyaltySessionToken: string'