1. 报文举例-获取token:
请求URL:
https://openapi.unionpay.com/upapi/cardbin/token?app_id=[value]&app_secret=[value]
应答JSON报文体:
{
"respCd":"0000"
"respMsg":"成功"
"token": "fsddfssseessseee",
"expire_in": 7200
}
2.报文举例-查询代付限额
请求URL:
https://openapi.unionpay.com/upapi/xeaap/queryaap?token=[token]&sign=[sign]&ts=[ts]
请求报文参数:
{
"acctId":"77777777"
}
应答JSON报文体:
{
“respCd”:“0000”,
“respMsg”: “”,
"data":{
“acctId”: “77777777”,
“acctR0”: “100.00”,
“acctR1”: “500.00”
“acctR2”: “1000.00”
“r0UpdTs”: “2018-08-23 00:00:00”
“r1UpdTs”: “2018-08-23 00:00:00”
“r2UpdTs”: “2018-08-23 00:00:00”
}
}