测试环境商家账户是用来进行支付业务体验的账号,交易中产生的一切信息均为生产环境数据,由于体验业务特点,不会产生清算资金划拔,所以使用测试商家账号时请务必使用小额支付(建议:小于0.1元)。
curl --location --request POST 'https://notify-test.easypay.com.cn/WorthTech_Access_AppPaySystemV2/apppayacc' \
--data-urlencode 'termid=32773796' \
--data-urlencode 'tradeamt=100' \
--data-urlencode 'opt=wxPreOrder' \
--data-urlencode 'tradetrace=3453465756756345345' \
--data-urlencode 'sign=F00A743746545AC9ED8EFFE639627770' \
--data-urlencode 'terminalinfo={\"location\":\"+37.12/-121.213\"}' \
--data-urlencode 'merid=531000012973385' \
--data-urlencode 'body=测试被扫支付' \
--data-urlencode 'channelid=D01X00000801264' \
--data-urlencode 'notifyurl=https://notify-test.eycard.cn:7443/WorthTech_PayChannelModule_V1/Channel008/UnionPay_Weixin_Servlet' \
--data-urlencode 'tradetype=JSAPI' \
--data-urlencode 'openid=o0SM66OpPWm7YyfiILDW-PQtIzxU'
{
"termid": "string",
"opt": "string",
"tradetrace": "string",
"tradetype": "string",
"merid": "string",
"resultcode": "string",
"channelid": "string",
"prepayid": "string"
}