1.报文举例-获取token:
请求URL:
https://openapi.unionpay.com/upapi/cardbin/token?app_id=[value]&app_secret=[value]
应答JSON报文体:
{ "respCd":"0000" "respMsg":"成功" "token": "", "expire_in": 7200 }
2.报文举例-非标商户信息查询
请求URL:
https://openapi.unionpay.com/upapi/nonmchntqry/nsmqry?token=[token]&sign=[sign]&ts=[ts]
请求报文参数:
{ "ins_cd":"01020000", "mchnt_cd":"HGT000000000050" }
应答JSON报文体:
{ "data":{ "RISK_AUD_IDEA":"", "ACQ_INS_ID_CD":"0801023310", "MCHNT_CD":"HGT000000000050", "MCHNT_TP":"5812", "SPEC_DISC_LVL":"0", "ACPT_INS_ID_CD":"0812343310", "REC_UPD_TS":"2018-08-07 14:00:21.596576", "REQ_DT":"", "DIRECT_ACQ_SETTLE_IN":"0", "SETTLE_AUD_IDEA":";ok", "TRANS_AUD_IDEA":"", "SPEC_DISC_TP":"00", "REC_CRT_TS":"2018-08-07 14:00:21.596576" }, "respMsg":"", "respCd":"0000" }