Skip to content

分页查询子商户名下的商户管理记录

通过该接口可用于分页查询子商户名下的商户管理记录

请求参数类型描述
sub_mchidstring子商户号
queryobject声明请求的查询参数
limitnumber最大资源条数
offsetnumber请求资源起始位置
manage_record_typestring商户管理记录类型
FUNCTIONAL_LIMIT_RECORD | INVESTIGATE_RECORD 枚举值之一
manage_record_statestring商户管理记录状态
PENDING | SUBMITTED | EXPIRED | UNDER_REVIEW | RECOVERED | REJECTED 枚举值之一
php
$instance->v3->mchManage->mchManageRecords->subMchid->_sub_mchid_->getAsync([
  'sub_mchid' => '123000110',
  'query' => [
    'limit'               => 5,
    'offset'              => 10,
    'manage_record_type'  => 'FUNCTIONAL_LIMIT_RECORD',
    'manage_record_state' => 'PENDING',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/mch-manage/mch-manage-records/sub-mchid/{sub_mchid}')->getAsync([
  'sub_mchid' => '123000110',
  'query' => [
    'limit'               => 5,
    'offset'              => 10,
    'manage_record_type'  => 'FUNCTIONAL_LIMIT_RECORD',
    'manage_record_state' => 'PENDING',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/mch-manage/mch-manage-records/sub-mchid/{sub_mchid}']->getAsync([
  'sub_mchid' => '123000110',
  'query' => [
    'limit'               => 5,
    'offset'              => 10,
    'manage_record_type'  => 'FUNCTIONAL_LIMIT_RECORD',
    'manage_record_state' => 'PENDING',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->mchManage->mchManageRecords->subMchid->_sub_mchid_->get([
  'sub_mchid' => '123000110',
  'query' => [
    'limit'               => 5,
    'offset'              => 10,
    'manage_record_type'  => 'FUNCTIONAL_LIMIT_RECORD',
    'manage_record_state' => 'PENDING',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/mch-manage/mch-manage-records/sub-mchid/{sub_mchid}')->get([
  'sub_mchid' => '123000110',
  'query' => [
    'limit'               => 5,
    'offset'              => 10,
    'manage_record_type'  => 'FUNCTIONAL_LIMIT_RECORD',
    'manage_record_state' => 'PENDING',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/mch-manage/mch-manage-records/sub-mchid/{sub_mchid}']->get([
  'sub_mchid' => '123000110',
  'query' => [
    'limit'               => 5,
    'offset'              => 10,
    'manage_record_type'  => 'FUNCTIONAL_LIMIT_RECORD',
    'manage_record_state' => 'PENDING',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
offsetnumber请求资源起始位置
limitnumber最大资源条数
total_countnumber资源总条数
dataobject[]商户管理记录详情列表
sub_mchidstring子商户号
manage_record_idstring商户管理记录ID
manage_record_typestring商户管理记录类型
FUNCTIONAL_LIMIT_RECORD | INVESTIGATE_RECORD 枚举值之一
manage_timestring管控时间
manage_reasonstring管控原因
limit_abilitystring限制功能
recover_waystring解除管控方式
SUBMIT_INFORMATION | VERIFY_INACTIVE_MERCHANT_IDENTITY | MODIFY_ORGANIZATION_INFORMATION | OTHER 枚举值之一
allow_submitboolean是否允许提交资料
forbid_submit_reasonstring禁止提交资料原因
submit_start_timestring可提交资料开始时间
submit_end_timestring可提交资料结束时间
manage_record_statestring商户管理记录状态
PENDING | SUBMITTED | EXPIRED | UNDER_REVIEW | RECOVERED | REJECTED 枚举值之一
recover_timestring解除管控时间
recover_reasonstring解除管控原因
MERCHANT_SUBMIT_RECOVER | MERCHANT_OPERATE_RECOVER | PLATFORM_AUTO_RECOVER 枚举值之一
reject_reasonstring申诉驳回原因
approve_timestring可提交资料结束时间
requested_item_infostring要求提交的资料
record_fieldsobject[]资料项集合
item_idstring资料项ID
field_namestring资料项英文名
namestring资料项中文名
typenumber资料项类型
1 | 2 | 11 | 15 枚举值之一
tipsstring资料项填写提示
placeholderstring输入框占位文案
tooltipstring叹号悬浮提示语
requirednumber是否必须提交
0 | 1 枚举值之一
check_ruleobject校验规则
min_lengthnumber字符串最小长度
max_lengthnumber字符串最大长度
enum_file_extsstring[]限制提交的文件后缀
png | jpg | jpeg 枚举值之一
max_file_sizenumber限制文件提交大小,单位M
enum_keysnumber[]枚举可选的字段枚举值
enum_valuesstring[]展示给商户看的枚举可选的字段列表
relationsobject[]资料项关联规则集合
(不同资料项ID取交集,相同资料项ID不同资料项值取并集)
source_keynumber关联的资料项ID
source_valuestring关联的资料项值
need_encryptboolean提交内容需要加密

参阅 官方文档

Published on the GitHub by TheNorthMemory