交易请求报文
<?xml version="1.0" encoding="GBK"?><business_trans> <request_type>bind_pos_request</request_type> <isspid>39493002</isspid> <pos_id>1511300001</pos_id> <pos_seq>1511300000001</pos_seq> <user_id>user01</user_id> <system_id>8888</system_id> <store_info> <store_id>1511300001</store_id> <store_name>门店名称</store_name> <store_addr>门店地址</store_addr> <contact>门店联系人</contact> <contact_tel>13900000000</contact_tel> <province>福建</province> <city>福州</city> <town>鼓楼</town> </store_info></business_trans>
交易请求报文说明
| 节点名称 | 中文名称 | 类型 | 说明 | 是否必填 |
|---|
| request_type | 请求类型 | String(32) | 标识请求报文的类型,固定为bind_pos_request | 必填 |
| isspid | 商户号 | String(8) | 接入SP的ID号,为翼码平台的提供的业务商机构号 | 必填 |
| pos_id | 终端号 | String(20) | 终端号(对方自定义的终端号) | 必填 |
| pos_seq | 终端流水号 | String(32) | 该接口流水号可选填,便于日志定位 | 可选 |
| user_id | 操作员标识 | String(20) | 终端操作员号,对应于外部POS终端的操作员编号 | 可选 |
| system_id | 系统平台号 | String(4) | 由翼码提供 | 必填 |
| store_info->store_id | 门店编号 | String(20) | 门店编号 | 必填 |
| store_info->store_name | 门店名称 | String(100) | 门店名称(50个中文) | 必填 |
| store_info->store_addr | 门店地址 | String(100) | 门店地址 | 可选 |
| store_info->contact | 门店联系人 | String(32) | 门店联系人 | 可选 |
| store_info->contact_tel | 门店联系电话 | String(32) | 门店联系电话 | 可选 |
| store_info-> province | 门店省份 | String(32) | 门店省份 | 可选 |
| store_info-> city | 门店城市 | String(32) | 门店城市 | 可选 |
| store_info-> town | 门店城镇 | String(32) | 门店城镇 | 可选 |
交易返回报文
<?xml version="1.0" encoding="GBK"?>
<business_trans>
<response_type>bind_pos_response</response_type>
<isspid>39493002</isspid>
<pos_id>123456789</pos_id>
<pos_seq>000000000001</pos_seq>
<sys_seq>000000000244</sys_seq>
<trans_time>20090405010104</trans_time>
<result>
<id>0000</id>
<comment>成功</comment>
</result>
</business_trans>
交易返回报文说明
| 节点名称 | 中文名称 | 类型 | 说明 | 是否必填 |
|---|
| response_type | 返回类型 | String(32) | 标识返回报文的类型,固定为bind_pos_response | 必填 |
| isspid | 商户号 | String(8) | 接入SP的ID号,由翼码平台分配给ipos接入受理商户的机构号 | 必填 |
| pos_id | 终端号 | String(20) | 终端号 | 必填 |
| pos_seq | 终端流水号 | String(32) | 终端交易流水号和请求报文的交易流水相同 | 必填 |
| trans_time | 交易时间 | String(14) | 交易时间,格式:yyyymmddhh24miss | 必填 |
| result->id | 响应码 | String(4) | 翼码平台返回的处理结果,0000-成功,其它失败,错误信息说明见“响应码解释”字段 | 必填 |
| result->comment | 响应码解释 | String(64) | 响应码对应中文注解,用于显示提示 | 必填 |