订单支付完成事件
消息与事件接收URL
发 送 POST
请求开发指南
-准备
-回调事件接入指南
进行接入请求参数名 | 类型 | 说明 |
---|---|---|
data | Object | 消息体 |
data.id | String | 事件id |
data.event | String | 事件主类型(固定:MALL_ORDER) |
data.action | String | 事件子类型(固定:MALL_ORDER_PAY) |
data.body | Object | 数据内容 |
data.body.orderId | String | 订单ID |
data.body.orderNumber | String | 订单编号 |
data.body.transactionId | String | 支付交易号 |
data.body.paymentTotalPrice | Int | 实付总金额 |
data.body.scene | String | 事件触发场景 system=系统触发; |
json
- Request-Example://信息明文推送
{
"id": "62f27869-5191-4c0d-b7ee-92bac633e328",
"event": "MALL_ORDER",
"action": "MALL_ORDER_PAY",
"body": {
"orderId": "8d151838-bf78-4fa5-a5b8-56b1da433a14",
"orderNumber": "1660839673306902528",
"transactionId": "9673305421445142414",
"paymentTotalPrice": 100000,
"scene": "system"
}
}
//信息加密推送
{
"id": "350670664413253632",
"event": "MALL_ORDER",
"action": "MALL_ORDER_PAY",
"body": {
"encrypt": "XOKphmyMEcuW94gYtL/5Nj4ueFcfjaEFecC507QGzXbnDmavLp7I+s7K5BI4Qjt+Ayy/mNbw9bUE2x0HkSWm9h57VKJc9VLBghTjALWJcJduBDC7L6doORsZdaNlfVJU6DJ0VLyd1NojW9PfrzS01eQ7GW/dgaO3tkXQP2AOrGTn3Ca8haZQiwEJDYN/NUjW1/9T+gIcBu8LbmZGyokwrOD+ZGy7uky37yq8w8SGpis1WR2pIlZUOo+QdmWnMY1kJ9bHelH9h3ERemmNRIh/oMZp7QvFaNl/iCgUVAkh14tOV0nniE9Ld29GxyIEFz0nxD5+s4AG4cvq+xl+FXhu0A==",
"msgSignature": "d64cc4a02b22b725a6b50a9843ebf9c0fd7ca70f",
"timeStamp": "1661233174",
"nonce": "9ZvYhI4aFmR7wUNl"
}
}
修改于 2024-09-20 10:55:30