Skip to content

查询在途异常资金付款结果

资金交易异常未能及时完成时,可通过该接口快速查询在途异常资金付款流程状态,支持查看付款金额、入账账户、处理进度等信息。

请求参数类型描述
receipt_idstring微信支付在途异常资金付款单号
php
$instance->v3->abnormalFundProcessing->receipts->_receipt_id_->getAsync([
  'receipt_id' => '0100011742874700562078230000',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/abnormal-fund-processing/receipts/{receipt_id}')->getAsync([
  'receipt_id' => '0100011742874700562078230000',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/abnormal-fund-processing/receipts/{receipt_id}']->getAsync([
  'receipt_id' => '0100011742874700562078230000',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->abnormalFundProcessing->receipts->_receipt_id_->get([
  'receipt_id' => '0100011742874700562078230000',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/abnormal-fund-processing/receipts/{receipt_id}')->get([
  'receipt_id' => '0100011742874700562078230000',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/abnormal-fund-processing/receipts/{receipt_id}']->get([
  'receipt_id' => '0100011742874700562078230000',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
product_namestring产品名称
C2C 枚举值
receipt_idstring微信支付在途异常资金付款单号
transfer_amountobject付款金额信息
totalinteger总金额
currencystring货币类型
CNY 枚举值
receipt_statestring在途异常资金付款状态
RECEIPT_STATE_PENDING | RECEIPT_STATE_PROGRESS | RECEIPT_STATE_COMPLETED 枚举值之一
create_timestring在途异常资金付款单据创建时间
last_update_timestring在途异常资金付款单据更新时间
instructionobject在途异常资金付款指令信息
out_instruction_nostring商户侧指令编号
commanderobject在途异常资金付款指令的发起方
operatorstring发起在途异常资金付款请求的角色
MERCHANT 枚举值
mchidstring微信支付商户号
transfer_modestring付款方式
TRANSFER_TO_ORIGINAL_RECEIVE_USER 枚举值
success_timestring入账成功时间
appidstring[]商户AppID
notify_urlstring回调通知地址

参阅 官方文档

Published on the GitHub by TheNorthMemory