RevealClaimingCode

Reveal Claiming Code endpoint documentation

Endpoint: /instantPlayPass/reveal/claimingCode Method: POST

{
    sessionJwt: string; // IPP Session JWT token
}

Example Usage

const timestamp = Date.now().toString();
const body = {
    sessionJwt: 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9...' // IPP Session JWT from registration
};

const hmac = generateHmacSignature(timestamp, body, secretKey);

const response = await axios.post(apiEndpoint + '/instantPlayPass/reveal/claimingCode', body, {
    headers: {
        apikey: apiKey,
        signature: hmac,
        timestamp: timestamp
    }
});

// Get the claiming code
const { claimingCode } = response.data;

Last updated