获取商户开户意愿确认状态
当服务商需要确认微信支付子商户号是否完成确认时,如果调用此接口提到”已授权“状态,则说明该商户号已完成开户意愿确认。
请求参数 | 类型 | 描述 |
---|---|---|
sub_mchid | string | 特约商户号 |
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));
返回字典 | 类型 | 描述 |
---|---|---|
authorize_state | string | 授权状态AUTHORIZE_STATE_UNAUTHORIZED | AUTHORIZE_STATE_AUTHORIZED 枚举值之一 |
参阅 官方文档