Skip to content

查询二级商户可扫码充值员工列表

收付通平台可以调用此接口查询二级子商户的最新的可扫码充值员工列表。

请求参数类型描述
sub_mchidstring二级商户号
php
$instance->v3->platsolution->ecommerce->rechargeEmployees->subMchid->_sub_mchid_->getAsync([
  'sub_mchid' => '1900000109',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/platsolution/ecommerce/recharge-employees/sub-mchid/{sub_mchid}')->getAsync([
  'sub_mchid' => '1900000109',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/platsolution/ecommerce/recharge-employees/sub-mchid/{sub_mchid}']->getAsync([
  'sub_mchid' => '1900000109',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->platsolution->ecommerce->rechargeEmployees->subMchid->_sub_mchid_->get([
  'sub_mchid' => '1900000109',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/platsolution/ecommerce/recharge-employees/sub-mchid/{sub_mchid}')->get([
  'sub_mchid' => '1900000109',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/platsolution/ecommerce/recharge-employees/sub-mchid/{sub_mchid}']->get([
  'sub_mchid' => '1900000109',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
employeesobject[]员工列表
sub_mchidstring二级商户号
sp_openidstring员工OpenID
statestring员工状态
EFFECTIVE 枚举值
create_timestring添加员工时间
update_timestring最后更新时间

参阅 官方文档

Published on the GitHub by TheNorthMemory