Topup ApiStock
Get Stocks
Get available stocks for the user across all games. This endpoint retrieves stock counts from Redis Sorted Sets using the pattern: `stock:${ownerId}:${game}:${groupId}` Each sorted set contains stock IDs that can be atomically checked out. The response provides counts of available stocks by game and amount. For accounts (like shell accounts), a separate structure is used.
GET
/
stock
Authorization
Authorization
RequiredBearer <token>
In: header
Query Parameters
game
string
Game type to get stocks for
Value in:
"FREE_FIRE" | "FREE_FIRE_SHELL" | "FREE_FIRE_SG" | "FREE_FIRE_ID"
Ok