跳至正文内容
Back to API Reference
POST/api/v1/settlements

按需机构结算与跨机构划转 (POST /v1/settlements)

ENDPOINT OVERVIEW

POST /api/v1/settlements 支持随时将平台可用余额提现至商户自有账户,无 T+1/T+2 固定批次等待;提交前可通过 /me/balances 与 /me/limits 核对额度,提交后凭 settlement id 实时追踪(后台 USDT TRC20 窗口为每日 14:00 – 22:00 UTC+7)。

Protocol Rules

  • 同时支持提现至自有银行账户 (/v1/settlements) 及同一组织树内的跨机构划转(按机构代码解析并双向记账)。
  • 提交前可调用 GET /api/me/balances 与 GET /api/me/limits 校验各币种余额与限额。
  • 商户后台 USDT (TRC20) 结算处理窗口为每日 14:00 – 22:00 (UTC+7)。

Request Examples

curl -X POST https://api.example.com/api/v1/settlements \
  -H "Content-Type: application/json" \
  -H "X-API-Key: <your-api-key>" \
  -H "X-Timestamp: <unix-timestamp>" \
  -H "X-Signature: <hmac-sha256-of-path>" \
  -d '{
    "merchant_ref_id": "stl-20251204-001",
    "currency_code": "THB",
    "request_amount": 500000
  }'

Sample JSON Response

{
  "id": "0198cc40-19b2-7a04-8f21-33c81042e9aa",
  "merchant_ref_id": "stl-20251204-001",
  "status": "queued",
  "currency_code": "THB",
  "request_amount": 500000
}