Download OpenAPI specification:
API for players using Amusement Connect wallets
Get a player's balance at a location
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "funds": [
- {
- "currency": "USD",
- "amount": 19.5
}
], - "tickets": 5
}Sets the player balance at a location to the desired state.
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| If-Match | string Default: * Optimistic concurrency control header. When included, the update will only be applied if the ETag value on the resource matches the provided value. |
Array of objects (Money) The player's available funds at this location, broken down by currency. This will set the player's balance to match these values, so any existing funds not included here will be removed and any changes to the amounts of existing currencies will be updated to match. | |
| tickets | number The number of tickets the player has at this location. This will set the player's ticket balance to this value. |
{- "funds": [
- {
- "currency": "USD",
- "amount": 19.5
}
], - "tickets": 5
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Returns a paginated list of gameplay transactions for a player as tab charges.
Transactions not associated with a tab will have tabId set to null.
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
| take | integer Example: take=10 The maximum number of records to return in the response. If not specified, all records are returned. |
{- "totalCount": 42,
- "items": [
- {
- "tabId": "00000000-0000-0000-0000-000000000003",
- "paymentMethod": "GooglePay",
- "locationId": "1a5515a3-ba81-4a42-aee7-ad9ffc090a54",
- "description": "Gameplay: Pac-Man",
- "addedDateUtc": "2019-08-24T14:15:22Z",
- "amount": 2.5,
- "currency": "USD"
}
]
}Get the list of cards registered to a player's wallet
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| locationId | string (locationId) Example: locationId=00000000-0000-0000-0000-000000000000 Optionally filter the card balances by location Id |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
| take | integer Example: take=10 The maximum number of records to return in the response. If not specified, all records are returned. |
{- "totalCount": 3,
- "items": [
- {
- "rfid": "0715468881",
- "cardLife": 1,
- "displayName": "👾👾👾",
- "location": {
- "id": 5,
- "name": "AC Arcade"
}, - "balance": {
- "credits": 100,
- "tickets": 40
}
}, - {
- "rfid": "0715468881",
- "cardLife": 1,
- "displayName": "👾👾👾",
- "location": {
- "id": 195,
- "name": "AC DevX Group Location"
}, - "balance": {
- "credits": 250,
- "tickets": 75
}
}, - {
- "rfid": "0715468883",
- "cardLife": 2,
- "displayName": null,
- "location": {
- "id": 5,
- "name": "AC Arcade"
}, - "balance": {
- "credits": 0,
- "tickets": 0
}
}
]
}Register a card to a player's wallet
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| rfid required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ The unique identifier of the RFID card. This should be derived from the 4 byte UID of the RFID card as a 32 bit integer and formatted to a 10 digit string. For example the UID of 0x5130A52A would be converted to "0715468881" |
| displayName | string or null |
{- "rfid": "0715468881",
- "displayName": "My Card"
}{- "rfid": "0715468881",
- "cardLife": 1
}Get a specific card registered to a player's wallet
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| locationId | string (locationId) Example: locationId=00000000-0000-0000-0000-000000000000 Optionally filter the card balances by location Id |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
| take | integer Example: take=10 The maximum number of records to return in the response. If not specified, all records are returned. |
{- "totalCount": 3,
- "items": [
- {
- "rfid": "0715468881",
- "cardLife": 1,
- "displayName": "👾👾👾",
- "location": {
- "id": 5,
- "name": "AC Arcade"
}, - "balance": {
- "credits": 100,
- "tickets": 40
}
}, - {
- "rfid": "0715468881",
- "cardLife": 1,
- "displayName": "👾👾👾",
- "location": {
- "id": 195,
- "name": "AC DevX Group Location"
}, - "balance": {
- "credits": 250,
- "tickets": 75
}
}, - {
- "rfid": "0715468883",
- "cardLife": 2,
- "displayName": null,
- "location": {
- "id": 5,
- "name": "AC Arcade"
}, - "balance": {
- "credits": 0,
- "tickets": 0
}
}
]
}Update the players card settings
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| displayName | string |
{- "displayName": "My Card"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Unregister a card from a player's wallet
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| 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 list of available game categories at a location
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "categories": [
- "Pinball",
- "Redemption",
- "Sports",
- "Ski-Ball",
- "Racing",
- "Basketball",
- "Darts",
- "Pool",
- "Crane"
]
}Get the list of games available at a location to play
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| search | string or null <= 100 characters Example: search=Racing Optional search term to filter games by name or description. |
| category | Array of strings[ items <= 30 characters ] Example: category=Pinball |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
| take | integer Example: take=10 The maximum number of records to return in the response. If not specified, all records are returned. |
{- "totalCount": 50,
- "items": [
- {
- "id": "00000000-0000-0000-0000-000000000000",
- "name": "Racing Madness",
- "category": "Racing",
- "image": {
}, - "play": {
- "creditsToPlay": 5
}
}, - {
- "id": "00000000-0000-0000-0000-000000000001",
- "name": "Space Invaders",
- "category": "Shooter",
- "image": {
}, - "play": {
- "costToPlay": [
- {
- "option": 1,
- "amount": 3,
- "currency": "USD"
}, - {
- "option": 2,
- "amount": 8,
- "currency": "USD"
}
]
}
}, - {
- "id": "00000000-0000-0000-0000-000000000002",
- "name": "Haunted House",
- "category": "Attraction",
- "image": {
}, - "play": {
- "attractionId": 101,
- "attractionGroupIds": [
- 1,
- 2
]
}
}
]
}Get details for a game at a location. Includes pricing information, images, descriptions, and other details.
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| gameId required | string <uuid> The unique identifier of the game machine. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "Racing Madness",
- "category": "Racing",
- "image": {
}, - "play": {
- "allowTimedPlay": true,
- "creditsToPlay": 10,
- "costToPlay": [
- {
- "option": 1,
- "amount": 1,
- "currency": "USD",
- "title": "Single Play",
- "description": "Play the game once for 1 credit.",
- "type": "cash"
}, - {
- "option": 2,
- "amount": 1.75,
- "currency": "USD",
- "title": "Double Play",
- "description": "Play the game twice for 1.75 credits.",
- "type": "cash"
}
]
}
}Attempt to start a gameplay session
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| gameMachineId | string The unique identifier of the game machine to start. |
| idempotencyKey | string or null <uuid> A unique identifier for the request to prevent duplicate game starts. If omitted, the server generates a new UUID — idempotency protection is only active when a key is explicitly supplied. |
| startMethod | string or null Default: "Remote" Enum: "Remote" "Http" The method used to start the game.
|
object (GameplayRequestCard) Information about the card to be used for gameplay request. Players requesting gameplay must have the card registered to them to be able to use it for gameplay. | |
object (GameplayRequestPartner) Information about the partner starting the gameplay session. | |
object (GameplayRequestPlayer) Information about the player starting the gameplay session. | |
object (GameplayRequestPayment) Payment method for the gameplay session.
Provide either | |
GameplayRequestCreditPlay (object) or GameplayRequestPartnerPlay (object) The play options for the gameplay session. |
{- "readerId": "string",
- "idempotencyKey": "0c14c6a6-6f50-4d1e-b0c4-b46ff43ba6a1",
- "startMethod": "Remote",
- "card": {
- "rfid": "0715468881",
- "life": 0
}, - "partner": {
- "locationId": "string",
- "transactionId": "string"
}, - "player": {
- "id": "string",
- "userName": "string",
- "displayName": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "phoneNumber": "string",
- "dateOfBirth": "2019-08-24",
- "gender": "string",
- "postalCode": "string"
}, - "payment": {
- "paymentId": "string",
- "digitalWalletPaymentToken": "string",
- "digitalWalletPaymentMethod": "GooglePay",
- "digitalWalletCardIdentifier": "string",
- "digitalWalletCardType": "string",
- "digitalWalletCardBrand": "string"
}, - "play": {
- "expectedCreditAmount": 10,
- "option": null
}
}{- "gameplaySessionId": "d3cf0135-6184-4e1e-a631-b6e34bd0a313",
- "balance": {
- "credits": 100,
- "tickets": 5,
- "tab": {
- "id": "00000000-0000-0000-0000-000000000003",
- "status": "Open",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "limit": 0.1,
- "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "creditsUsed": 0,
- "valueUsed": {
- "amount": 20,
- "currency": "USD"
}, - "tabProvider": "My Tab Provider",
- "externalTabId": "ext-tab-123456789"
}, - "timedPlay": {
- "id": 2313581,
- "startTimeUtc": "2026-01-01T00:00:00Z",
- "endTimeUtc": "2026-01-01T01:00:00Z",
- "duration": "01:00:00",
- "remaining": "00:02:00",
- "isPaused": false,
- "isStarted": true,
- "remainingPauseDuration": "00:10:00",
- "pausedAtUtc": "2026-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2026-01-01T00:00:00Z"
}, - "timedPlaySessions": [
- {
- "id": 2313581,
- "startTimeUtc": "2026-01-01T00:00:00Z",
- "endTimeUtc": "2026-01-01T01:00:00Z",
- "duration": "01:00:00",
- "remaining": "00:02:00",
- "isPaused": false,
- "isStarted": true,
- "remainingPauseDuration": "00:10:00",
- "pausedAtUtc": "2026-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2026-01-01T00:00:00Z"
}
], - "attractions": [
- {
- "id": 0,
- "type": "attraction",
- "name": "Roller Coaster",
- "description": "string",
- "passes": 1
}
]
}, - "creditsUsed": 0,
- "player": {
- "id": "00000000-0000-0000-0000-000000000001",
- "username": "exampleuser@example.com",
- "alias": "zezima",
- "universalCredits": 150,
- "funds": [
- {
- "amount": 20,
- "currency": "USD"
}
], - "tickets": 0.1
}, - "failureReason": "string",
- "playInstruction": {
- "text": "string",
- "images": [
- {
- "id": "string",
- "name": "string",
- "format": "string",
- "width": 0,
- "height": 0,
- "sequence": 0
}
]
}
}Get the card and credit pricing options for location
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 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,
- "currency": "USD"
}, - "tax": {
- "amount": 1,
- "currency": "USD"
}, - "includedCardCount": 1,
- "maxAdditionalCards": 5,
- "pricePerAdditionalCard": {
- "amount": 9,
- "currency": "USD"
}, - "creditsIncluded": 1000,
- "ticketsIncluded": 0,
- "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,
- "currency": "USD"
}, - "tax": {
- "amount": 5,
- "currency": "USD"
}, - "includedCardCount": 1,
- "maxAdditionalCards": 2,
- "pricePerAdditionalCard": {
- "amount": 45,
- "currency": "USD"
}, - "creditsIncluded": 8000,
- "ticketsIncluded": 0,
- "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,
- "currency": "USD"
}, - "tax": {
- "amount": 10,
- "currency": "USD"
}, - "includedCardCount": 2,
- "maxAdditionalCards": 2,
- "pricePerAdditionalCard": {
- "amount": 49.99,
- "currency": "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. Option 1 - Price only > calculate base and bonus credits based on location rates and promotions Option 2 - base or bonus credits are supplied, we use those values directly Option 3 - if bonus credits are supplied with a price, we calculate the base credits from location configuration and add the supplied bonus credits on at the end Option 4 - if just bonus credits is supplied, we kick them back and say supply a price or base credits as well. Option 5 - if all 3 are supplied, we push forward the price, but use the exact base and bonus Amounts
externalTransactionId must be unique per location when supplied. A request that reuses an
existing transaction's value at the same location is rejected with 400 Bad Request.
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 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 objects or objects or objects | |
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. | |
object (CardTransactionPayment) Attach payment details to the card transaction. | |
| externalTransactionId | string or null <= 128 characters An optional caller-supplied identifier for the transaction. Must be unique per location
when supplied — re-using a value already attached to a transaction at the same location
returns 400 Bad Request. Use this when you want to look up or refund the transaction by
your own id later (see |
{- "cards": [
- {
- "cardNumber": "0715468881",
- "life": 0,
- "isNewCard": true,
- "credits": {
- "price": 0
}
}
], - "packages": [
- {
- "packageId": 1,
- "quantity": 2,
- "cardNumbers": [
- "1000000001",
- "1000000002"
]
}, - {
- "packageId": 2,
- "cardNumbers": [
- "1000000003"
]
}
], - "payment": {
- "currencyCode": "string",
- "amount": 0,
- "method": "Cash",
- "denominations": {
- "ones": 0,
- "fives": 0,
- "tens": 0,
- "twenties": 0,
- "fifties": 0,
- "hundreds": 0
}, - "cardType": "string",
- "maskedPan": "string",
- "authorizationCode": null,
- "processorFees": 0.1
}, - "externalTransactionId": "string"
}{- "cardTransactionId": "00000000-0000-0000-0000-000000000002"
}Refund a card transaction identified by the caller-supplied externalTransactionId (instead
of the cosmos transaction id). All request-body and response semantics match
POST /location/{locationId}/card-transaction/{cardTransactionId}/refund — see that
endpoint's description for the full refund semantics.
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| externalTransactionId required | string The caller-supplied external transaction id that uniquely identifies the original card transaction at the location. |
| reason | string or null Optional human-readable reason recorded with the refund for audit purposes. |
| idempotencyKey | string or null <uuid> Client-supplied key to deduplicate retried refund requests within ~10 minutes. A retry with the same idempotency key returns the cached response without applying additional balance changes. |
object (RefundCardTransactionRequestPayment) Records cash/credit returned to the customer outside this service. Total amount across all refunds for a transaction must not exceed the original payment amount. | |
Array of objects or null (RefundCardTransactionRequestCard) null / omitted → refund every card from the original transaction in full. Empty array → no card balance changes (payment-only refund still recorded). Non-empty → refund only the specified cards with the per-dimension amounts inside each entry. |
{- "reason": "string",
- "idempotencyKey": "0c14c6a6-6f50-4d1e-b0c4-b46ff43ba6a1",
- "payment": {
- "amount": 0.1,
- "denominations": {
- "property1": 0,
- "property2": 0
}
}, - "cards": [
- {
- "cardNumber": "string",
- "credits": {
- "price": 0.1,
- "credits": 0.1
}, - "tickets": 0.1,
- "removeTimedPlay": true,
- "attractions": [
- {
- "id": 0,
- "type": "attraction",
- "passes": 0
}
]
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cardTransactionId": "00000000-0000-0000-0000-000000000002",
- "cards": [
- {
- "cardNumber": "string",
- "cardLife": 0,
- "requestedCreditsRefund": 0.1,
- "actualCreditsRefunded": 0.1,
- "requestedTicketsRefund": 0.1,
- "actualTicketsRefunded": 0.1,
- "requestedAttractionPasses": [
- {
- "id": 0,
- "type": "attraction",
- "passes": 0
}
], - "actualAttractionPassesRefunded": [
- {
- "id": 0,
- "type": "attraction",
- "passes": 0
}
], - "timedPlayDisabled": true,
- "timedPlayId": 0
}
], - "totalCreditsRefunded": 0.1,
- "totalTicketsRefunded": 0.1,
- "payment": {
- "amount": 0.1,
- "currency": "USD",
- "method": "unknown",
- "denominations": {
- "property1": 0,
- "property2": 0
}, - "cardType": "string",
- "maskedPan": "string"
}
}Refund all or part of a card transaction at a location. This service does not process payments — it records the result of cash/credit returned outside the service alongside the card-side reversal.
Scope of the refund
cards) to refund every card from the original transaction in full.cards: [] to record a payment-only refund with no card balance changes.Fine-grained refunds for each card entry — applies to credits, tickets, and attractions:
null (field omitted) → refund the full remaining amount for that dimension.0 / empty array → refund nothing for that dimension.Credits can be specified by explicit credits or by price (dollars, converted via the
location's credit-per-dollar rate). Explicit credits wins over price.
Timed play is controlled by removeTimedPlay: null (default) or true disables the
timed play session; false leaves it alone. Once disabled by any prior refund, subsequent
refund attempts are a silent no-op.
Cumulative caps: multiple partial refunds against the same transaction are allowed, but
the total refunded amount across all refunds may not exceed what the original transaction
added (per card, per dimension) or the original payment amount (for payment.amount).
Requests that would exceed the remaining cap are rejected with 400.
Refunding partially used cards: when a card has already spent some of the originally-added credits or
tickets, the actually-removed amount clamps at zero (never goes negative). The response's
actual*Refunded fields reflect what was applied.
Idempotency: supply idempotencyKey for replay safety. A retry with the same key within
in a short period returns the cached response without re-applying changes; a retry while the
original is still in flight returns 202 with Retry-After: 3.
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| cardTransactionId required | string <uuid> (cardTransactionId) Example: 00000000-0000-0000-0000-000000000002 The unique identifier of the card transaction. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| reason | string or null Optional human-readable reason recorded with the refund for audit purposes. |
| idempotencyKey | string or null <uuid> Client-supplied key to deduplicate retried refund requests within ~10 minutes. A retry with the same idempotency key returns the cached response without applying additional balance changes. |
object (RefundCardTransactionRequestPayment) Records cash/credit returned to the customer outside this service. Total amount across all refunds for a transaction must not exceed the original payment amount. | |
Array of objects or null (RefundCardTransactionRequestCard) null / omitted → refund every card from the original transaction in full. Empty array → no card balance changes (payment-only refund still recorded). Non-empty → refund only the specified cards with the per-dimension amounts inside each entry. |
{- "reason": "string",
- "idempotencyKey": "0c14c6a6-6f50-4d1e-b0c4-b46ff43ba6a1",
- "payment": {
- "amount": 0.1,
- "denominations": {
- "property1": 0,
- "property2": 0
}
}, - "cards": [
- {
- "cardNumber": "string",
- "credits": {
- "price": 0.1,
- "credits": 0.1
}, - "tickets": 0.1,
- "removeTimedPlay": true,
- "attractions": [
- {
- "id": 0,
- "type": "attraction",
- "passes": 0
}
]
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cardTransactionId": "00000000-0000-0000-0000-000000000002",
- "cards": [
- {
- "cardNumber": "string",
- "cardLife": 0,
- "requestedCreditsRefund": 0.1,
- "actualCreditsRefunded": 0.1,
- "requestedTicketsRefund": 0.1,
- "actualTicketsRefunded": 0.1,
- "requestedAttractionPasses": [
- {
- "id": 0,
- "type": "attraction",
- "passes": 0
}
], - "actualAttractionPassesRefunded": [
- {
- "id": 0,
- "type": "attraction",
- "passes": 0
}
], - "timedPlayDisabled": true,
- "timedPlayId": 0
}
], - "totalCreditsRefunded": 0.1,
- "totalTicketsRefunded": 0.1,
- "payment": {
- "amount": 0.1,
- "currency": "USD",
- "method": "unknown",
- "denominations": {
- "property1": 0,
- "property2": 0
}, - "cardType": "string",
- "maskedPan": "string"
}
}Get the balance for a card at a specific location
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ 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,
- "tab": {
- "id": "00000000-0000-0000-0000-000000000003",
- "status": "Open",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "limit": 0.1,
- "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "creditsUsed": 0,
- "valueUsed": {
- "amount": 20,
- "currency": "USD"
}, - "tabProvider": "My Tab Provider",
- "externalTabId": "ext-tab-123456789"
}, - "timedPlay": {
- "id": 2313581,
- "startTimeUtc": "2026-01-01T00:00:00Z",
- "endTimeUtc": "2026-01-01T01:00:00Z",
- "duration": "01:00:00",
- "remaining": "00:02:00",
- "isPaused": false,
- "isStarted": true,
- "remainingPauseDuration": "00:10:00",
- "pausedAtUtc": "2026-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2026-01-01T00:00:00Z"
}, - "timedPlaySessions": [
- {
- "id": 2313581,
- "startTimeUtc": "2026-01-01T00:00:00Z",
- "endTimeUtc": "2026-01-01T01:00:00Z",
- "duration": "01:00:00",
- "remaining": "00:02:00",
- "isPaused": false,
- "isStarted": true,
- "remainingPauseDuration": "00:10:00",
- "pausedAtUtc": "2026-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2026-01-01T00:00:00Z"
}
], - "attractions": [
- {
- "id": 0,
- "type": "attraction",
- "name": "Roller Coaster",
- "description": "string",
- "passes": 1
}
], - "location": {
- "id": 123,
- "name": "Amusement Park"
}
}Modify the location balance of a card by adjusting credits, tickets, timed play sessions, and attraction passes in a single request. Credit and ticket values are applied as deltas (positive to add, negative to subtract). Timed play and attraction entries each describe a targeted change to an existing balance item.
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| life | integer or null Optionally specify the card life to target when modifying the balance. If not provided, the update will be applied to the card's current life. |
| idempotencyKey | string or null <uuid> Optional client-generated UUID used to deduplicate this request. When supplied, the same key replayed within 10 minutes returns the original response, or |
| credits | number or null <double> Amount to add to (positive) or subtract from (negative) the card's credit balance at this location. |
| tickets | number or null <double> Amount to add to (positive) or subtract from (negative) the card's ticket balance at this location. |
Array of objects or null (ModifyTimedPlaySessionRequestModel) Updates to apply to existing timed play sessions on the card. Each entry targets one session by | |
Array of objects or null (ModifyAttractionPassesRequestModel) Updates to apply to attraction or attraction group pass balances on the card. |
{- "idempotencyKey": "0c14c6a6-6f50-4d1e-b0c4-b46ff43ba6a1",
- "credits": 10.5,
- "tickets": 25,
- "timedPlaySessions": [
- {
- "id": 2313581,
- "startTimeUtc": "2019-08-24T14:15:22Z",
- "endTimeUtc": "2019-08-24T14:15:22Z",
- "duration": "01:00:00",
- "extendBy": "00:30:00",
- "disable": false,
- "paused": null
}
], - "attractions": [
- {
- "id": 12345,
- "type": "attraction",
- "passes": 5
}
]
}{- "credits": 100,
- "tickets": 5,
- "tab": {
- "id": "00000000-0000-0000-0000-000000000003",
- "status": "Open",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "limit": 0.1,
- "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "creditsUsed": 0,
- "valueUsed": {
- "amount": 20,
- "currency": "USD"
}, - "tabProvider": "My Tab Provider",
- "externalTabId": "ext-tab-123456789"
}, - "timedPlay": {
- "id": 2313581,
- "startTimeUtc": "2026-01-01T00:00:00Z",
- "endTimeUtc": "2026-01-01T01:00:00Z",
- "duration": "01:00:00",
- "remaining": "00:02:00",
- "isPaused": false,
- "isStarted": true,
- "remainingPauseDuration": "00:10:00",
- "pausedAtUtc": "2026-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2026-01-01T00:00:00Z"
}, - "timedPlaySessions": [
- {
- "id": 2313581,
- "startTimeUtc": "2026-01-01T00:00:00Z",
- "endTimeUtc": "2026-01-01T01:00:00Z",
- "duration": "01:00:00",
- "remaining": "00:02:00",
- "isPaused": false,
- "isStarted": true,
- "remainingPauseDuration": "00:10:00",
- "pausedAtUtc": "2026-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2026-01-01T00:00:00Z"
}
], - "attractions": [
- {
- "id": 0,
- "type": "attraction",
- "name": "Roller Coaster",
- "description": "string",
- "passes": 1
}
], - "location": {
- "id": 123,
- "name": "Amusement Park"
}
}Charge a card balance to an open tab at the location. This will add a new charge to the tab for the specified amount and deduct the amount from the card balance. The tab must be open and associated with the card at this location for the charge to be successful.
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| transactionId required | string The unique identifier to associate the charge with. |
required | object (CardChargeToLocationTabCostToPlayRequestModel) |
required | object (CardChargeToLocationTabGameMachineRequestModel) |
{- "transactionId": "string",
- "costToPlay": {
- "gameplayCreditsRequired": 10,
- "costMultiplier": 1
}, - "gameMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "mercyTickets": 0.1,
- "game": {
- "id": 0,
- "name": "string",
- "category": "string"
}, - "device": {
- "id": "string",
- "type": "string"
}
}
}{- "success": true,
- "externalId": "ext-charge-123456789",
- "ticketBalance": 10,
- "player": {
- "id": "00000000-0000-0000-0000-000000000001",
- "externalId": "string",
- "realm": "string",
- "username": "zezima",
- "name": "First Last",
- "email": "user@example.com",
- "phone": "string",
- "birthDate": "1990-01-01"
}
}Refunds payment and removes balance from a card by walking the card's transaction history newest-first and refunding the requested amounts from each record until the full requested refund amount is reached.
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| cardLife | integer or null Optional card life to disambiguate when a single RFID has been reused across multiple card lives at the location. Omit to target the most recent active card life. |
object (RefundCardRequestPayment) Records cash/credit returned to the customer outside this service. | |
object (RefundCardTransactionRequestCredits) Credits refund spec. Explicit | |
| tickets | number or null <double> Tickets to remove (cosmos history only). null = drain remaining; 0 = none; positive = that count. |
| removeTimedPlay | boolean Default: true true (default) = disable timed-play sessions that came from the card's cosmos history. false = leave them enabled. |
Array of objects or null (RefundCardTransactionRequestAttraction) Attraction passes to refund (cosmos history only). null = drain all; empty = none. | |
| reason | string or null Optional human-readable reason recorded with each refund document/row written. |
| idempotencyKey | string or null <uuid> Client-supplied key to deduplicate retried refund requests within ~10 minutes. A retry with the same key returns the cached response without applying additional changes. |
{- "payment": {
- "amount": 0.1,
- "denominations": {
- "property1": 0,
- "property2": 0
}
}, - "credits": {
- "price": 0.1,
- "credits": 0.1
}, - "tickets": 0.1,
- "removeTimedPlay": true,
- "attractions": [
- {
- "id": 0,
- "type": "attraction",
- "passes": 0
}
], - "reason": "string",
- "idempotencyKey": "0c14c6a6-6f50-4d1e-b0c4-b46ff43ba6a1"
}{- "cardNumber": "string",
- "cardLife": 0,
- "totalPaymentRefunded": 0.1,
- "paymentRefunds": [
- {
- "method": "unknown",
- "amount": 0.1
}
], - "totalCreditsRefunded": 0.1,
- "totalTicketsRefunded": 0.1,
- "totalAttractionPassesRefunded": [
- {
- "id": 0,
- "type": "attraction",
- "passes": 0
}
], - "totalTimedPlaysDisabled": 0,
- "balance": {
- "credits": 100,
- "tickets": 5,
- "tab": {
- "id": "00000000-0000-0000-0000-000000000003",
- "status": "Open",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "limit": 0.1,
- "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "creditsUsed": 0,
- "valueUsed": {
- "amount": 20,
- "currency": "USD"
}, - "tabProvider": "My Tab Provider",
- "externalTabId": "ext-tab-123456789"
}, - "timedPlay": {
- "id": 2313581,
- "startTimeUtc": "2026-01-01T00:00:00Z",
- "endTimeUtc": "2026-01-01T01:00:00Z",
- "duration": "01:00:00",
- "remaining": "00:02:00",
- "isPaused": false,
- "isStarted": true,
- "remainingPauseDuration": "00:10:00",
- "pausedAtUtc": "2026-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2026-01-01T00:00:00Z"
}, - "timedPlaySessions": [
- {
- "id": 2313581,
- "startTimeUtc": "2026-01-01T00:00:00Z",
- "endTimeUtc": "2026-01-01T01:00:00Z",
- "duration": "01:00:00",
- "remaining": "00:02:00",
- "isPaused": false,
- "isStarted": true,
- "remainingPauseDuration": "00:10:00",
- "pausedAtUtc": "2026-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2026-01-01T00:00:00Z"
}
], - "attractions": [
- {
- "id": 0,
- "type": "attraction",
- "name": "Roller Coaster",
- "description": "string",
- "passes": 1
}
]
}, - "cardTransactionRefundIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "kioskTransactionRefundIds": [
- 0
]
}Transfer the location balances from one or more source cards into the target card. By default a source card has its full location balance (credits, tickets, and attraction passes) merged onto the target card, but each source may instead specify the exact credits, tickets, and/or attraction passes to move — any dimension left unspecified moves in full. A record of the transfer is written so it appears in each card's history.
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| cardLife | integer or null Optional card life of the target card to disambiguate when a single RFID has been reused across multiple card lives at the location. Omit to target the most recent active card life. |
required | Array of objects [ 1 .. 10 ] items The source cards to transfer into the target card. Each source card will have all or some of its location balance moved to the target card. |
{- "sources": [
- {
- "rfid": "0715468881",
- "life": 0,
- "credits": 10.5,
- "tickets": 25,
- "attractions": [
- {
- "id": 12345,
- "type": "attraction",
- "passes": 1
}
]
}
]
}{- "credits": 100,
- "tickets": 5,
- "tab": {
- "id": "00000000-0000-0000-0000-000000000003",
- "status": "Open",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "limit": 0.1,
- "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "creditsUsed": 0,
- "valueUsed": {
- "amount": 20,
- "currency": "USD"
}, - "tabProvider": "My Tab Provider",
- "externalTabId": "ext-tab-123456789"
}, - "timedPlay": {
- "id": 2313581,
- "startTimeUtc": "2026-01-01T00:00:00Z",
- "endTimeUtc": "2026-01-01T01:00:00Z",
- "duration": "01:00:00",
- "remaining": "00:02:00",
- "isPaused": false,
- "isStarted": true,
- "remainingPauseDuration": "00:10:00",
- "pausedAtUtc": "2026-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2026-01-01T00:00:00Z"
}, - "timedPlaySessions": [
- {
- "id": 2313581,
- "startTimeUtc": "2026-01-01T00:00:00Z",
- "endTimeUtc": "2026-01-01T01:00:00Z",
- "duration": "01:00:00",
- "remaining": "00:02:00",
- "isPaused": false,
- "isStarted": true,
- "remainingPauseDuration": "00:10:00",
- "pausedAtUtc": "2026-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2026-01-01T00:00:00Z"
}
], - "attractions": [
- {
- "id": 0,
- "type": "attraction",
- "name": "Roller Coaster",
- "description": "string",
- "passes": 1
}
]
}Get the balance for a card at a specific location
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ 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,
- "tab": {
- "id": "00000000-0000-0000-0000-000000000003",
- "status": "Open",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "limit": 0.1,
- "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "creditsUsed": 0,
- "valueUsed": {
- "amount": 20,
- "currency": "USD"
}, - "tabProvider": "My Tab Provider",
- "externalTabId": "ext-tab-123456789"
}, - "timedPlay": {
- "id": 2313581,
- "startTimeUtc": "2026-01-01T00:00:00Z",
- "endTimeUtc": "2026-01-01T01:00:00Z",
- "duration": "01:00:00",
- "remaining": "00:02:00",
- "isPaused": false,
- "isStarted": true,
- "remainingPauseDuration": "00:10:00",
- "pausedAtUtc": "2026-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2026-01-01T00:00:00Z"
}, - "timedPlaySessions": [
- {
- "id": 2313581,
- "startTimeUtc": "2026-01-01T00:00:00Z",
- "endTimeUtc": "2026-01-01T01:00:00Z",
- "duration": "01:00:00",
- "remaining": "00:02:00",
- "isPaused": false,
- "isStarted": true,
- "remainingPauseDuration": "00:10:00",
- "pausedAtUtc": "2026-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2026-01-01T00:00:00Z"
}
], - "attractions": [
- {
- "id": 0,
- "type": "attraction",
- "name": "Roller Coaster",
- "description": "string",
- "passes": 1
}
], - "location": {
- "id": 123,
- "name": "Amusement Park"
}
}Charge a card balance to an open tab at the location. This will add a new charge to the tab for the specified amount and deduct the amount from the card balance. The tab must be open and associated with the card at this location for the charge to be successful.
| locationId required | string (locationId) Example: 00000000-0000-0000-0000-000000000000 The unique identifier of the location. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| transactionId required | string The unique identifier to associate the charge with. |
required | object (CardChargeToLocationTabCostToPlayRequestModel) |
required | object (CardChargeToLocationTabGameMachineRequestModel) |
{- "transactionId": "string",
- "costToPlay": {
- "gameplayCreditsRequired": 10,
- "costMultiplier": 1
}, - "gameMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "mercyTickets": 0.1,
- "game": {
- "id": 0,
- "name": "string",
- "category": "string"
}, - "device": {
- "id": "string",
- "type": "string"
}
}
}{- "success": true,
- "externalId": "ext-charge-123456789",
- "ticketBalance": 10,
- "player": {
- "id": "00000000-0000-0000-0000-000000000001",
- "externalId": "string",
- "realm": "string",
- "username": "zezima",
- "name": "First Last",
- "email": "user@example.com",
- "phone": "string",
- "birthDate": "1990-01-01"
}
}Generates a scoped, single-use session token for initializing the Payroc Hosted Fields JS library on the client. The session token:
The client passes this token to new Payroc.hostedFields({ sessionToken: ... }).
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| locationId required | string <uuid> The location to scope the Hosted Fields session to. |
| idempotencyKey | string <uuid> Client-supplied key to deduplicate requests within 10 minutes. |
{- "sessionToken": "eyJhbGci...",
- "expiresAt": "2026-04-08T18:40:00Z",
- "processingTerminalId": "1234001"
}Vaults a single-use token (captured client-side via Payroc Hosted Fields) into Payroc's secure card vault and persists the card to the player's saved payment methods. No tab or pre-authorization is created.
Use this when you want to save a card on file without immediately
opening a tab — for example, during onboarding before the player
starts a session. To open a tab at the same time, use
/payment/tabs/open/single-use-token instead.
The response includes vaultId and paymentToken — persist the
paymentToken against the player for future tab-open flows using
/payment/tabs/open/secure-token.
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| locationId required | string <uuid> Location used to scope the saved payment method. |
| playerId required | string AmusementConnect player ID. |
| singleUseToken required | string Single-use token from Payroc Hosted Fields |
| postalCode required | string Billing postal code for AVS verification. |
| idempotencyKey | string or null <uuid> Client-supplied key to deduplicate requests within 10 minutes. |
{- "locationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
- "playerId": "player_xyz",
- "singleUseToken": "296753xxxxxx",
- "postalCode": "12345"
}{- "vaultId": "vault_abc123",
- "paymentToken": "296753112233",
- "maskedCardNumber": "************1234",
- "expiryDate": "0428",
- "cardType": "Visa"
}Performs Apple Pay merchant validation for the given location. The validation URL and domain are read from server-side configuration.
Client-side flow:
ApplePaySession in the browser.onvalidatemerchant handler, POST the location ID to this endpoint.session.completeMerchantValidation().The backend calls Apple's server using the merchant identity certificate configured in Key Vault. The opaque session object is returned as-is.
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| locationId required | string <uuid> The location to perform Apple Pay merchant validation for. The validation URL and domain are read from server-side configuration. |
| idempotencyKey | string or null <uuid> Client-supplied key to deduplicate requests within 10 minutes. |
{- "locationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}{- "epochTimestamp": 1776441992332,
- "expiresAt": 1776445592332,
- "merchantSessionIdentifier": "string",
- "nonce": "string",
- "merchantIdentifier": "string",
- "domainName": "pay-dev.amusementconnect.com",
- "displayName": "Amusement Connect",
- "signature": "string",
- "operationalAnalyticsIdentifier": "string",
- "retries": 0,
- "pspId": "string"
}Returns the player's saved (vaulted) payment methods at a given location. Deleted cards are excluded from the response.
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| locationId required | string (locationId) Example: locationId=00000000-0000-0000-0000-000000000000 The location to scope the saved payment methods to. |
{- "cards": [
- {
- "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",
- "last4": "1234",
- "cardType": "Visa",
- "expirationMonth": 9,
- "expirationYear": 2027,
- "isActive": true,
- "cardHolder": "string",
- "postalCode": "string",
- "secureTokenId": "string",
- "cardNetwork": "Visa"
}
]
}Updates a saved payment method on the player's profile at a location.
If isActive is set to true, all other saved payment methods for the
player at this location will have isActive set to false.
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| cardId required | string <uuid> The ID of the saved card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| locationId required | string (locationId) Example: locationId=00000000-0000-0000-0000-000000000000 The location the card belongs to. |
| isActive | boolean Whether this payment method is the active/default one for the player. |
{- "isActive": true
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Soft-deletes a saved payment method from the player's profile at a location.
The card is marked as deleted and excluded from future getSavedPaymentMethods responses.
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| cardId required | string <uuid> The ID of the saved card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| locationId required | string (locationId) Example: locationId=00000000-0000-0000-0000-000000000000 The location the card belongs to. |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Returns all tabs (all statuses) for a player at a given location, ordered by most recently opened.
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| playerId required | string <uuid> (playerId) Example: playerId=00000000-0000-0000-0000-000000000001 The player whose tabs to retrieve. |
| locationId required | string <uuid> The location to scope the tab lookup to. |
[- {
- "tabId": "00000000-0000-0000-0000-000000000003",
- "playerId": "00000000-0000-0000-0000-000000000001",
- "locationId": "string",
- "tabName": "string",
- "status": "Open",
- "authorizedAmount": 50,
- "currentCharges": 12.5,
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "secureTokenId": "string",
- "paymentToken": "string"
}
]Returns all gameplay sessions (charges) associated with a tab. Returns 404 if the tab does not exist at the given location.
| tabId required | string <uuid> (tabId) Example: 00000000-0000-0000-0000-000000000003 The tab whose gameplay charges to retrieve. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| locationId required | string <uuid> The location the tab belongs to. |
[- {
- "tabId": "00000000-0000-0000-0000-000000000003",
- "paymentMethod": "GooglePay",
- "locationId": "1a5515a3-ba81-4a42-aee7-ad9ffc090a54",
- "description": "Gameplay: Pac-Man",
- "addedDateUtc": "2019-08-24T14:15:22Z",
- "amount": 2.5,
- "currency": "USD"
}
]