申请企业商户企业支付业务账单
申请企业商户企业支付业务账单。该接口允许服务商为指定出资子商户申请特定日期的企业支付业务账单,仅支持申请三个月内的账单数据。业务账单包含交易明细,可用于企业对账和财务分析。
请求参数 | 类型 | 描述 |
---|---|---|
json | object | 声明请求的JSON 数据结构 |
sp_mchid | string | 服务商商户号 |
sub_mchid | string | 出资子商户号 |
date | string | 账单日期 |
type | string | 账单类型QYZFALL 枚举值 |
php
$instance->v3->webizpay->bill->tradeBill->postAsync([
'json' => [
'sp_mchid' => '12341234',
'sub_mchid' => '43214321',
'date' => '2025-04-23',
'type' => 'QYZFALL',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/webizpay/bill/trade-bill')->postAsync([
'json' => [
'sp_mchid' => '12341234',
'sub_mchid' => '43214321',
'date' => '2025-04-23',
'type' => 'QYZFALL',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/webizpay/bill/trade-bill']->postAsync([
'json' => [
'sp_mchid' => '12341234',
'sub_mchid' => '43214321',
'date' => '2025-04-23',
'type' => 'QYZFALL',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->webizpay->bill->tradeBill->post([
'json' => [
'sp_mchid' => '12341234',
'sub_mchid' => '43214321',
'date' => '2025-04-23',
'type' => 'QYZFALL',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/webizpay/bill/trade-bill')->post([
'json' => [
'sp_mchid' => '12341234',
'sub_mchid' => '43214321',
'date' => '2025-04-23',
'type' => 'QYZFALL',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/webizpay/bill/trade-bill']->post([
'json' => [
'sp_mchid' => '12341234',
'sub_mchid' => '43214321',
'date' => '2025-04-23',
'type' => 'QYZFALL',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
sp_mchid | string | 服务商商户号 |
sub_mchid | string | 出资子商户号 |
date | string | 账单日期 |
type | string | 账单类型QYZFALL 枚举值 |
download_url | string | 账单下载地址 |
参阅 官方文档