印尼家庭信息核验

本产品适用于印尼家庭信息的核验。

API 方式

Base URL

API

URL请求方式Content-Type输出格式字符集
api-base-url?partner_code=xxx&partner_key=xxxPOSTapplication/jsonJSONUTF-8

认证参数

字段类型含义建议备注
partner_codeString合作方标识必须由 TD 分配
partner_keyString合作方密钥必须由 TD 分配

请求参数

字段类型含义建议备注
id_numberString身份证件 ID 号码必须ID number
id_typeString身份证件 ID 类型必须印尼-枚举值: KTP
phone_numberString手机号 / 电话号码必须08开头10到13位,样例:081234567890
nameString姓名必须
countryString国家必须国家,必填. 两位国家码,符合 ISO 3166 标准。目前支持:印尼(ID)

请求示例

{
    "country":"ID",
    "phone_number":"081234567890",
    "id_type":"KTP",
    "id_number":"3310225629467",
    "name":"Joe"
}

响应参数

字段类型含义建议备注
codeIntegerAPI必须在 API 异常状态下会输出具体的异常原因
messageString状态信息必须在 API 异常状态下会输出具体的异常原因
sequence_idString响应唯一码必须用于跟踪每次请求记录的唯一标识
resultObject核验结果必须
personal_infoObject个人情况必须
family_typeString家庭关系必须KEPALA KELUARGA
id_numberString身份证号必须3526074107710317
kkStringkk号必须
birth_placeString出生地区必须JAKARTA
nameString姓名必须NEMMOH
birth_dateString出生日期必须1973-07-01 00:00:00
religionString宗教必须ISLAM
genderString性别必须枚举值:
Male
Female
person_device_count_12monthsInt近12个月个人设备总数(去重)必须特殊值:
-999: 库无记录
-888: 内部错误,请联系运营
family_basic_infoObject家庭基本情况必须
family_member_countInt家庭成员个数必须
family_child_countInt未成年(18以下)子女个数必须
family_elder_countInt60岁以上老人个数必须
family_gaji_countint有工资收入的人数必须
family_permi_countint有保费缴纳的人数必须
family_device_count_12monthsInt近12个月家庭设备总数(去重)必须特殊值:
-999: 库无记录
-888: 内部错误,请联系运营
total_income_12monthsString家庭年总收入必须见家庭年总收入金额等级表
avg_income_12monthsString家庭年平均收入必须见家庭年平均收入金额等级表
query_infoObject查询信息必须
family_query_times_1/2/3/6/12monthsInt所有家庭人员近[1/2/3/6/12]个月在我司被查询的总次数必须特殊值:
-999: 库无记录
-888: 内部错误,请联系运营
customer_query_times_1/2/3/6/12monthsInt所有家庭人员近[1/2/3/6/12]个月在我司查询的客户数(去重)必须特殊值:
-999: 库无记录
-888: 内部错误,请联系运营
family_query_count_1/2/3/6/12monthsInt所有家庭人员近[1/2/3/6/12]个月我司被查询的人数必须特殊值:
-999: 库无记录
-888: 内部错误,请联系运营
家庭年总收入 total_revenue_12months 金额等级表
收入区间收入等级
0L0
(0, 1000000]L1
(1000000, 2000000]L2
(2000000,4000000]L3
(4000000,6000000]L4
(6000000,8000000]L5
(8000000,10000000]L6
(10000000,20000000]L7
(20000000,50000000]L8
(50000000, +)L9
家庭年平均收入 avg_revenue_12months 金额等级表
平均收入区间收入等级
0L0
(0, 500000]L1
(500000, 1000000]L2
(1000000, 2000000]L3
(2000000,3000000]L4
(3000000,4000000]L5
(4000000,5000000]L6
(5000000,7000000]L7
(7000000,9000000]L8
(9000000, +)L9

响应示例

{
    "result": {
        "query_info": {
            "family_query_count_12months": 2,
            "family_query_times_3months": 18,
            "family_query_count_1months": 2,
            "family_query_times_12months": 28,
            "family_query_count_6months": 2,
            "customer_query_times_12months": 2,
            "family_query_count_3months": 2,
            "family_query_times_6months": 26,
            "customer_query_times_1months": 1,
            "family_query_times_1months": 6,
            "customer_query_times_6months": 1,
            "customer_query_times_3months": 1
        },
        "personal_info": {
            "kk": "3203123412341234",
            "id_number": "3203123412341234",
            "gender": "Male",
            "birth_date": "1966-07-20 00:00:00",
            "name": "UJANG ABCDEFG",
            "birth_place": "CIANJUR",
            "family_type": "ANAK",
            "person_device_count_12months": 1,
            "religion": "ISLAM"
        },
        "family_basic_info": {
            "total_revenue_12months": "L0",
            "avg_revenue_12months": "L0",
            "family_gaji_count": 0,
            "family_permi_count": 3,
            "family_member_count": 6,
            "family_elder_count": 1,
            "family_child_count": 0,
            "family_device_count_12months": 2
        }
    },
    "code": 200,
    "sequence_id": "1717123412341234X3831234F1031234",
    "message": "Success"
}

API状态码

codeMessage含义是否收费
200Success成功
300Service not purchased or not effective服务不可⽤
301Service not purchased服务未购买
302Service has been suspend服务已被禁⽤
303Not enough balance流量不足
304Service expired服务已过期
11350Internal error系统错误
11301{parameter} empty{参数}为空
11304The country partner located is not open国家不支持
11340{parameter} error{参数}错误
12701No record库无记录