Region Code
Vista Digital Platform (V1)
Download OpenAPI description
Languages
Servers
Mock server
https://developer.vista.co/_mock/openapi/digital-platform/openapi
Body
- application/json
- text/json
- application/*+json
- application/json-patch+json
Details to validate email availability
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/email-availability
- 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/email-availability \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-d '{
"email": "string"
}'Response
application/json
{ "isAvailable": true }
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/payments/maximum-member-balance
- cURL
- JavaScript
- Node.js
curl -i -X GET \
'https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/payments/maximum-member-balance' \
-H 'Connect-Region-Code: string' \
-H 'loyaltySessionToken: string'Success
Gets the order maximum member balance payment entity
Gets the related data for the order maximum member balance payment entity
Gets the related balance type entity
Gets the name text, and its translations
Gets the translations of the translatable Text in other languages
Gets a value indicating whether this is the primary balance type
Gets the name of the balance units
Example: "Points"
Gets the conversion rate that applies when using balance units for an order member balance payment, if applicable
Response
application/json
{ "payment": { "balanceTypeId": 0, "maximumValue": 0.1, "maximumUnits": 0.1, "availableUnits": 0.1 }, "relatedData": { "balanceType": { … } } }
Body
- application/json
- text/json
- application/*+json
- application/json-patch+json
The member balance payment request
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/payments/member-balance
- 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}/payments/member-balance' \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-H 'loyaltySessionToken: string' \
-d '{
"value": 0.1
}'Response
application/json
{ "id": "string", "type": "CinemaProcessed", "value": 0.1, "status": "NotStarted", "balanceTypeId": 0, "units": 0.1 }