主题模式
商户可以通过该接口拉取用户在微信支付交易记录中针对你的支付记录进行的评价内容。商户可结合商户系统逻辑对该内容数据进行存储、分析、展示、客服回访以及其他使用。如商户业务对评价内容有依赖,可主动引导用户进入微信支付交易记录进行评价。
true
XML
HMAC-SHA256
$instance->v2->billcommentsp->batchquerycomment->postAsync([ 'security' => true, 'xml' => [ 'appid' => 'wx8888888888888888', 'mch_id' => '1900000109', 'sign_type' => 'HMAC-SHA256', 'begin_time' => '20170724000000', 'end_time' => '20170725000000', 'offset' => '0', 'limit' => '100', ], ]) ->then(static function(\Psr\Http\Message\ResponseInterface $response) { print_r(\WeChatPay\Transformer::toArray((string) $response->getBody())); }) ->wait();
$instance->chain('v2/billcommentsp/batchquerycomment')->postAsync([ 'security' => true, 'xml' => [ 'appid' => 'wx8888888888888888', 'mch_id' => '1900000109', 'sign_type' => 'HMAC-SHA256', 'begin_time' => '20170724000000', 'end_time' => '20170725000000', 'offset' => '0', 'limit' => '100', ], ]) ->then(static function(\Psr\Http\Message\ResponseInterface $response) { print_r(\WeChatPay\Transformer::toArray((string) $response->getBody())); }) ->wait();
$instance['v2/billcommentsp/batchquerycomment']->postAsync([ 'security' => true, 'xml' => [ 'appid' => 'wx8888888888888888', 'mch_id' => '1900000109', 'sign_type' => 'HMAC-SHA256', 'begin_time' => '20170724000000', 'end_time' => '20170725000000', 'offset' => '0', 'limit' => '100', ], ]) ->then(static function(\Psr\Http\Message\ResponseInterface $response) { print_r(\WeChatPay\Transformer::toArray((string) $response->getBody())); }) ->wait();
$response = $instance->v2->billcommentsp->batchquerycomment->post([ 'security' => true, 'xml' => [ 'appid' => 'wx8888888888888888', 'mch_id' => '1900000109', 'sign_type' => 'HMAC-SHA256', 'begin_time' => '20170724000000', 'end_time' => '20170725000000', 'offset' => '0', 'limit' => '100', ], ]); print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
$response = $instance->chain('v2/billcommentsp/batchquerycomment')->post([ 'security' => true, 'xml' => [ 'appid' => 'wx8888888888888888', 'mch_id' => '1900000109', 'sign_type' => 'HMAC-SHA256', 'begin_time' => '20170724000000', 'end_time' => '20170725000000', 'offset' => '0', 'limit' => '100', ], ]); print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
$response = $instance['v2/billcommentsp/batchquerycomment']->post([ 'security' => true, 'xml' => [ 'appid' => 'wx8888888888888888', 'mch_id' => '1900000109', 'sign_type' => 'HMAC-SHA256', 'begin_time' => '20170724000000', 'end_time' => '20170725000000', 'offset' => '0', 'limit' => '100', ], ]); print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
SUCCESS
FAIL
参阅 官方JSAPI文档 官方NATIVE文档 官方APP文档 官方H5文档 官方小程序支付文档
拉取订单评价数据
商户可以通过该接口拉取用户在微信支付交易记录中针对你的支付记录进行的评价内容。商户可结合商户系统逻辑对该内容数据进行存储、分析、展示、客服回访以及其他使用。如商户业务对评价内容有依赖,可主动引导用户进入微信支付交易记录进行评价。
true
XML
数据结构HMAC-SHA256
枚举值2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
SUCCESS
|FAIL
枚举值之一FAIL
枚举值参阅 官方JSAPI文档 官方NATIVE文档 官方APP文档 官方H5文档 官方小程序支付文档