Withdrawal details
Call as the merchant; no x-on-behalf-of is required.
Nonexistent orders and orders belonging to another merchant return exactly the same 404. Distinguishing them would enable cross-merchant order probing, so do not use the response to infer whether a particular ID actually exists.
⚠⚠ amount differs from the response format of POST /v1/withdrawals. Order creation returns a decimal amount with its point inserted ("200.000000"). This endpoint and GET /v1/withdrawals, the list, return a fixed-point integer string using the asset's ledger_scale ("200000000"). This is historical; we will not silently change it, because clients already parsing it as an integer would miscalculate by 10^scale immediately upon deployment. Always restore the amount with the accompanying ledger_scale. Do not assume 6 decimals or reuse one parser across endpoints.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | Required | Withdrawal order ID. Accepted with or without the wdr_ prefix; we strip the prefix before querying. |
Response
{
"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"
}not_found: nonexistent or belonging to another merchant; the same response in both cases.curl -X GET 'https://api.zinfra.vip/v1/withdrawals/{id}' \
-H 'x-auth-token: Bearer $TOKEN'const res = await fetch("https://api.zinfra.vip/v1/withdrawals/{id}", {
method: "GET",
headers: {
"x-auth-token": "Bearer $TOKEN",
},
});
// Keep monetary amounts as strings, never numbers.
const data = await res.json();import requests
res = requests.get(
"https://api.zinfra.vip/v1/withdrawals/{id}",
headers={
"x-auth-token": "Bearer $TOKEN",
},
)
# Use Decimal(str(...)) for amounts, not float.
data = res.json()req, _ := http.NewRequest("GET", "https://api.zinfra.vip/v1/withdrawals/{id}",
nil)
req.Header.Set("x-auth-token", "Bearer $TOKEN")
res, err := http.DefaultClient.Do(req)
// Decode amount fields as string, not float64.HttpRequest req = HttpRequest.newBuilder()
.uri(URI.create("https://api.zinfra.vip/v1/withdrawals/{id}"))
.header("x-auth-token", "Bearer $TOKEN")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
// Use String / BigDecimal for amounts, not double.$ch = curl_init('https://api.zinfra.vip/v1/withdrawals/{id}');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'x-auth-token: Bearer $TOKEN',
],
]);
$res = curl_exec($ch);
// Use bcmath / strings for amounts, not floatval.
{
"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"
}