分页查询子商户名下的交易拦截记录
通过该接口可用于分页查询子商户名下的交易拦截记录
请求参数 | 类型 | 描述 |
---|---|---|
sub_mchid | string | 子商户号 |
query | object | 声明请求的查询参数 |
limit | number | 最大资源条数 |
offset | number | 请求资源起始位置 |
php
$instance->v3->transactionBlock->transactionBlockRecords->subMchid->_sub_mchid_->getAsync([
'sub_mchid' => '123000110',
'query' => [
'limit' => 5,
'offset' => 10,
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/transaction-block/transaction-block-records/sub-mchid/{sub_mchid}')->getAsync([
'sub_mchid' => '123000110',
'query' => [
'limit' => 5,
'offset' => 10,
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/transaction-block/transaction-block-records/sub-mchid/{sub_mchid}']->getAsync([
'sub_mchid' => '123000110',
'query' => [
'limit' => 5,
'offset' => 10,
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->transactionBlock->transactionBlockRecords->subMchid->_sub_mchid_->get([
'sub_mchid' => '123000110',
'query' => [
'limit' => 5,
'offset' => 10,
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/transaction-block/transaction-block-records/sub-mchid/{sub_mchid}')->get([
'sub_mchid' => '123000110',
'query' => [
'limit' => 5,
'offset' => 10,
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/transaction-block/transaction-block-records/sub-mchid/{sub_mchid}']->get([
'sub_mchid' => '123000110',
'query' => [
'limit' => 5,
'offset' => 10,
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
offset | number | 请求资源起始位置 |
limit | number | 最大资源条数 |
total_count | number | 资源总条数 |
data | object[] | 交易拦截记录详情列表 |
block_record_id | string | 交易拦截记录ID |
block_time | string | 拦截时间 |
block_reason | string | 拦截原因 |
number_of_block | string | 拦截笔数LESS_THAN_TWENTY | LESS_THAN_ONE_HUNDRED | LESS_THAN_ONE_THOUSAND | OVER_ONE_THOUSAND 枚举值之一 |
recover_way | string | 解除管控方式SUBMIT_INFORMATION 枚举值 |
requested_item_info | string | 商户提交资料内容 |
record_fields | object[] | 资料项集合 |
item_id | string | 资料项ID |
field_name | string | 资料项英文名 |
name | string | 资料项中文名 |
type | number | 资料项类型1 | 2 | 11 | 15 枚举值之一 |
tips | string | 资料项填写提示 |
placeholder | string | 输入框占位文案 |
tooltip | string | 叹号悬浮提示语 |
required | number | 是否必须提交0 | 1 枚举值之一 |
check_rule | object | 校验规则 |
min_length | number | 字符串最小长度 |
max_length | number | 字符串最大长度 |
enum_file_exts | string[] | 限制提交的文件后缀png | jpg | jpeg 枚举值之一 |
max_file_size | number | 限制文件提交大小,单位M |
enum_keys | number[] | 枚举可选的字段枚举值 |
enum_values | string[] | 展示给商户看的枚举可选的字段列表 |
relations | object[] | 资料项关联规则集合 (不同资料项ID取交集且,相同资料项ID不同资料项值取并集或) |
source_key | number | 关联的资料项ID |
source_value | string | 关联的资料项值 |
need_encrypt | boolean | 提交内容需要加密 |
参阅 官方文档