Skip to main content
GET
Get player by ID

Authorizations

x-stash-hmac-signature
string
header
required

Versioned HMAC-SHA256 signature for server-to-server communication between game backends and Stash services. Recommended over the deprecated legacyHmac scheme for the best security. Header format: v1;{shopId};{unixMillisTimestamp};{base64Signature} (semicolon-delimited). {base64Signature} is the base64-encoded HMAC-SHA256 of the string {unixMillisTimestamp}.{requestBody} signed with your Egress API key, where {requestBody} is the compact request JSON. The timestamp must be within 5 minutes of Stash server time. Your shopId is your immutable shop identifier; it and your Egress API key are available in Stash Studio under Project Settings > API Secrets.

Query Parameters

playerId
string
required

The player ID to retrieve

shopId
string

The originating Stash shop identifier (mirrors the shopId sent in webhooks)

environment
enum<string>
default:PAYMENT_ENVIRONMENT_UNSPECIFIED

Payment environment for the request

Available options:
PAYMENT_ENVIRONMENT_UNSPECIFIED,
PAYMENT_ENVIRONMENT_TEST,
PAYMENT_ENVIRONMENT_PRODUCTION

Response

A successful response.

player
Player · object

Represents a player in the system