diff --git a/docs/gen/redoc.v1.html b/docs/gen/redoc.v1.html index 6c6f1ea..0ce1423 100644 --- a/docs/gen/redoc.v1.html +++ b/docs/gen/redoc.v1.html @@ -421,8 +421,10 @@ ">
Player management endpoints
Retrieves an existing player by ID. Returns player information including profile data and in-game currency balance.
-| playerId required | string Authorizations:hmac query Parameters
Responses | ||||
| language | string Optional language code filter using ISO 639-1 code (e.g., 'en', 'es', 'fr', 'de') - | ||||
| playerId | string playerId | string Optional player ID filter to get player-specific catalog items + | |||
| environment | string Default: "PAYMENT_ENVIRONMENT_UNSPECIFIED" Enum: "PAYMENT_ENVIRONMENT_UNSPECIFIED" "PAYMENT_ENVIRONMENT_TEST" "PAYMENT_ENVIRONMENT_PRODUCTION" Payment environment for the request |
Optional language code filter using ISO 639-1 code (e.g., 'en', 'es', 'fr', 'de')
-Optional player ID filter to get player-specific catalog items
+Payment environment for the request
Optional checkout link identifier if purchase was made through a checkout link
+Payment environment for the request
List of items in this canceled purchase
{- "playerId": "string",
- "transactionId": "string",
- "checkoutLinkId": "string",
- "items": [
- {
- "guid": "string",
- "productId": "string",
- "quantity": 0,
- "cents": 0,
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
]
}{- "status": "PURCHASE_CANCELLATION_STATUS_UNSPECIFIED",
- "message": "string"
}{- "playerId": "string",
- "transactionId": "string",
- "checkoutLinkId": "string",
- "environment": "PAYMENT_ENVIRONMENT_UNSPECIFIED",
- "items": [
- {
- "guid": "string",
- "productId": "string",
- "quantity": 0,
- "cents": 0,
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
]
}{- "status": "PURCHASE_CANCELLATION_STATUS_UNSPECIFIED",
- "message": "string"
}Step 2A: Confirms and completes a pending purchase that was previously registered. IMPORTANT: Expects HTTP error status (3xx, 4xx, 5xx) codes for failed purchases.
Request to confirm and complete a pending purchase that was previously registered.
@@ -501,6 +509,8 @@ " class="sc-eVqvcJ sc-fszimp kIppRw drqpJr">Transaction identifier to confirm
Optional checkout link identifier if purchase was made through a checkout link
+Payment environment for the request
Currency code (ISO-4217 code, e.g., 'USD', 'EUR')
A successful response.
{- "playerId": "string",
- "transactionId": "string",
- "checkoutLinkId": "string",
- "currency": "string",
- "tax": 0,
- "total": 0,
- "timeMillis": "string",
- "paymentMethodType": "PAYMENT_METHOD_TYPE_UNSPECIFIED",
- "items": [
- {
- "guid": "string",
- "productId": "string",
- "quantity": 0,
- "cents": 0,
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "platform": "PURCHASE_PLATFORM_UNSPECIFIED",
- "browser": "string",
- "deviceId": "string",
- "source": "PURCHASE_SOURCE_UNSPECIFIED",
- "ipAddress": "string",
- "region": "string",
- "emailMarketingOptIn": true,
- "extraInGameCurrency": 0,
- "extraLoyaltyPoints": 0,
- "extraLoyaltyCredits": 0,
- "bonusItems": [
- {
- "id": "string",
- "quantity": 0
}
]
}{- "results": [
- {
- "guid": "string",
- "productId": "string"
}
]
}{- "playerId": "string",
- "transactionId": "string",
- "checkoutLinkId": "string",
- "environment": "PAYMENT_ENVIRONMENT_UNSPECIFIED",
- "currency": "string",
- "tax": 0,
- "total": 0,
- "timeMillis": "string",
- "paymentMethodType": "PAYMENT_METHOD_TYPE_UNSPECIFIED",
- "items": [
- {
- "guid": "string",
- "productId": "string",
- "quantity": 0,
- "cents": 0,
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "platform": "PURCHASE_PLATFORM_UNSPECIFIED",
- "browser": "string",
- "deviceId": "string",
- "source": "PURCHASE_SOURCE_UNSPECIFIED",
- "ipAddress": "string",
- "region": "string",
- "emailMarketingOptIn": true,
- "extraInGameCurrency": 0,
- "extraLoyaltyPoints": 0,
- "extraLoyaltyCredits": 0,
- "bonusItems": [
- {
- "id": "string",
- "quantity": 0
}
]
}{- "results": [
- {
- "guid": "string",
- "productId": "string"
}
]
}Step 1: Registers a purchase intent with the game backend. The game backend is expected to reserve inventory for the purchase. IMPORTANT: Always expects HTTP 200 OK response with inline error codes in the body.
Request to register a purchase intent with the game backend, at which point the game backend is expected to reserve the inventory for the purchase.
@@ -556,6 +566,8 @@ " class="sc-eVqvcJ sc-fszimp kIppRw drqpJr">Unique transaction identifier for this purchase session
Optional checkout link identifier if purchase was made through a checkout link
+Payment environment for the request
Currency code (ISO-4217 code, e.g., 'USD', 'EUR')
A successful response.
{- "playerId": "string",
- "transactionId": "string",
- "checkoutLinkId": "string",
- "currency": "string",
- "registrations": [
- {
- "guid": "string",
- "productId": "string",
- "cents": 0,
- "quantity": 0,
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "platform": "PURCHASE_PLATFORM_UNSPECIFIED",
- "browser": "string",
- "deviceId": "string",
- "source": "PURCHASE_SOURCE_UNSPECIFIED",
- "ipAddress": "string",
- "region": "string"
}{- "statuses": [
- {
- "guid": "string",
- "productId": "string",
- "status": "PURCHASE_REGISTRATION_STATUS_UNSPECIFIED",
- "message": "string"
}
]
}{- "playerId": "string",
- "transactionId": "string",
- "checkoutLinkId": "string",
- "environment": "PAYMENT_ENVIRONMENT_UNSPECIFIED",
- "currency": "string",
- "registrations": [
- {
- "guid": "string",
- "productId": "string",
- "cents": 0,
- "quantity": 0,
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "platform": "PURCHASE_PLATFORM_UNSPECIFIED",
- "browser": "string",
- "deviceId": "string",
- "source": "PURCHASE_SOURCE_UNSPECIFIED",
- "ipAddress": "string",
- "region": "string"
}{- "statuses": [
- {
- "guid": "string",
- "productId": "string",
- "status": "PURCHASE_REGISTRATION_STATUS_UNSPECIFIED",
- "message": "string"
}
]
}