Z Zise Developers

申请状态

GET /v1/cards/applications/{id} scope: cards:read
代会员调用 · 必带 x-on-behalf-of

这里的 status 是内部原值,不是 POST 那三档裁剪值。你会在这里直接看到 pending_merchant_funds(= 你的预付不够了)、pending_review(等我方人工审)、allocating / picking / shipped / awaiting_bind / binding / pending_activation(实体卡履约的六档)。default 分支不要 fallback 成「处理中」 —— 原样回显给你的运营,认不出的值我方会在变更日志里登记。

实体卡的事实终态是 pending_activationcards 行此时已经存在,没有任何流程会把申请单再往前推)—— 别等一个永远不来的 issued

路径参数

字段类型必填说明
id string 必填 申请单 id。带不带 cap_ 前缀都收。
字段类型必填说明
x-on-behalf-of string 必填 代哪个会员调用。必须是这张单的主人 —— 不是则回 404。

响应

200OK
{
  "id": "cap_1b7d90c4-5e2a-4f18-83b6-0c7a4d1e9f22",
  "status": "pending_activation",
  "form_factor": "physical",
  "failure_code": "",
  "supplement": null,
  "created_at": "2026-08-01T02:11:43.000Z"
}
404not_found 单不存在,或不在这个会员/这个商户名下

深入说明

supplement:没有待办工单时是 null,不是缺字段

申请单进 need_docs 时它变成一个对象:

  • status —— pending(等会员交材料,要催他)/ submitted(已交等上游复核,催了也没用);
  • required_items —— 取值 cert_front / cert_back / address / name / birth / cert_id / other。**认不出上游给的原因时回落成 ["other"],不会给空数组** —— 一屏「需要补件」而下面什么都没有,用户根本不知道要交什么;
  • deadline —— 这条线的截止时间是真的(与汇款补件刻意给 null相反):过期后申请单转 failed 并退开卡费。空串 = 老数据没设过;
  • submit_via —— 恒为POST /v1/cards/applications/{id}/supplement-sessions不是一条现成的 URL。托管屏的链接是一次性的(绑会员 + 绑这张工单+ 24 小时),预先塞进详情等于把它变成常驻链接:详情会被反复读、被日志记下来、被转发,而那条 URL 能以这个会员的名义提交材料。要交材料时现调一次拿 hosted_url
请求
curl -X GET 'https://api.zise.com/v1/cards/applications/{id}' \
  -H 'x-auth-token: Bearer $TOKEN' \
  -H 'x-on-behalf-of: $MEMBER_ID'
const res = await fetch("https://api.zise.com/v1/cards/applications/{id}", {
  method: "GET",
  headers: {
    "x-auth-token": "Bearer $TOKEN",
    "x-on-behalf-of": "$MEMBER_ID",
  },
});
// 金额按字符串读,别让它变成 number
const data = await res.json();
import requests

res = requests.get(
    "https://api.zise.com/v1/cards/applications/{id}",
    headers={
        "x-auth-token": "Bearer $TOKEN",
        "x-on-behalf-of": "$MEMBER_ID",
    },
)
# 金额用 Decimal(str(...)),不要 float
data = res.json()
req, _ := http.NewRequest("GET", "https://api.zise.com/v1/cards/applications/{id}",
    nil)
req.Header.Set("x-auth-token", "Bearer $TOKEN")
req.Header.Set("x-on-behalf-of", "$MEMBER_ID")
res, err := http.DefaultClient.Do(req)
// 金额字段用 string 接,不要 float64
HttpRequest req = HttpRequest.newBuilder()
    .uri(URI.create("https://api.zise.com/v1/cards/applications/{id}"))
    .header("x-auth-token", "Bearer $TOKEN")
    .header("x-on-behalf-of", "$MEMBER_ID")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
// 金额字段用 String / BigDecimal,不要 double
$ch = curl_init('https://api.zise.com/v1/cards/applications/{id}');
curl_setopt_array($ch, [
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => [
    'x-auth-token: Bearer $TOKEN',
    'x-on-behalf-of: $MEMBER_ID',
  ],
]);
$res = curl_exec($ch);
// 金额用 bcmath / 字符串,不要 floatval
200
{
  "id": "cap_1b7d90c4-5e2a-4f18-83b6-0c7a4d1e9f22",
  "status": "pending_activation",
  "form_factor": "physical",
  "failure_code": "",
  "supplement": null,
  "created_at": "2026-08-01T02:11:43.000Z"
}