{
    "interfaceName": "银联前台模式订单推送",
    "interfaceCode": "unionPayFrontendOrderPush",
    "interfaceURL": "/unionPayFrontendOrderPush",
    "response": [
        {
            "name": "返回码",
            "fieldName": "respCode",
            "must": "Y",
            "fieldType": "String",
            "description": "返回码，详见数据字典“返回码”",
            "maxLength": "6"
        },
        {
            "name": "返回信息",
            "fieldName": "respMsg",
            "must": "Y",
            "fieldType": "String",
            "description": "返回信息，详见数据字典“返回信息”",
            "maxLength": "256"
        },
        {
            "name": "支付状态响应码",
            "fieldName": "statusCode",
            "must": "Y",
            "fieldType": "String",
            "description": "支付状态响应码，OO:成功, WI:需要轮询, FL：失败，返回码为“000000”时返回左侧字段",
            "maxLength": "2"
        },
        {
            "name": "支付状态响应信息",
            "fieldName": "statusMsg",
            "must": "Y",
            "fieldType": "String",
            "description": "支付状态响应信息",
            "maxLength": "100"
        },
        {
            "name": "重定向地址",
            "fieldName": "redirectUrl",
            "must": "Y",
            "fieldType": "String",
            "description": "收单机构在支付下单时，银联返回重定向地址，收单机构将URL地址通过302返回给浏览器",
            "maxLength": "200"
        },
        {
            "name": "商户通道交易订单号",
            "fieldName": "channelNo",
            "must": "Y",
            "fieldType": "String",
            "description": "银行系统生成，发往银联的交易订单号",
            "maxLength": "64"
        }
    ],
    "request": [
        {
            "name": "一级服务商机构编码",
            "fieldName": "merchantId",
            "must": "N",
            "fieldType": "String",
            "description": "商户系统",
            "maxLength": "15"
        },
        {
            "name": "商户号",
            "fieldName": "merchantNo",
            "must": "Y",
            "fieldType": "String",
            "description": "商户号",
            "maxLength": "15"
        },
        {
            "name": "商户流水号",
            "fieldName": "orderNo",
            "must": "Y",
            "fieldType": "String",
            "description": "商户流水号",
            "maxLength": "32"
        },
        {
            "name": "订单金额",
            "fieldName": "amount",
            "must": "Y",
            "fieldType": "String",
            "description": "订单金额，单位为元，精确到小数点后2位，例如：1.01,1.00",
            "maxLength": "10"
        },
        {
            "name": "网络地址（终端IP）",
            "fieldName": "occurAdd",
            "must": "N",
            "fieldType": "String",
            "description": "网络地址（终端IP），Ipv4格式：xx.xx.xx.xx Ipv6格式：xx:xx:xx:xx:xx:xx:xx:xx (注:1.Ipv6需转换为16进制;)",
            "maxLength": "40"
        },
        {
            "name": "交易设备GPS",
            "fieldName": "GPS",
            "must": "N",
            "fieldType": "String",
            "description": "交易设备GPS",
            "maxLength": "32"
        },
        {
            "name": "通知地址",
            "fieldName": "notifyUrl",
            "must": "Y",
            "fieldType": "String",
            "description": "商户通知地址",
            "maxLength": "200"
        },
        {
            "name": "终端类型",
            "fieldName": "terminalType",
            "must": "N",
            "fieldType": "String",
            "description": "终端类型，参考6.3设备类型数据字典，仅支持10-条码支付受理终端、11-条码支付辅助受理终端、13-MIS 终端",
            "maxLength": "2"
        },
        {
            "name": "终端序列号",
            "fieldName": "serialNum",
            "must": "N",
            "fieldType": "String",
            "description": "终端序列号",
            "maxLength": "50"
        },
        {
            "name": "终端编号",
            "fieldName": "terminalId",
            "must": "N",
            "fieldType": "String",
            "description": "终端编号，上送终端编号为已在我行系统注册的且终端状态启用，上送终端编号应与商户编号相互匹配",
            "maxLength": "8"
        },
        {
            "name": "终端入网认证编号",
            "fieldName": "networkLicense",
            "must": "N",
            "fieldType": "String",
            "description": "终端入网认证编号，由“中国银联标识产品企业资质认证办公室”通过入网认证的终端进行分配，格式：5 位字符，例如P3100",
            "maxLength": "5"
        },
        {
            "name": "银联服务商机构标识码",
            "fieldName": "pnrInsIdCd",
            "must": "N",
            "fieldType": "String",
            "description": "银联服务商机构标识码，银联分配的服务商机构标识码",
            "maxLength": "11"
        },
        {
            "name": "借贷标识",
            "fieldName": "limitPay",
            "must": "N",
            "fieldType": "String",
            "description": "借贷标识，no_credit--指定不能使用信用卡支付",
            "maxLength": "20"
        },
        {
            "name": "订单标题",
            "fieldName": "subject",
            "must": "Y",
            "fieldType": "String",
            "description": "订单标题，即购买的商品名称",
            "maxLength": "128"
        },
        {
            "name": "订单有效时间",
            "fieldName": "expireTime",
            "must": "N",
            "fieldType": "String",
            "description": "订单有效时间，单位为分钟，可上送范围：1-5区间的整数值，默认订单有效时间5分钟",
            "maxLength": "10"
        },
        {
            "name": "持卡人IP",
            "fieldName": "customerIp",
            "must": "Y",
            "fieldType": "String",
            "description": "持卡人确认付款时的IP地址，用于防钓鱼。需注意：无代理情况通过‘REMOTE_ADDR’获取IP地址，有代理情况通过‘REAL_IP’获取真实IP地址",
            "maxLength": "40"
        },
        {
            "name": "失败交易前台通知地址",
            "fieldName": "frontFailUrl",
            "must": "N",
            "fieldType": "String",
            "description": "失败交易前台通知地址，91-收款方向银联推送订单时上送的失败交易前台通知地址（仅允许为外网地址）APP侧未成功完成支付时调用，银联将通过GET方式访问本地址，银联将在frontFailUrl后附加付款中止原因码，原因码error_code取值如下：92-01-APP付款失败 93-用户取消支付",
            "maxLength": "200"
        },
        {
            "name": "用户开放标识",
            "fieldName": "userId",
            "must": "N",
            "fieldType": "String",
            "description": "用户在APP上的标识号，用户信息获取应答码不等于34时必送",
            "maxLength": "128"
        },
        {
            "name": "二维码类型",
            "fieldName": "qrCodeType",
            "must": "Y",
            "fieldType": "String",
            "description": "二维码类型，主扫场景下二维码的类型，取值如下： 0-动态码 1-静态码 若为1-静态码，控制500限额",
            "maxLength": "1"
        },
        {
            "name": "二维码",
            "fieldName": "qrCode",
            "must": "N",
            "fieldType": "String",
            "description": "二维码，商户上送行业码地址",
            "maxLength": "500"
        },
        {
            "name": "未成年支付控制",
            "fieldName": "isAdult",
            "must": "N",
            "fieldType": "String",
            "description": "未成年支付控制，1：限制，即该笔订单仅限成年人支付",
            "maxLength": "1"
        }
    ],
    "message": [
        {
            "name": "返回码",
            "fieldName": "respCode",
            "must": "Y",
            "fieldType": "String",
            "description": "返回码，详见数据字典“返回码”",
            "maxLength": "6"
        },
        {
            "name": "返回信息",
            "fieldName": "respMsg",
            "must": "Y",
            "fieldType": "String",
            "description": "返回信息，详见数据字典“返回信息”",
            "maxLength": "256"
        },
        {
            "name": "支付状态响应码",
            "fieldName": "statusCode",
            "must": "Y",
            "fieldType": "String",
            "description": "支付状态响应码，OO:成功, WI:需要轮询, FL：失败，返回码为“000000”时返回左侧字段",
            "maxLength": "2"
        },
        {
            "name": "支付状态响应信息",
            "fieldName": "statusMsg",
            "must": "Y",
            "fieldType": "String",
            "description": "支付状态响应信息",
            "maxLength": "100"
        },
        {
            "name": "重定向地址",
            "fieldName": "redirectUrl",
            "must": "Y",
            "fieldType": "String",
            "description": "收单机构在支付下单时，银联返回重定向地址，收单机构将URL地址通过302返回给浏览器",
            "maxLength": "200"
        },
        {
            "name": "商户通道交易订单号",
            "fieldName": "channelNo",
            "must": "Y",
            "fieldType": "String",
            "description": "银行系统生成，发往银联的交易订单号",
            "maxLength": "64"
        }
    ]
}