Top up a Steam account wallet, paid from your Waxpeer balance
Changed onDebits amount from your Waxpeer balance and credits the Steam account give_amount: 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). Quote it first with GET /v1/steam-topup/fee or GET /v1/steam-topup/validate?amount=. Passing the same custom_id twice returns the existing top-up instead of creating a second one, so retries are safe. Poll GET /v1/steam-topup for the final status: canceled means the money was returned to your balance. Refusals come back as success: false with msg; some also carry a machine-readable code: kyc_required (msg Insufficient funds: identity verification is what blocks the debit) and withdraw_hold (deposit funds still on hold, see holdUntil).
Request
- Base URLhttps://api.waxpeer.com
- Authnone declared
Query parameters
Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>
Request body
Example request
{
"steam_login": "gaben",
"amount": 5000,
"custom_id": "order-123"
}Response
Top-up state
Example response
{
"success": true,
"code": "withdraw_hold",
"topup": {
"id": 812345,
"custom_id": "order-123",
"status": "completed",
"amount": 5000,
"give_amount": 4875,
"steam_login": "gaben"
}
}Changes
- info
added the optional property
codeto the response with the status - info
added the optional property
holdUntilto the response with the status
- info