Skip to content

获取商户开户意愿确认状态

当服务商需要确认微信支付子商户号是否完成确认时,如果调用此接口提到”已授权“状态,则说明该商户号已完成开户意愿确认。

请求参数类型描述
sub_mchidstring特约商户号
php
$instance->v3->apply4subject->applyment->merchants->_sub_mchid_->state->getAsync([
  'sub_mchid' => '',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/apply4subject/applyment/merchants/{sub_mchid}/state')->getAsync([
  'sub_mchid' => '',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/apply4subject/applyment/merchants/{sub_mchid}/state']->getAsync([
  'sub_mchid' => '',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->apply4subject->applyment->merchants->_sub_mchid_->state->get([
  'sub_mchid' => '',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/apply4subject/applyment/merchants/{sub_mchid}/state')->get([
  'sub_mchid' => '',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/apply4subject/applyment/merchants/{sub_mchid}/state']->get([
  'sub_mchid' => '',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述

参阅 官方文档

Published on the GitHub by TheNorthMemory