Download OpenAPI specification:
API for the Amusement Connect card system.
Get the card and credit pricing options for location
required | integer or string (locationId) The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| includePackages | boolean Whether to include the available packages for the location in the response. If not provided, the packages will not be included. |
{- "credits": {
- "creditsPerDollar": 100,
- "bonusCredits": [
- {
- "thresholdAmount": 10,
- "bonusCredits": 100,
- "cumulativeBonusCredits": 100
}, - {
- "thresholdAmount": 20,
- "bonusCredits": 250,
- "cumulativeBonusCredits": 350
}, - {
- "thresholdAmount": 50,
- "bonusCredits": 700,
- "cumulativeBonusCredits": 1050
}
]
}, - "packages": [
- {
- "packageId": 1,
- "name": "$10 | 1000 Credits",
- "description": "A package that includes 1000 credits for $10.",
- "sortOrder": 1,
- "price": {
- "amount": 10,
- "currencyCode": "USD"
}, - "tax": {
- "amount": 1,
- "currencyCode": "USD"
}, - "includedCardCount": 1,
- "maxAdditionalCards": 5,
- "pricePerAdditionalCard": {
- "amount": 9,
- "currencyCode": "USD"
}, - "creditsIncluded": 1000,
- "ticketsIncluded": 0,
- "timedPlayIncluded": null,
- "attractionsIncluded": [ ]
}, - {
- "packageId": 2,
- "name": "$50 | 8000 Credits, 1 VR Session, and 1 Go Kart Ride",
- "description": "A package that includes 8000 credits, 1 VR session, and 1 Go-Kart Ride for $50",
- "sortOrder": 2,
- "price": {
- "amount": 50,
- "currencyCode": "USD"
}, - "tax": {
- "amount": 5,
- "currencyCode": "USD"
}, - "includedCardCount": 1,
- "maxAdditionalCards": 2,
- "pricePerAdditionalCard": {
- "amount": 45,
- "currencyCode": "USD"
}, - "creditsIncluded": 8000,
- "ticketsIncluded": 0,
- "timedPlayIncluded": null,
- "attractionsIncluded": [
- {
- "name": "VR Session",
- "description": "A virtual reality experience.",
- "sortOrder": 1,
- "passesIncluded": 1,
- "groupId": 100,
- "attractions": [
- {
- "id": 200,
- "gameMachineId": "00000000-0000-0000-0000-000000000200"
}, - {
- "id": 201,
- "gameMachineId": "00000000-0000-0000-0000-000000000201"
}, - {
- "id": 202,
- "gameMachineId": "00000000-0000-0000-0000-000000000202"
}
]
}, - {
- "name": "XTREAM GO KARTS",
- "description": "An exciting go-kart race",
- "sortOrder": 2,
- "passesIncluded": 1,
- "id": 250,
- "gameMachineId": "00000000-0000-0000-0000-000000000250"
}
]
}, - {
- "packageId": 3,
- "name": "$100 | Bring a friend all day special",
- "description": "A package that includes timed play all day for you and a friend for $100",
- "sortOrder": 3,
- "price": {
- "amount": 100,
- "currencyCode": "USD"
}, - "tax": {
- "amount": 10,
- "currencyCode": "USD"
}, - "includedCardCount": 2,
- "maxAdditionalCards": 2,
- "pricePerAdditionalCard": {
- "amount": 49.99,
- "currencyCode": "USD"
}, - "creditsIncluded": 0,
- "ticketsIncluded": 0,
- "timedPlayIncluded": {
- "durationMinutes": 480,
- "startType": "Immediate"
}, - "attractionsIncluded": [ ]
}
]
}Create a new card transaction at a location Adds a new transaction to for adding to a cards balance at this location.
required | integer or string (locationId) The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| whatIf | boolean If true, the transaction will be validated but not actually processed. This can be used to check if a transaction request is valid and see the expected outcome without making any changes to the card balances. |
Array of objects or null A list of credit purchases made in a single transaction. Each entry in the list represents a purchase of credits for a specific card number. | |
Array of objects or null A list of package purchases made in a single transaction. Each entry in the list represents a purchase of a specific package for a set of card numbers. |
{- "credits": [
- {
- "cardNumber": "1000000001",
- "amount": 10
}, - {
- "cardNumber": "1000000002",
- "amount": 20
}
], - "packages": [
- {
- "packageId": 1,
- "cardNumbers": [
- "1000000001",
- "1000000002"
]
}, - {
- "packageId": 2,
- "cardNumbers": [
- "1000000001"
]
}
]
}{- "cardTransactionId": "00000000-0000-0000-0000-000000000000"
}Refund a card transaction by its ID at a location. Reverses the effects of the original transaction, removing any credits, tickets, timed play, or attractions purchased.
required | integer or string (locationId) The unique identifier of the location. |
| cardTransactionId required | string <uuid> (cardTransactionId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the card transaction. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Search and filter tabs at a location
required | integer or string (locationId) The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| take | integer Example: take=10 The maximum number of records to return in the response. If not specified, all records are returned. |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
| status | any (status) Enum: "Open" "Closed" "Settled" Filter tabs by their status. |
| orderDescending | boolean Default: false Reverses the sort order of the results to be in descending order. |
| orderBy | any Default: "openedAtUtc" Enum: "openedAtUtc" "closedAtUtc" "settledAtUtc" "status" The field to order the results by. Defaults to openedAtUtc. |
| thenBy | any Default: "openedAtUtc" Enum: "openedAtUtc" "closedAtUtc" "settledAtUtc" An additional field to order the results by after ordering by the orderBy field. Only applies if the orderBy parameter is 'status'. |
| openFrom | string <date-time> Filter to tabs that were open on or after this date and time. |
| openTo | string <date-time> Filter to tabs that were open on or before this date and time. |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "status": "Open",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "settledAtUtc": "2019-08-24T14:15:22Z",
- "spent": {
- "amount": 20,
- "currencyCode": "USD"
}, - "limit": {
- "amount": 20,
- "currencyCode": "USD"
}, - "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "cards": [
- {
- "rfid": "0715468881",
- "cardLife": 1
}
]
}
]Opens a tab for a player at a location
required | integer or string (locationId) The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
object (Money) | |
| autoCloseAtUtc | string or null <date-time> The date and time when the tab will automatically close. If null, the tab will remain open until manually closed. |
| cardNumbers required | Array of strings (rfid) [ items^\\+?[0-9]{10}$ ] The list of card numbers to associate with the tab. |
{- "limit": {
- "amount": 20,
- "currencyCode": "USD"
}, - "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "cardNumbers": [
- "0715468881"
]
}{- "tabId": "00000000-0000-0000-0000-000000000000"
}Get a tab by its ID at a location
required | integer or string (locationId) The unique identifier of the location. |
| tabId required | string <uuid> |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "status": "Open",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "settledAtUtc": "2019-08-24T14:15:22Z",
- "spent": {
- "amount": 20,
- "currencyCode": "USD"
}, - "limit": {
- "amount": 20,
- "currencyCode": "USD"
}, - "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "cards": [
- {
- "rfid": "0715468881",
- "cardLife": 1
}
]
}Close a tab, preventing it from accepting any new charges.
required | integer or string (locationId) The unique identifier of the location. |
| tabId required | string <uuid> |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Settle a tab, finalizing all charges and payments.
required | integer or string (locationId) The unique identifier of the location. |
| tabId required | string <uuid> |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Get the balance for a card at a specific location
required | integer or string (locationId) The unique identifier of the location. |
| cardNumber required | string (rfid) ^\\+?[0-9]{10}$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "credits": 100,
- "tickets": 5,
- "timedPlay": {
- "sessionId": "00000000-0000-0000-0000-000000000000",
- "startTimeUtc": "2024-01-01T00:00:00Z",
- "endTimeUtc": "2024-01-01T01:00:00Z",
- "remaining": "00:02:00",
- "isPaused": false,
- "pausedAtUtc": "2024-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2024-01-01T00:00:00Z"
}, - "attractions": [
- {
- "name": "Roller Coaster",
- "description": "string",
- "passes": 1,
- "id": 0,
- "gameMachineId": "872a4c81-0549-4dc2-8771-0a409ccbcba1"
}
], - "location": {
- "id": 1,
- "name": "Amusement Park"
}
}Update the location balance for a card to the desired state.
required | integer or string (locationId) The unique identifier of the location. |
| cardNumber required | string (rfid) ^\\+?[0-9]{10}$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| credits | number <double> |
| tickets | number <double> |
object or null | |
Array of objects or objects or null |
{- "credits": 100,
- "tickets": 5,
- "timedPlay": {
- "sessionId": "00000000-0000-0000-0000-000000000000",
- "startTimeUtc": "2024-01-01T00:00:00Z",
- "endTimeUtc": "2024-01-01T01:00:00Z",
- "remaining": "00:02:00",
- "isPaused": false,
- "pausedAtUtc": "2024-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2024-01-01T00:00:00Z"
}, - "attractions": [
- {
- "name": "Roller Coaster",
- "description": "string",
- "passes": 1,
- "id": 0,
- "gameMachineId": "872a4c81-0549-4dc2-8771-0a409ccbcba1"
}
]
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Get card by card number
| cardNumber required | string (rfid) ^\\+?[0-9]{10}$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| cardLife | number Optional parameter to specify a specific card life to get for the card. If not provided, the latest card life will be returned. |
integer or string (locationId) Optional location ID to filter the balances on the card by location. |
{- "rfid": "0715468881",
- "cardLife": 1,
- "player": {
- "id": "00000000-0000-0000-0000-000000000000",
- "name": "John Doe"
}, - "issuance": {
- "issuedAtUtc": "2024-01-01T00:00:00Z",
- "issuedLocationId": 1
}, - "lastUsage": {
- "usedAtUtc": "2024-01-01T00:00:00Z",
- "usedLocationId": 1
}
}