H5支付
全球收单-SandBox环境
全球收单-SandBox环境
POST
/cashier
wechatH5
请求参数
Body 参数application/x-www-form-urlencoded
appId
string
网站域名(128)
示例值:
www.pay.com
autoRedirect
string
可选
示例值:
false
echoParam
string
可选
示例值:
echoParam
gatewaySource
string
可选
示例值:
useepay
merchantNo
string
必需
示例值:
500000000007245
notifyUrl
string
可选
示例值:
https://gatewaytest.useepay.com/notifyV2u0
orderInfo
string
订单详情:
示例值:
{"shippingAddress":{"email":"amber.lei@useepay.com","phoneNo":"123","firstName":"amber","lastName":"lei","street":"118 trenton drive","postalCode":"37830","city":"city","state":"Tennessee","country":"US"},"subject":"订单标题","goodsInfo":[{"id":"商品编号","name":"商品名称","body":"商品描述","category":"商品类目","categoryTree":"商品类目树,不同级别类目使用”|”分割","brand":"商品品牌","quantity":1,"price":1234,"url":"商品url","sku":"商品sku","image":"商品图片url"}]}
payerInfo
string
付款人信息
示例值:
{"paymentMethod":"wechat_h5","authorizationMethod":"cvv","firstName":"amber","lastName":"lei","billingAddress":{"houseNo":"102","email":"amber.lei@useepay.com","phoneNo":"1235854433","firstName":"amber","lastName":"lei","stlogreet":"7148 Pacific Blvd, Huntington Park, CA","postalCode":"90225","city":"Huntington Park","state":"CA","country":"MX","street":"street"}}
redirectUrl
string
同步通知地址
示例值:
http://192.168.1.56:8003/redirectV2u0
sign
string
必需
示例值:
505f3091cb56e5569b9c74e2767000cc
signType
string
必需
示例值:
MD5
terminalType
string
必需
示例值:
WEB
transactionExpirationTime
string
必需
示例值:
120
transactionId
string
可选
示例值:
202305260151415
transactionType
string
必需
示例值:
pay
userInfo
string
必需
示例值:
{"ip":"127.0.0.1","email":"amber.lei@useepay.com"}
version
string
版本 固定1.0
示例值:
1.0
示例代码
返回响应
修改于 2024-04-27 17:19:51