Skip to content

个人收款-申请异常结算批次单处理

申请异常结算批次单处理

请求参数类型描述
settle_batch_nostring微信支付结算批次单号
jsonobject声明请求的JSON数据结构
individual_auth_idstring商品单个人收款方受理授权ID
out_abnormal_settle_batch_nostring商户异常结算批次单号
abnormal_settle_typestring异常结算批次单处理方式
TRANSFER_TO_ORIGINAL_RECEIVE_USER 枚举值
descriptionstring异常处理说明
php
$instance->v3->platsolution->ecommerce->settle->prepaySettleOrders->_settle_batch_no_->applyAbnormalSettle->postAsync([
  'settle_batch_no' => '123685544886666',
  'json' => [
    'individual_auth_id'           => '256322110225',
    'out_abnormal_settle_batch_no' => '1236698745558870',
    'abnormal_settle_type'         => 'TRANSFER_TO_ORIGINAL_RECEIVE_USER',
    'description'                  => 'xx结算失败,转付至原用户',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/platsolution/ecommerce/settle/prepay-settle-orders/{settle_batch_no}/apply-abnormal-settle')->postAsync([
  'settle_batch_no' => '123685544886666',
  'json' => [
    'individual_auth_id'           => '256322110225',
    'out_abnormal_settle_batch_no' => '1236698745558870',
    'abnormal_settle_type'         => 'TRANSFER_TO_ORIGINAL_RECEIVE_USER',
    'description'                  => 'xx结算失败,转付至原用户',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/platsolution/ecommerce/settle/prepay-settle-orders/{settle_batch_no}/apply-abnormal-settle']->postAsync([
  'settle_batch_no' => '123685544886666',
  'json' => [
    'individual_auth_id'           => '256322110225',
    'out_abnormal_settle_batch_no' => '1236698745558870',
    'abnormal_settle_type'         => 'TRANSFER_TO_ORIGINAL_RECEIVE_USER',
    'description'                  => 'xx结算失败,转付至原用户',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->platsolution->ecommerce->settle->prepaySettleOrders->_settle_batch_no_->applyAbnormalSettle->post([
  'settle_batch_no' => '123685544886666',
  'json' => [
    'individual_auth_id'           => '256322110225',
    'out_abnormal_settle_batch_no' => '1236698745558870',
    'abnormal_settle_type'         => 'TRANSFER_TO_ORIGINAL_RECEIVE_USER',
    'description'                  => 'xx结算失败,转付至原用户',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/platsolution/ecommerce/settle/prepay-settle-orders/{settle_batch_no}/apply-abnormal-settle')->post([
  'settle_batch_no' => '123685544886666',
  'json' => [
    'individual_auth_id'           => '256322110225',
    'out_abnormal_settle_batch_no' => '1236698745558870',
    'abnormal_settle_type'         => 'TRANSFER_TO_ORIGINAL_RECEIVE_USER',
    'description'                  => 'xx结算失败,转付至原用户',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/platsolution/ecommerce/settle/prepay-settle-orders/{settle_batch_no}/apply-abnormal-settle']->post([
  'settle_batch_no' => '123685544886666',
  'json' => [
    'individual_auth_id'           => '256322110225',
    'out_abnormal_settle_batch_no' => '1236698745558870',
    'abnormal_settle_type'         => 'TRANSFER_TO_ORIGINAL_RECEIVE_USER',
    'description'                  => 'xx结算失败,转付至原用户',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
out_settle_batch_nostring商户结算批次单号
settle_batch_nostring微信支付结算批次单号
individual_auth_idstring商品单个人收款方受理授权ID
descriptionstring收款方描述
statestring批次状态
ACCEPTED | RECEIVED | SUCCESS | DEDUCT_FEE_FAIL | ABNORMAL | ABNORMAL_SETTLE_SUCCESS 枚举值之一
trade_scenariostring交易场景
RECOMMERCE 枚举值
create_timestring批次创建时间
finish_timestring批次完成时间
abnormal_typestring异常原因类型
AUTH_RELATIONSHIP_INVALID | USER_PAY_QUOTA_LIMIT 枚举值之一
abnormal_settle_resultobject异常结算处理结果
abnormal_settle_typestring异常结算批次单处理方式
TRANSFER_TO_ORIGINAL_RECEIVE_USER 枚举值
apply_success_timestring批次创建时间
abnormal_fund_receipt_idstring微信支付异常资金付款单号
out_abnormal_settle_batch_nostring商户异常结算批次单号

参阅 官方文档

Published on the GitHub by TheNorthMemory