Check whether a Steam login can be topped up
Changed onRuns the same validation as POST /v1/steam-topup without moving money. valid: true means the login is supported for top-up. Pass amount to also get the exact give_amount the top-up would deliver (give_amount = floor(amount × 10000 / price_bp), all in 1000 = $1 units. price_bp is what your account pays from its Waxpeer balance per $1 of Steam credit, ×10000: 10000 = face value (the default), 9600 = $96 for $100 on Steam (a 4 % discount), 10250 = $102.50 for $100. An account still on an older fee-based rate has price_bp: null and gets give_amount = amount − floor(amount × fee_bp / 10000) instead; GET /v1/steam-topup/validate?amount= always reports the exact give_amount. No other fee applies to Steam top-ups. give_amount must be between 100 ($0.10) and 1000000 ($1,000, the per-top-up cap of our Steam provider); outside that the top-up is refused before any money moves (e.g. Max $1,000 per Steam top-up after your discount).) and the same amount checks as POST (success: false with msg on an invalid amount, one outside the min/max, or one whose give_amount is outside $0.10..$1,000).
Request
- Base URLhttps://api.waxpeer.com
- Authnone declared
Query parameters
Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>
Steam account login to validate
Optional gross amount to quote, 1000 = $1
Response
Validation result
Example response
{
"success": true,
"valid": true,
"msg": "Steam account is not available for top-up",
"amount": 5000,
"give_amount": 5208,
"price_bp": 9600,
"fee_bp": -417
}Changes
- info
added the optional property
price_bpto the response with the status
- info
- info
added the new optional
queryrequest parameteramount - info
added the optional property
amountto the response with the status
2 more changes in this revision
- info