Skip to content

查询银行转账充值结果

请求参数类型描述
out_recharge_nostring商户充值单号
php
$instance->v3->recharge->bankTransferRecharges->outRechargeNo->_out_recharge_no_->getAsync([
  'out_recharge_no' => 'cz202407181234',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/recharge/bank-transfer-recharges/out-recharge-no/{out_recharge_no}')->getAsync([
  'out_recharge_no' => 'cz202407181234',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/recharge/bank-transfer-recharges/out-recharge-no/{out_recharge_no}']->getAsync([
  'out_recharge_no' => 'cz202407181234',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->recharge->bankTransferRecharges->outRechargeNo->_out_recharge_no_->get([
  'out_recharge_no' => 'cz202407181234',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/recharge/bank-transfer-recharges/out-recharge-no/{out_recharge_no}')->get([
  'out_recharge_no' => 'cz202407181234',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/recharge/bank-transfer-recharges/out-recharge-no/{out_recharge_no}']->get([
  'out_recharge_no' => 'cz202407181234',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
mchidstring充值商户号
recharge_idstring微信支付充值单号
out_recharge_nostring商户充值单号
account_typestring充值入账账户
BASIC | OPERATION | FEES 枚举值之一
recharge_statestring充值状态
SUCCESS | RECHARGING | CLOSED 枚举值之一
recharge_scenestring充值场景
ECOMMERCE_BANK_TRANSFER 枚举值
recharge_state_descstring充值状态描述
recharge_amountobject充值金额
amountnumber总金额
currencystring货币类型
bank_transfer_infoobject转账充值的付款信息
memostring转账充值附言
return_timestring银行转账退回时间
return_reasonstring银行转账退回原因
bank_namestring开户银行名称
bank_card_tailstring银行卡号后四位
accept_timestring受理充值时间
success_timestring充值成功时间
close_timestring关闭充值时间

参阅 官方文档

Published on the GitHub by TheNorthMemory