Z Zise Developers

提现详情

GET /v1/withdrawals/{id} scope: withdrawals:read
商户自身

以商户主体调用,不需要 x-on-behalf-of

「不存在」与「属于别的商户」返回完全相同的 404 ——

区分开就等于给了一个跨商户订单探测接口,所以不要据它判断某个 id

是否真的存在。

⚠⚠ amountPOST /v1/withdrawals 的响应形态不同。

下单那一步回的是插好小数点的十进制("200.000000"),这里与

GET /v1/withdrawals(列表)回的是**该资产 ledger_scale 位的

定点整数串**("200000000")。这是历史遗留,我方不会悄悄改它 ——

改一次,已经按整数解完的调用方会在部署那一刻把金额算大 10^scale 倍。

请一律用随行的 ledger_scale 还原,**不要假定 6 位、也不要跨端点

复用同一个解析器**。

路径参数

字段类型必填说明
id string 必填 提现单号。带不带 wdr_ 前缀都认 —— 我方会先剥前缀再查。

响应

200OK
{
  "id": "wdr_9f1c0b2a-4d33-4a51-9f2e-7c1b0a5d6e88",
  "external_member_id": "u_10023",
  "asset": "USDT",
  "amount": "200000000",
  "ledger_scale": 6,
  "to_address": "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed",
  "status": "locked",
  "created_at": "2026-08-12T09:31:02.881Z"
}
404not_found 不存在 / 属于别的商户 —— 两种同一响应
请求
curl -X GET 'https://api.zise.com/v1/withdrawals/{id}' \
  -H 'x-auth-token: Bearer $TOKEN'
const res = await fetch("https://api.zise.com/v1/withdrawals/{id}", {
  method: "GET",
  headers: {
    "x-auth-token": "Bearer $TOKEN",
  },
});
// 金额按字符串读,别让它变成 number
const data = await res.json();
import requests

res = requests.get(
    "https://api.zise.com/v1/withdrawals/{id}",
    headers={
        "x-auth-token": "Bearer $TOKEN",
    },
)
# 金额用 Decimal(str(...)),不要 float
data = res.json()
req, _ := http.NewRequest("GET", "https://api.zise.com/v1/withdrawals/{id}",
    nil)
req.Header.Set("x-auth-token", "Bearer $TOKEN")
res, err := http.DefaultClient.Do(req)
// 金额字段用 string 接,不要 float64
HttpRequest req = HttpRequest.newBuilder()
    .uri(URI.create("https://api.zise.com/v1/withdrawals/{id}"))
    .header("x-auth-token", "Bearer $TOKEN")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
// 金额字段用 String / BigDecimal,不要 double
$ch = curl_init('https://api.zise.com/v1/withdrawals/{id}');
curl_setopt_array($ch, [
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => [
    'x-auth-token: Bearer $TOKEN',
  ],
]);
$res = curl_exec($ch);
// 金额用 bcmath / 字符串,不要 floatval
200
{
  "id": "wdr_9f1c0b2a-4d33-4a51-9f2e-7c1b0a5d6e88",
  "external_member_id": "u_10023",
  "asset": "USDT",
  "amount": "200000000",
  "ledger_scale": 6,
  "to_address": "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed",
  "status": "locked",
  "created_at": "2026-08-12T09:31:02.881Z"
}