新版「开放接口」现已发布,新增消息事件推送功能,更新人人商城至V5.32.0体验!
参数 | 类型 | 描述 |
---|---|---|
event_key | string | 事件类型,固定为 ORDER_PAY_SUCCESS |
nonce_str | string | 随机字符 |
timestamp | int | 推送时间,Unix时间戳 |
shop_id | int | 店铺ID |
order_id | int | 订单ID |
pay_price | number | 支付金额 |
pay_type | int | 支付类型 |
sign | string | 签名 |
{
"timestamp":1723533321,
"nonce_str":"qwertyuiopasdfghjklzxcvbnmqwsd",
"event":"ORDER_PAY_SUCCESS",
"shop_id": 1229,
"order_id": 1001,
"pay_price": 10.26,
"pay_type": 20,
"sign": "cc115a7c187f061dce2b2d3c4cb1eed3"
}
{"error": 0}
{"error": -1}