微信支付分 - 回调通知API

注意:

1.用户确认订单和收款成功的异步回调URL,是在调用接口时填写的参数;

用户确认订单回调返回参数解密示例:

{
	"appid": "wx0708325fba9",
	"mchid": "156415191",
	"service_id": "0000400000493379273041555",
	"out_order_no": "201912052688130837476270080",
	"service_introduction": "智慧零售",
	"state": "DOING",
	"state_description": "USER_CONFIRM",
	"total_amount": 0,
	"risk_fund": {
		"name": "ESTIMATE_ORDER_COST",
		"amount": 20000,
		"description": ""
	},
	"time_range": {
		"start_time": "20191205135948"
	},
	"location": {
		"start_location": "开始服务地址"
	},
	"attach": "",
	"notify_url": "https://xx.com/xxx",
	"order_id": "1000000000201912051179181160016",
	"need_collection": true,
	"openid": "oP1qG5BrYSZjZo2WUgrhQylci-3I"
}

2.用户开启、停用服务异步回调通知的URL,是在通过第三方代办填写配置表时配置的,如果填写配置表,实际测试没收到消息,请及时联系他们配置下。

配置模板如下,仅供参考,申请时可能随时会变:

https://www.yuque.com/office/yuque/0/2019/xlsx/556249/1575345029595-fd5acb4d-c578-41c9-a666-8f9318876ba8.xlsx

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页