从业机构查询微信支付分扣款信息
前置条件:服务订单状态为“已完成”或者“进行中”且商户已经完成登记扣款信息
请求参数 | 类型 | 描述 |
---|---|---|
query | object | 声明请求的查询参数 |
service_id | string | 服务ID |
appid | string | 从业机构申请的公众号或移动应用AppID |
sub_mchid | string | 子商户号 |
sub_appid | string | 子商户申请的公众号或移动应用AppID |
channel_id | string | 渠道商商户号 |
out_order_no | string | 商户服务订单号 |
php
$instance->v3->payscore->acquiringbank->serviceorder->deduction->getAsync([
'query' => [
'service_id' => '2002000000000558128851361561536',
'appid' => '',
'sub_mchid' => '1900000109',
'sub_appid' => '',
'channel_id' => '1230000109',
'out_order_no' => '1234323JKHDFE1243252',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/payscore/acquiringbank/serviceorder/deduction')->getAsync([
'query' => [
'service_id' => '2002000000000558128851361561536',
'appid' => '',
'sub_mchid' => '1900000109',
'sub_appid' => '',
'channel_id' => '1230000109',
'out_order_no' => '1234323JKHDFE1243252',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/payscore/acquiringbank/serviceorder/deduction']->getAsync([
'query' => [
'service_id' => '2002000000000558128851361561536',
'appid' => '',
'sub_mchid' => '1900000109',
'sub_appid' => '',
'channel_id' => '1230000109',
'out_order_no' => '1234323JKHDFE1243252',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->payscore->acquiringbank->serviceorder->deduction->get([
'query' => [
'service_id' => '2002000000000558128851361561536',
'appid' => '',
'sub_mchid' => '1900000109',
'sub_appid' => '',
'channel_id' => '1230000109',
'out_order_no' => '1234323JKHDFE1243252',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/payscore/acquiringbank/serviceorder/deduction')->get([
'query' => [
'service_id' => '2002000000000558128851361561536',
'appid' => '',
'sub_mchid' => '1900000109',
'sub_appid' => '',
'channel_id' => '1230000109',
'out_order_no' => '1234323JKHDFE1243252',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/payscore/acquiringbank/serviceorder/deduction']->get([
'query' => [
'service_id' => '2002000000000558128851361561536',
'appid' => '',
'sub_mchid' => '1900000109',
'sub_appid' => '',
'channel_id' => '1230000109',
'out_order_no' => '1234323JKHDFE1243252',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
description | string | 商品或支付单简要描述。 |
out_trade_no | string | 商户扣款单号 |
参阅 官方文档