---
title: "Top up a Steam account wallet, paid from your Waxpeer balance"
method: POST
path: "/v1/steam-topup"
tags: ["Payment"]
---

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

`POST /v1/steam-topup`

## Request

- Base URL: `https://api.waxpeer.com`
- URL: `https://api.waxpeer.com/v1/steam-topup`
- Auth: none declared

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

## Query parameters

- `api` string, required

## Request body

- object
  - `steam_login` string, required: Steam account login to top up
  - `amount` integer, required: Gross amount to debit from your balance, 1000 = $1
  - `custom_id` string: 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)

## Response `200`

Top-up state

- object
  - `success` boolean
  - `msg` string, 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
  - `holdUntil` string, date-time: With `code: withdraw_hold`, when the held funds are expected to be released, if known
  - `topup` SteamTopup
    - `id` integer: Waxpeer pay id, use it to check status
    - `custom_id` string, nullable: Your custom_id passed on creation, null if none was passed
    - `status` 'created' | 'sending' | 'completed' | 'canceled' | 'error': created/sending = in flight; completed = Steam wallet credited (terminal); canceled = failed and fully refunded to your Waxpeer balance (terminal); error = failed ambiguously, contact support (terminal, not auto-refunded)
    - `amount` integer: Gross amount debited from your balance, 1000 = $1
    - `give_amount` integer: Amount sent to the Steam wallet, 1000 = $1: floor(amount × 10000 / price_bp), or amount − floor(amount × fee_bp / 10000) on an older fee-based rate; at most 1000000 ($1,000). Above `amount` when your price is a discount
    - `steam_login` string: Steam account login being topped up
    - `created` string, date-time
    - `updated` string, date-time

## Changes

- **2026-10-22** `920f3678fc36`: 2 info
  - added the optional property `code` to the response with the `200` status
  - added the optional property `holdUntil` to the response with the `200` status

[Operation history](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/changes/v1/steam-topup/post.md)

---

[API](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system.md) - [All operations](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/llms.txt) - [OpenAPI document](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/revisions/dd3dfdd641bb?raw)
