Skip to content

微信单号查询电子回单

商户可以通过该接口查看回单申请进度;请务必对比下载的回单文件的摘要值与查询接口返回的摘要值的一致性,确保得到的回单文件的真实性和完整性。下载地址的有效期为10分钟,超过10分钟后需要重新通过该接口获取下载地址(不需要重新申请)。

请求参数类型描述
transfer_bill_nostring微信转账单号
php
$instance->v3->fundApp->mchTransfer->elecsign->transferBillNo->_transfer_bill_no_->getAsync([
  'transfer_bill_no' => '1330000071100999991182020050700019480001',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/fund-app/mch-transfer/elecsign/transfer-bill-no/{transfer_bill_no}')->getAsync([
  'transfer_bill_no' => '1330000071100999991182020050700019480001',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/fund-app/mch-transfer/elecsign/transfer-bill-no/{transfer_bill_no}']->getAsync([
  'transfer_bill_no' => '1330000071100999991182020050700019480001',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->fundApp->mchTransfer->elecsign->transferBillNo->_transfer_bill_no_->get([
  'transfer_bill_no' => '1330000071100999991182020050700019480001',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/fund-app/mch-transfer/elecsign/transfer-bill-no/{transfer_bill_no}')->get([
  'transfer_bill_no' => '1330000071100999991182020050700019480001',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/fund-app/mch-transfer/elecsign/transfer-bill-no/{transfer_bill_no}']->get([
  'transfer_bill_no' => '1330000071100999991182020050700019480001',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
statestring申请单状态
create_timestring申请单创建时间
update_timestring申请单更新时间
hash_typestring回单文件摘要类型
hash_valuestring回单文件摘要值
download_urlstring回单文件下载地址
fail_reasonstring失败原因

参阅 官方文档

Published on the GitHub by TheNorthMemory