说明

上传单个图片文件

请求地址

环境 请求地址
测试环境 https://pay.umxnt.com/api/basequery/webupload
正式环境

请求参数

参数 类型 是否必填 最大长度 描述
token string 令牌
attach_name string 附件的键名
type string wxauth :微信授权目录,微信其他配置文件 wxfile,其他 img
img_type string 图片类型:1-营业执照,2-身份证正面,3-身份证反面
  • 返回值示例 成功请求示例:

    {
        "data":{},
        "status":1
    }
    
  • 返回参数说明

参数 说明
data
img_url 成功的图片url链接
store_license_no 营业执照编号-仅img_type=1时返回
store_license_time 营业执照过期时间-仅img_type=1时返回
is_long_time 营业执照是否长期-仅img_type=1时返回,1为长期
sfz_name 身份证名字-仅img_type=2时返回
sfz_no 身份证号码-仅img_type=2时返回
sfz_time 身份证过期时间-仅img_type=3时返回
  • 失败请求示例

    {
        "msg":"无效参数",
        "status":0
    }
    

results matching ""

    No results matching ""