/player/validate
Validate Player
Validate a player ID for a specific game. Include the dynamic requirement fields returned by the Get Category Requirements endpoint.
Rate limitHas its own rate limiter
Note: Use the Get Category Requirements endpoint to discover which fields are needed for each game. Include all required fields in the request body.
Request body
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| sub_category_id | number | Yes | The subcategory ID of the product. Use Catalog Explorer to find this. | 999 |
| player_id | string | Yes | The in-game player ID. | 123456789 |
| ...requirements | varies | No | Additional fields from the Get Category Requirements endpoint. Include each field_name as a key with the user-provided value. | "server": "Asia" |
curl -s -X POST "https://shop2topup.com/api/endpoints/v1/player/validate" \
-H "Authorization: Bearer YOUR_KEY_ID.YOUR_KEY_SECRET" \
-H "Content-Type: application/json" \
-d '{
"sub_category_id": 999,
"player_id": 123456789
}'{
"success": true,
"player": {
"player_id": "123456789",
"player_name": "ProGamer99",
"region": "Asia"
}
}