Payment

Top up a Steam account wallet, paid from your Waxpeer balance

Changed on

Debits 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).

post/v1/steam-topup

Request

  • Base URL
    https://api.waxpeer.com
  • Auth
    none declared

Query parameters

apistring required

Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>

Request body

steam_loginstring required

Steam account login to top up

amountinteger required

Gross amount to debit from your balance, 1000 = $1

custom_idstring

Your unique id for this top-up (A-Za-z0-9_- max 50 chars). Unique per your account; reusing it returns the existing top-up (idempotent)

Example request

{
  "steam_login": "gaben",
  "amount": 5000,
  "custom_id": "order-123"
}

Response

Top-up state

successboolean
msgstring nullable

Null on success, error message otherwise, e.g. Max $1,000 per Steam top-up after your discount

code'kyc_required' | 'withdraw_hold'

Only on some refusals: kyc_required = finish identity verification to send this; withdraw_hold = this amount includes deposit funds that are still on hold

holdUntilstring date-time

With code: withdraw_hold, when the held funds are expected to be released, if known

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 code to the response with the status

    • info

      added the optional property holdUntil to the response with the status