2026.04.17 更新
Steam 充值 API
Play Wallet 为 Steam 账户充值提供完全开放的 API。任何人 — 个人或公司 — 都可以接入,并以最低 1 美元起开始为 Steam 充值。
本页内容
介绍
我们不以任何方式限制 API 的使用。无需与我们签订合同或办理任何手续 — 所有交互均建立在对平台的信任之上。
交易量
我们的 API 被交易者、Steam 投资者和游戏商店积极使用。Play Wallet 商家 2023–2026 年的交易额超过 200 万美元。
支持的 Steam 国家/地区
目前,支持以下区域的账户充值:
API 接入需要什么?
要使用 API,您需要:
Steam 充值 API 如何运作?
在当前版本中,我们的 API 仅与 Bybit 账户协作。主要目的是确保到达我们加密钱包的资金的合法性。
API 基于通过 UID 的自动 Bybit 内部转账。
- 您在 Bybit 交易所创建账户并充值。
- 您将希望用于 Steam 账户充值的金额发送到我们的 Bybit 账户。
- 我们立即将其计入您的账户。
- 您可以开始为账户充值并工作。
API 使用图示
手续费率
您的初始手续费仅为 2%。之后,如果您生成的交易量超过:
如何接入 API?
要快速接入我们的 API,请按以下步骤操作:
- 打开: 用于 API 的 Telegram 机器人 并按下「Start」:
/start开始使用机器人 - 通过命令向机器人提供以下信息:
/set_email输入您的 Bybit 账户邮箱/edit_ip添加 DEV 服务器 IP 地址/edit_ip添加 PROD 服务器 IP 地址 - 请求访问令牌:
/tokens获取 DEV 和 PROD 的令牌 - 然后您可以继续集成。
可用的机器人命令
/help显示命令列表/set_language更改语言/balance显示您的余额/commission当前手续费率/top_up账户充值说明/tokens显示访问令牌/ip_list允许的 IP 列表/edit_ip编辑列表中的 IP/set_email设置 Bybit 邮箱/email显示 Bybit 邮箱/orders_export交易历史/deposits_export充值历史API 接入常见问题
- PROD 版本和 DEV 环境可以使用同一个服务器 IP 地址。
- 您在自己一方设置用户支付;通过我们的 API,您只是在 Steam 上为用户入账。
- 您在我们 API 中充值余额、接收用户付款(以您选择的任何方式),如果一切正常,就将资金计入用户。我们从您的余额中扣除订单金额。
测试 / DEV 版本
在 DEV 版本中,您无需充值余额或为订单付款。主要目标是确保所有 API 请求都被正确处理且返回不带错误的响应。
https://dev.merchant.playwallet.bot/api/merchant/然后您可以继续进行 PROD 版本的集成。
充值余额以创建交易
一旦 PROD 版本完全准备好,您就可以开始创建为 Steam 账户充值的订单。然而,首先您需要充值您的余额。
从您的 Bybit 账户通过内部转账向我们的账户发送超过 1 USDT。每次余额用完时,您都通过这种方式充值。
我们的 Bybit 账户 UID 详情:
137 323 163Bybit UID 内部转账指南
- 登录到您的 Bybit 账户 (账户必须使用您先前提供给我们的邮箱注册)。
- 在 Bybit 中将鼠标悬停在个人资料上,然后点击「Withdraw」。
- 选择币种 — USDT。
- 指定为内部转账(Internal)。
- 输入目标账户 UID — 137323163。
- 输入提币金额,然后点击「Confirm」。
发送后,资金将在一分钟内到达您的 API 余额,您可以开始创建订单。
如果在发送订单时出错,例如选择了错误的币种, 联系我们,我们将退还您的资金。
API 参考
https://merchant.playwallet.bot/api/merchant/授权
所有 API 请求必须使用通过 pw-api-key 头传递的 API 密钥进行授权。客户端 IP 必须在该商家允许的 IP 地址列表中。
pw-api-key商家 API 密钥GET/get-balance
获取商家余额及可付款服务列表。
头
pw-api-key商家 API 密钥curl "https://merchant.playwallet.bot/api/merchant/get-balance" \ --header "pw-api-key: <API_KEY>"
{ "status": "success", "message": "", "data": { "balance": "0.00", "frozenBalance": "0.00", "feeRatio": "0.0600", "services": [ { "id": "ff71c998-14be-4e3d-8ad3-0ffc8357265b", "name": "test", "minAmount": "0.25", "maxAmount": "200.00" } ] } }
POST/create-order/
创建新订单。
头
pw-api-key商家 API 密钥请求体
externalId客户端提供的唯一订单标识符。用于将订单与客户端的外部系统关联。serviceId客户端要订购的服务标识符。必须与系统中可用的服务之一匹配。amount以商家设置的货币表示的订单金额。必须是带两位小数的字符串。login为其创建订单的用户登录名。DEV 登录:123456789。curl "https://merchant.playwallet.bot/api/merchant/create-order/" \ --request POST \ --header "pw-api-key: <API_KEY>" \ --header "Content-Type: application/json" \ --data '{ "externalId": "ext-12345", "serviceId": "ff71c998-14be-4e3d-8ad3-0ffc8357265b", "amount": "150.00", "login": "user123" }'
{ "status": "success", "message": "", "data": { "id": "72cf5503-ae6a-45af-97b8-aae3a0731687", "status": "queued", "externalId": "7", "serviceId": "ff71c998-14be-4e3d-8ad3-0ffc8357265b", "amount": "1.00", "amountFee": "0.03", "feeRatio": "0.03", "createdDateTime": "2024-04-18T17:36:55.453116", "expiredDateTime": "2024-04-18T17:46:55.453069", "completedDateTime": null } }
POST/pay-order/
为已创建的订单付款。
头
pw-api-key商家 API 密钥请求体
"72cf5503-ae6a-45af-97b8-aae3a0731687""2024-04-18T17:36:55.453116""72cf5503-ae6a-45af-97b8-aae3a07316872024-04-18T17:36:55.453116"SHA512("72cf5503-ae6a-45af-97b8-aae3a07316872024-04-18T17:36:55.453116")db8e5992e47c48b46f59ecdd1789cc525f4061a52fbf8200dbdab4bc0929de9cf2f61bd8725314440c498a694176b06a2faec22776be4dc8123fffee14b027a5curl "https://merchant.playwallet.bot/api/merchant/pay-order/" \ --request POST \ --header "pw-api-key: <API_KEY>" \ --header "Content-Type: application/json" \ --data '{ "id": "72cf5503-ae6a-45af-97b8-aae3a0731687", "externalId": "ext-12345", "token": "db8e5992e47c48b46f59ecdd1789cc525f4061a52fbf8200dbdab4bc0929de9cf2f61bd8725314440c498a694176b06a2faec22776be4dc8123fffee14b027a5" }'
{ "status": "success", "message": "", "data": { "id": "b8509f61-17fd-4578-8529-7bfb29f14d39", "status": "queued", "externalId": "ext-12345", "serviceId": "ff71c998-14be-4e3d-8ad3-0ffc8357265b", "amount": "150.00", "amountFee": "0.00", "feeRatio": "0.00", "createdDateTime": "2024-04-16T03:07:16.739351", "expiredDateTime": "2024-04-16T03:34:14", "completedDateTime": null } }
GET/get-order/{id}
获取订单状态。
头
pw-api-key商家 API 密钥查询参数
id订单标识符curl "https://merchant.playwallet.bot/api/merchant/get-order/72cf5503-ae6a-45af-97b8-aae3a0731687" \ --header "pw-api-key: <API_KEY>"
{ "status": "success", "message": "", "data": { "id": "72cf5503-ae6a-45af-97b8-aae3a0731687", "status": "completed", "externalId": "7", "serviceId": "ff71c998-14be-4e3d-8ad3-0ffc8357265b", "amount": "1.00", "amountFee": "0.03", "feeRatio": "0.03", "createdDateTime": "2024-04-18T17:36:55.453116", "expiredDateTime": "2024-04-18T17:46:55.453069", "completedDateTime": "2024-04-18T17:44:31.974430" } }
GET/get-order-list/
获取商家订单历史。
头
pw-api-key商家 API 密钥查询参数
offset列表起始偏移量(默认 0)limit返回的订单数量(默认 10)curl "https://merchant.playwallet.bot/api/merchant/get-order-list/?offset=0&limit=10" \ --header "pw-api-key: <API_KEY>"
{ "status": "success", "message": "", "data": [ { "id": "8ca9e0bf-b45b-43c4-acb2-93f467b1760e", "status": "active", "externalId": "6", "serviceId": "ff71c998-14be-4e3d-8ad3-0ffc8357265b", "amount": "1.00", "amountFee": "0.03", "feeRatio": "0.03", "createdDateTime": "2024-04-18T17:33:13.510839", "expiredDateTime": "2024-04-18T17:43:13.510798", "completedDateTime": null }, { "id": "72cf5503-ae6a-45af-97b8-aae3a0731687", "status": "completed", "externalId": "7", "serviceId": "ff71c998-14be-4e3d-8ad3-0ffc8357265b", "amount": "1.00", "amountFee": "0.03", "feeRatio": "0.03", "createdDateTime": "2024-04-18T17:36:55.453116", "expiredDateTime": "2024-04-18T17:46:55.453069", "completedDateTime": "2024-04-18T17:44:31.974430" } ] }
订单状态
| 状态 | 描述 |
|---|---|
active | 等待付款确认 |
queued | 排队等待处理 |
completed | 已成功完成 |
error | 执行错误 — 订单未付款,账户无扣款 |
Steam 汇率 API
Steam 换算货币所用的汇率可通过一个独立的开放 API 获取,无需密钥,也无需注册。
https://steam-rates.playwallet.bot/GET/latest-rate/
某一货币对的最新汇率。
查询参数
currency_code货币代码,例如 RUBbase_currency_code基准货币代码,例如 USDcurl "https://steam-rates.playwallet.bot/latest-rate/?currency_code=RUB&base_currency_code=USD"
[ { "id": 37595, "currency_code": "RUB", "base_currency_code": "USD", "exchange_rate": 82.863, "date": "2026-11-13T00:00:00" } ]
GET/rates/
某一货币对在一段时间内的汇率:汇率更新的每一天一条记录。
查询参数
currency_code货币代码,例如 RUBbase_currency_code基准货币代码,例如 USDstart_date时间段的第一天,YYYY-MM-DDend_date时间段的最后一天,YYYY-MM-DDcurl "https://steam-rates.playwallet.bot/rates/?currency_code=RUB&base_currency_code=USD&start_date=2026-11-10&end_date=2026-11-11"
[ { "id": 37459, "currency_code": "RUB", "base_currency_code": "USD", "exchange_rate": 82.562, "date": "2026-11-10T00:00:00" }, { "id": 37527, "currency_code": "RUB", "base_currency_code": "USD", "exchange_rate": 83.063, "date": "2026-11-11T00:00:00" } ]
限制
目前无限制。
法律文件
我们不要求您提供也不提供任何确认合作的法律文件。
所有交互仅基于您对我们平台的信任。
拒绝或终止合作
我们保留在不作解释的情况下拒绝合作的权利。
若违反我们的协议条款,与您的合作将立即终止。
变更
我们保留根据自身判断更改和更新 API 信息的权利。虽然不预期频繁变更,但建议定期查看此页面以保持最新。
我们将在此部分通知所有重大变更。