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/checkAuthorization
AuthorizationRequiredBearer <token>
In: header
Request Body
application/jsonRequiredgameRequiredstring
Game type to check
Value in:
"FREE_FIRE" | "FREE_FIRE_SHELL" | "FREE_FIRE_SG" | "FREE_FIRE_ID"combinationRequiredarray<number>
Array of combination numbers
quantitynumber
Quantity to check
Ok