受理及查询汇总电子回单结果
受理汇总电子回单
银行付款模式转账汇总电子回单申请受理接口,商户通过该接口可以申请受理电子回单服务。
请求参数 | 类型 | 描述 |
---|---|---|
json | object | 声明请求的JSON 数据结构 |
out_batch_no | string | 银行转账批次单号 |
php
$instance->v3->bankBatchTransfer->receipt->summaryReceipts->postAsync([
'json' => [
'out_batch_no' => 'GD2021011610162610BBdkkIwcu3',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/bank-batch-transfer/receipt/summary-receipts')->postAsync([
'json' => [
'out_batch_no' => 'GD2021011610162610BBdkkIwcu3',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/bank-batch-transfer/receipt/summary-receipts']->postAsync([
'json' => [
'out_batch_no' => 'GD2021011610162610BBdkkIwcu3',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->bankBatchTransfer->receipt->summaryReceipts->post([
'json' => [
'out_batch_no' => 'GD2021011610162610BBdkkIwcu3',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/bank-batch-transfer/receipt/summary-receipts')->post([
'json' => [
'out_batch_no' => 'GD2021011610162610BBdkkIwcu3',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/bank-batch-transfer/receipt/summary-receipts']->post([
'json' => [
'out_batch_no' => 'GD2021011610162610BBdkkIwcu3',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
out_batch_no | string | 银行转账批次单号 |
receipt_no | string | 电子回单申请单号 |
receipt_state | string | 电子回单状态 |
hash_type | string | 电子回单文件的hash方法 |
hash_value | string | 电子回单文件的hash值 |
download_url | string | 电子回单文件的下载地址 |
create_time | string | 创建时间 |
update_time | string | 更新时间 |
参阅 官方文档
查询汇总电子回单受理结果
查询银行付款模式转账汇总电子回单接口,商户通过该接口可以查询电子回单受理进度信息,包括电子回单据信息,电子回单文件的hash值,电子回单文件的下载地址等
请求参数 | 类型 | 描述 |
---|---|---|
query | object | 声明请求的查询参数 |
out_batch_no | string | 银行转账批次单号 |
php
$instance->v3->bankBatchTransfer->receipt->summaryReceipts->getAsync([
'query' => [
'out_batch_no' => 'GD2021011610162610BBdkkIwcu3',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/bank-batch-transfer/receipt/summary-receipts')->getAsync([
'query' => [
'out_batch_no' => 'GD2021011610162610BBdkkIwcu3',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/bank-batch-transfer/receipt/summary-receipts']->getAsync([
'query' => [
'out_batch_no' => 'GD2021011610162610BBdkkIwcu3',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->bankBatchTransfer->receipt->summaryReceipts->get([
'query' => [
'out_batch_no' => 'GD2021011610162610BBdkkIwcu3',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/bank-batch-transfer/receipt/summary-receipts')->get([
'query' => [
'out_batch_no' => 'GD2021011610162610BBdkkIwcu3',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/bank-batch-transfer/receipt/summary-receipts']->get([
'query' => [
'out_batch_no' => 'GD2021011610162610BBdkkIwcu3',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
out_batch_no | string | 银行转账批次单号 |
receipt_no | string | 电子回单申请单号 |
receipt_state | string | 电子回单状态 |
hash_type | string | 电子回单文件的hash方法 |
hash_value | string | 电子回单文件的hash值 |
download_url | string | 电子回单文件的下载地址 |
create_time | string | 创建时间 |
update_time | string | 更新时间 |
参阅 官方文档