BuyAccX Reseller API v1
把 BuyAccX 服务接进你的网站
使用一个平台帐号余额,统一查询商品与库存、建立订单并取得交付结果。
幂等下单每把 Key 每分钟 60 次
登入后即可建立 API Key
API 使用网站帐号余额结算,不会取得管理后台权限。
端点总览
所有端点使用 JSON;写入订单时必须提供唯一的 idempotency_key。
商品与订单
读取目前可售库存、平台售价、余额、建立订单及取得发货内容。
GET /catalog/productsGET /catalog/products/{id}GET /balancePOST /ordersGET /ordersGET /orders/{id}社群服务
查询服务、预估价格、下单及读取订单状态。
GET /smm/servicesPOST /smm/quotePOST /smm/ordersGET /smm/orders邮箱与查询工具
产生临时邮箱、读取邮件、查询公开帐号状态与邮箱登录入口。
POST /mailboxesGET /mailboxes/{token}/messagesGET /mailboxes/{token}/messages/{id}POST /tools/profile-checkPOST /tools/email-login接码与节点
读取统一目录与报价、购买服务及查询结果;API 不显示实际服务来源。
GET /sms/catalogPOST /sms/quotePOST /sms/ordersGET /sms/orders/{id}POST /sms/orders/{id}/cancelGET /proxy/catalogPOST /proxy/quotePOST /proxy/orders验证连接
curl "https://buyaccx.com/api/v1/balance" \
-H "Authorization: Bearer YOUR_API_KEY"建立商品订单
curl -X POST "https://buyaccx.com/api/v1/orders" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"product_id":"PRODUCT_ID","quantity":1,"idempotency_key":"order-20260919-001"}'回应与安全规则
验证
使用 Authorization: Bearer,金钥仅能放在你的服务器,不能写进浏览器前端。
余额与价格
所有金额为 USD 平台售价,并直接从该 BuyAccX 帐号可用余额扣除。
错误格式
失败会回传稳定的错误代码与 request_id。