跳到正文

订单审核驳回,再次提交

订单审核驳回后,重新上传照片并完成制作,携带原订单号与新的 pic_id 再次提交审核。

接口地址:https://api.zjzapi.com/receipt/submit

请求方式:POST(application/x-www-form-urlencoded)

返回格式:json

接口费用:订单办理完成扣费,7元每单;若选择打印邮寄服务再增加7元。

请求参数:

名称 必填 类型 说明
key 是 string 应用的key
pic_id 是 int 制作接口返回的pic_id,有效期50分钟。
order_no 是 int 上次提交的订单号
notice_url 是 string 回调地址
param 否 string 附加参数(json),具体查看每个规格的要求,如下广东驾驶证:

{"text_mobile":"13800138000","text_city":"深圳","image_idcard":"iVBORw0KGgoiVBORw0KGgo...."}

返回参数:

名称 类型 说明
code int 状态码
msg string 返回说明
data array 数据集

JSON返回示例:


{
    "data": {
        "order_no": "20210616134106190536"
    },
    "code": 0,
    "msg": "提交成功"
}

请求示例代码:

请替换占位值后在服务端运行;凭据和应用 key 不要放入浏览器代码。HTTP 成功后仍需按接口文档检查业务 code。 param 的 {} 仅为结构占位,请按回执规格填写所需 JSON 资料;notice_url 必须是你实际部署、平台可访问的回调地址。 使用原订单号及重新制作得到的新 pic_id。

# Bash / zsh,cURL 7.76+;Windows 可使用 Git Bash 或 WSL。
curl --fail-with-body --max-time 60 --request POST 'https://api.zjzapi.com/receipt/submit' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'key=YOUR_APP_KEY' \
  --data-urlencode 'pic_id=NEW_PIC_ID' \
  --data-urlencode 'order_no=ORIGINAL_ORDER_NO' \
  --data-urlencode 'notice_url=https://your-domain.example/receipt/notice' \
  --data-urlencode 'param={}'