微信支付明细单号查询明细单
服务商可以通过该接口查询单笔转账明细单。
请求参数 | 类型 | 描述 |
---|---|---|
batch_id | string | 微信支付批次单号 |
detail_id | string | 微信明细单号 |
php
$instance->v3->partnerTransfer->batches->batchId->_batch_id_->details->detailId->_detail_id_->getAsync([
'batch_id' => '1030000071100999991182020050700019480001',
'detail_id' => '1040000071100999991182020050700019500100',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/partner-transfer/batches/batch-id/{batch_id}/details/detail-id/{detail_id}')->getAsync([
'batch_id' => '1030000071100999991182020050700019480001',
'detail_id' => '1040000071100999991182020050700019500100',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/partner-transfer/batches/batch-id/{batch_id}/details/detail-id/{detail_id}']->getAsync([
'batch_id' => '1030000071100999991182020050700019480001',
'detail_id' => '1040000071100999991182020050700019500100',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->partnerTransfer->batches->batchId->_batch_id_->details->detailId->_detail_id_->get([
'batch_id' => '1030000071100999991182020050700019480001',
'detail_id' => '1040000071100999991182020050700019500100',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/partner-transfer/batches/batch-id/{batch_id}/details/detail-id/{detail_id}')->get([
'batch_id' => '1030000071100999991182020050700019480001',
'detail_id' => '1040000071100999991182020050700019500100',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/partner-transfer/batches/batch-id/{batch_id}/details/detail-id/{detail_id}']->get([
'batch_id' => '1030000071100999991182020050700019480001',
'detail_id' => '1040000071100999991182020050700019500100',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
sp_mchid | string | 服务商商户号 |
out_batch_no | string | 商家批次单号 |
batch_id | string | 微信支付批次单号 |
appid | string | 商户的appid |
out_detail_no | string | 商家明细单号 |
detail_id | string | 微信支付明细单号 |
detail_status | string | 明细状态 |
transfer_amount | integer | 转账金额 |
transfer_remark | string | 转账备注 |
fail_reason | string | 明细失败原因 |
openid | string | 收款用户openid |
username | string | 收款用户姓名 |
initiate_time | string | 转账发起时间 |
update_time | string | 明细更新时间 |
account_type | string | 收款账户类型 |
bank_name | string | 银行名称 |
bank_card_number_tail | string | 银行卡尾号 |