Topup ApiStock
Check Stocks
Check Stocks if available and get the stock details. This endpoint checks stock availability using Redis Sorted Sets with key pattern `stock:${ownerId}:${game}:${groupId}`. Each check verifies that sufficient quantities exist in the sorted sets before reserving them. The response indicates availability status and details about missing stock if any.
POST
/
stock
/check
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
application/json
Requiredgame
Requiredstring
Game type to check
Value in:
"FREE_FIRE" | "FREE_FIRE_SHELL" | "FREE_FIRE_SG" | "FREE_FIRE_ID"
combination
Requiredarray<number>
Array of combination numbers
quantity
number
Quantity to check
Ok