Skip to content

转账电子回单申请受理

转账电子回单申请受理接口,商户通过该接口可以申请受理电子回单服务。

请求参数类型描述
jsonobject声明请求的JSON数据结构
out_batch_nostring商家批次单号
php
$instance->v3->transfer->billReceipt->postAsync([
  'json' => [
    'out_batch_no' => 'plfk2020042013',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/transfer/bill-receipt')->postAsync([
  'json' => [
    'out_batch_no' => 'plfk2020042013',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/transfer/bill-receipt']->postAsync([
  'json' => [
    'out_batch_no' => 'plfk2020042013',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->transfer->billReceipt->post([
  'json' => [
    'out_batch_no' => 'plfk2020042013',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/transfer/bill-receipt')->post([
  'json' => [
    'out_batch_no' => 'plfk2020042013',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/transfer/bill-receipt']->post([
  'json' => [
    'out_batch_no' => 'plfk2020042013',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
out_batch_nostring商家批次单号
signature_nostring电子回单申请单号
signature_statusstring电子回单状态
hash_typestring电子回单文件的hash方法
hash_valuestring电子回单文件的hash值
download_urlstring电子回单文件的下载地址
create_timestring创建时间
update_timestring更新时间

参阅 官方文档 官方文档

Published on the GitHub by TheNorthMemory