Tournament Prize
Wallet API
Tournament Prize
Debits the specified tournament prize amount to the player’s balance after tournament is finished.
Tournament Prize
Documentation Index
Fetch the complete documentation index at: https://docs.game-services.work/llms.txt
Use this file to discover all available pages before exploring further.
POST /tournament-prize
This operation is idempotent.
Headers
| Name | Type | Description |
|---|---|---|
| X-Auth-Token | string | Custom authentication header in the format X-Auth-Token: your_token_here. This token is required to authorize API requests. |
Request Parameters
| Name | Type | Description |
|---|---|---|
| playerId | string | Unique identifier of the player. |
| amount | decimal | Amount to debit. |
| transactionId | string | Unique identifier of the game round transaction. |
| transactionTimestamp | integer | Timestamp of the transaction in milliseconds. |
| currency | string | Currency code of the player. |
Response Parameters
| Name | Type | Description |
|---|---|---|
| balance | decimal | The updated balance of the player. |
Error
If an error occurs while processing a request, the API must return a response with
HTTP Status Code: 400 Bad Request| Name | Type | Description |
|---|---|---|
| error_code | string | Error code describing the specific issue. |