webhook
全球收单-SandBox环境
https://pay-gateway1.uat.useepay.com
全球收单-SandBox环境
https://pay-gateway1.uat.useepay.com
POST
{notifyUrl}
说明
1.
2.
提示
通知频率 1m,3m,5m,10m,15m,15m,30m,1h
时序图
什么情况下会触发webhook?
resultCode | 说明 |
---|---|
succeed | 订单成功 |
failed | 订单失败 |
closed | 订单超时未支付关闭 |
cancelled | 指在交易完成之前被取消。通常是发生在预授权订单 |
pending_review | 预授权交易ok,等待预授权完成。此状态只有3d动态预授权才会返回 |
注意事项
注意
请求参数
Path 参数
notifyUrl
string
必需
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
Body 参数application/x-www-form-urlencoded
version
string
可选
示例值:
1.0
merchantNo
string
必需
示例值:
500000000007362
transactionId
string
必需
示例值:
202212070142347
originalTransactionId
string
可选
示例值:
originalTransactionId
reference
string
必需
示例值:
reference
transactionType
string
必需
示例值:
pay
amount
string
必需
示例值:
1234
currency
string
可选
示例值:
USD
errorMsg
string
可选
示例值:
0000
echoParam
string
可选
示例值:
echoParam
signType
string
MD5/RSA
示例值:
MD5
sign
string
必需
示例值:
decb3b9b728c7af4251acae23804939b
issuerResponse
string
可选
示例值:
{"issuerResponseMsg":"Not sufficient funds","issuerResponseCode":"51"}
reserved
string
可选
示例代码
返回响应
修改于 2024-12-13 06:30:48