4. 认证项
- cate类型对应关系 'txt'=>"A", 'enum'=>"B", 'citySelect'=>"C", 'tip'=>"D", 'location'=>"E", 'day'=>"F", 'camera'=>"G",
问卷调查初始化
- 请求方式
POST
- 请求地址
"/Crapido/mkla-pk(/v3/certify/credit-info)":
- 场景
问卷调查初始化信息
请求参数
名称 类型 可选 注释 "KAMD": string 干扰字段(ksjd) "mobile": string 否 手机号 "product_id": string 否 产品id "FPALS": string 干扰字段(12315a) "AJKDS": string 干扰字段(3) 返回结果
{ "data": { "items": [{ "id": "104", "title": "¿Tiene deudas vencidas desde hace medio año?", //文案描述 "subtitle": "", "code": "is_overdue_year", //提交到后端的字段 "cate": "enum", //值类型 "note": [{ //可选值 "name": "N", //客户端现在的值 "type": 1 //提交到后端的字段对应值 }, { "name": "Y", "type": 2 }], "optional": 0, "status": 0, //认证状态 "statusName": "no", "enable": true, "value": "", "dateSelect": 0 }, { "id": "105", "title": "¿Cuál es el máximo de días de atraso en sus deudas vencidas?", "subtitle": "", "code": "is_overdue_maximum", "cate": "enum", "note": [{ "name": "No", "type": 1 }, { "name": "1", "type": 2 }], "optional": 0, "status": 0, "statusName": "未认证", "enable": true, "value": "", "dateSelect": 0 }, { "id": "106", "title": "¿Cuánto es el total del préstamo actual que ha hecho por Internet?", "subtitle": "", "code": "is_network_loan", "cate": "enum", "note": [{ "name": "0~500pes", "type": 1 }, { "name": "500~1000pes", "type": 2 }], "optional": 0, "status": 0, "statusName": "未认证", "enable": true, "value": "", "dateSelect": 0 }, { "id": "107", "title": "¿Cuántas veces ha pedido un préstamo de dinero hasta el día de hoy ?", "subtitle": "", "code": "is_borrowed_far", "cate": "enum", "note": [{ "name": "0", "type": 1 }, { "name": "1", "type": 2 }], "optional": 0, "status": 0, "statusName": "未认证", "enable": true, "value": "", "dateSelect": 0 }, { "id": "108", "title": "¿Cuántos préstamos está pagando actualmente?", "subtitle": "", "code": "is_outstanding", "cate": "enum", "note": [{ "name": "0", "type": 1 }, { "name": "1", "type": 2 }], "optional": 0, "status": 0, "statusName": "未认证", "enable": true, "value": "", "dateSelect": 0 }] }, "code": "00", "message": "成功" }
问卷调查提交
- 请求方式
POST
- 请求地址
"/Crapido/aksl(/v3/certify/save-credit-info)":
- 场景
问卷调查初始化信息(值取初始化中的type字段)
请求参数
名称 类型 可选 注释 "is_borrowed_far": string 否 借过多少次 "is_network_loan": string 否 截止目前贷款总额 "is_outstanding": string 否 还款了多少次 "is_overdue_maximum": string 否 逾期最大天数 "is_overdue_year": string 否 是否有逾期 "order_no": string 否 订单号 "product_id": string 否 产品id "MKAS": string 干扰字段(19)
- 返回结果
{ "code": "00", "message": "成功" }
身份证认证初始化
- 请求方式
POST
- 请求地址
"/Crapido/UserInit(/v3/certify/basic-person-info)":
- 场景
身份证认证初始化
请求参数
名称 类型 可选 注释 "mobile": string 否 手机号 "product_id": string 否 产品id "aksld": string 干扰字段(236541) 返回结果
{ "code": "0", "message": "success", "data": { "hands": { //手持 "status": 0 //状态为0表示未上传过 }, "id_front": { //身份证正面 "status": 1, "url": "http://superp-files-prod.oss-us-west-1.aliyuncs.com/face/id_card_front/85566888820211014215000_7lprwe8uqk.jpg?OSSAccessKeyId=LTAI4G4k58gV5DURRmZGkEXG&Expires=1823492451&Signature=Ue4yxPm%2BZsLrkkl2xPa23rVuO3g%3D", "info": { "name": "MARICELA", "id_number": "CORM770627MDFNJR01", "birthday": "" } }, "id_back": { //身份证反面 "status": 1, "url": "http://superp-files-prod.oss-us-west-1.aliyuncs.com/face/id_card_back/85566888820211014220415_8icl8krdz6.jpg?OSSAccessKeyId=LTAI4G4k58gV5DURRmZGkEXG&Expires=1823492451&Signature=Zkv0LZOcb6N9oXEGAI2NYPIapqQ%3D" }, "livenessType": 0, "liveness": { //自拍 "status": 1, "url": "http://superp-files-prod.oss-us-west-1.aliyuncs.com/face/id_card_face/85566888820211014220440_sjgrrrdf12.jpg?OSSAccessKeyId=LTAI4G4k58gV5DURRmZGkEXG&Expires=1823492451&Signature=VtMzM8Ou4BxfHkEPzxRXOQPbzos%3D" } } }
个人信息-身份证信息识别-身份证图片信息保存
- 请求方式
POST
- 请求地址
"/Crapido/upimg(/credit-info/upload-image)":
- 场景
照片上传
请求参数
名称 类型 可选 注释 "attach": resource 否 file资源文件 "type": string 否 类型 10=人脸 11=身份证正面 12=反面 "AKS_lk": string 干扰字段(1) "laks_pl": string 干扰字段(23)
- 返回结果
{ "code": "0", "message": "成功", "data": { "idcard_name": "MARICELA", //姓名 "idcard_num": "CORM770627MDFNJR01", //curp "gender": "M", //性别 "birthday": "", "url": "http://superp-files-prod.oss-us-west-1.aliyuncs.com/face/id_card_front/85566888820211014215000_7lprwe8uqk.jpg?OSSAccessKeyId=LTAI4G4k58gV5DURRmZGkEXG&Expires=1823485800&Signature=OjyuaZjQ6ebf%2Fk97CeRcBwKUiDc%3D", //照片访问地址 "year": "", "month": "", "is_need_pop": 0, //是否需要弹出修改框(0=否,1=是,身份证识别错误,修改的身份证号) "status": true } }
保存基础认证项(只在上传正面返回需要弹窗时 修改后调用)
- 请求方式
POST
- 请求地址
"/Crapido/SeBinfo(/v3/certify/save-basic-info)":
- 场景
照片上传
请求参数
名称 类型 可选 注释 "name": resource 否 姓名 "type": string 否 类型 11=身份证正面 "id_number": string 否 身份证号 "birthday": string 否 出生日期 "plAKS": string 干扰字段(sda) - 返回结果
{ "code": "0", "message": "成功", }
个人资料认证初始化
- 请求方式
POST
- 请求地址
"/Crapido/Coldja(/v3/certify/personal-info)":
- 场景
个人资料认证初始化
请求参数
名称 类型 可选 注释 "mobile": string 否 手机号 "product_id": string 否 产品id "gsd_id": string 干扰字段(215) - 返回结果
{ "data": { "items": [{ "id": "103", "title": "Fecha de Nacimiento", //标题 "subtitle": "Fecha de Nacimiento", //标题提示 "code": "birthday", //出生日期 "cate": "F", //传值类型 "inputType": "0", "note": [], "optional": 0, "status": 0, //状态 "statusName": "Not certified", "enable": true, "value": "", //默认值 "dateSelect": 1 }, { "id": "91", "title": "Género", "subtitle": "Género", "code": "sex", //性别 "cate": "B", "inputType": "0", "note": [{ "name": "Hombre", "type": 1 }, { "name": "Mujer", "type": 2 }], "optional": 0, "status": 0, "statusName": "Not certified", "enable": true, "value": "", "dateSelect": 0 }, { "id": "92", "title": "Número de Curp", "subtitle": "Número de Curp", "code": "idcardnumber", "cate": "A", //身份证号 "inputType": "2", "note": [], "optional": 0, "status": 0, "statusName": "Not certified", "enable": true, "value": "", "dateSelect": 0 }, { "id": "45", "title": "Correo Electrónico", "subtitle": "Por ejemplo: xxxxxx@gmail.mx", "code": "email", //邮箱 "cate": "A", "inputType": "0", "note": [], "optional": 0, "status": 0, "statusName": "Not certified", "enable": true, "value": "", "dateSelect": 0 }, { "id": "10", "title": "Estado Civil", "subtitle": "Estado Civil", "code": "marriage", //婚姻状况 "cate": "B", "inputType": "0", "note": [{ "name": "Soltero/a", "type": 1 }, { "name": "Casado/a sin Hijos", "type": 2 }, { "name": "Casado/a con Hijos", "type": 3 }, { "name": "Divorciado/a o Viudo/a", "type": 4 }], "optional": 0, "status": 0, "statusName": "Not certified", "enable": true, "value": "", "dateSelect": 0 }, { "id": "63", "title": "Número de Hijos", "subtitle": "Número de Hijos", "code": "children_num", //孩子数量 "cate": "B", "inputType": "0", "note": [{ "name": "0", "type": 1 }, { "name": "1", "type": 2 }, { "name": "2", "type": 3 }, { "name": "3", "type": 4 }, { "name": "3+", "type": 5 }], "optional": 0, "status": 0, "statusName": "Not certified", "enable": true, "value": "", "dateSelect": 0 }, { "id": "8", "title": "Nivel de Educación", "subtitle": "Nivel de Educación", "code": "education", //教育程度 "cate": "B", "inputType": "0", "note": [{ "name": "Primaria", "type": 1 }, { "name": "Secundaria", "type": 2 }, "optional": 0, "status": 0, "statusName": "Not certified", "enable": true, "value": "", "dateSelect": 0 }] }, "code": "00", "message": "成功" }
个人资料提交
- 请求方式
POST
- 请求地址
"/Crapido/mksl(/v3/certify/save-personal-info)":
请求参数
名称 类型 可选 注释 "birthday": string 否 出生日期 "children_num": string 否 有几个孩子 "education": string 否 教育程度 "email": string 否 邮箱 "alksmdj": string 否 干扰字段 "home_city": string 否 地址 "idcardnumber": string 否 身份证号 "marriage": string 否 婚姻状况 "sex": string 否 性别 "order_no": string 否 订单号 "product_id": string 否 产品id "pals_skd": string 干扰字段(598) 返回结果
{ "code": "00", "message": "成功" }
工作信息认证初始化
- 请求方式
POST
- 请求地址
"/Crapido/jobMa(/v3/certify/job-info)":
- 场景
工作信息认证初始化
请求参数
名称 类型 可选 注释 "mobile": string 否 手机号 "product_id": string 否 产品id "qoaks": string 干扰字段(236) - 返回结果
{ "data": { "items": [{ "id": "88", "title": "Estado de Trabajo", "subtitle": "Estado de Trabajo", "code": "job_type", "cate": "B", "note": [{ "name": "Tiempo Completo", "type": 1 }, { "name": "Tiempo Parcial", "type": 2 }], "optional": 0, "status": 0, "statusName": "未认证", "enable": true, "value": "", "dateSelect": 0 }, { "id": "89", "title": "Sector", "subtitle": "Sector", "code": "industry", "cate": "B", "note": [{ "name": "Venta por Catálogo", "type": 1 }, { "name": "Chofer/Taxista", "type": 2 }, { "name": "Gobierno", "type": 3 }], "optional": 0, "status": 0, "statusName": "未认证", "enable": true, "value": "", "dateSelect": 0 }, { "id": "68", "title": "Ingreso Mensual", "subtitle": "Ingreso Mensual", "code": "monthly_income", "cate": "B", "note": [{ "name": "Menos de 00", "type": 1 }, { "name": "00-00", "type": 2 }], "optional": 0, "status": 0, "statusName": "未认证", "enable": true, "value": "", "dateSelect": 0 }] }, "code": "00", "message": "成功" }
工作信息提交
- 请求方式
POST
- 请求地址
"/Crapido/Sejom(/v3/certify/save-job-info)":
- 场景 ``
请求参数
名称 类型 可选 注释 "company_address": string 否 公司地址 "company_full_address": string 否 完整公司地址 "company_name": string 否 公司名 "company_phone": string 否 公司电话 "industry": string 否 部门 "job_type": string 否 工作类型 "monthly_income": string 否 工资 "order_no": string 否 订单号 "product_id": string 否 产品id "salary_day": string 否 第一次发薪日 "salary_day_1": string 否 第二次发薪日 "salary_type": string 否 发薪类型 - 请求示例
{ "company_address": "Coahuila de Zaragoza|Candela", "company_full_address": "hhh", "company_name": "hhhh", "company_phone": "sss", "industry": "3", "job_type": "2", "monthly_income": "3", "order_no": "302021101407000223510036", "product_id": "2", "salary_day": "3", "salary_day_1": "1", "salary_type": "1" }
- 返回结果
{ "code": "00", "message": "成功" }
紧急联系人认证初始化
- 请求方式
POST
- 请求地址
"/Crapido/etInfo(/v3/certify/ext-info)":
- 场景
紧急联系人认证初始化
请求参数
名称 类型 可选 注释 "mobile": string 否 手机号 "product_id": string 否 产品id "sjd_od": string 干扰字段(54qw) "pla_od": string 干扰字段(985) - 返回结果
{ "data": { "emergent": { "lineal_list": [{ "name": "Parent", "type": "1" }, { "name": "Pareja", "type": "2" }, { "name": "Hijo/a", "type": "3" }, { "name": "Sibling", "type": "4" }, { "name": "Amigo/a", "type": "5" }, { "name": "Colega", "type": "6" }, { "name": "Other", "type": "7" }], "other_list": [{ "name": "Parent", "type": "1" }, { "name": "Pareja", "type": "2" }, { "name": "Hijo/a", "type": "3" }, { "name": "Sibling", "type": "4" }, { "name": "Amigo/a", "type": "5" }, { "name": "Colega", "type": "6" }, { "name": "Other", "type": "7" }], "lineal_name": "110", //已填写的值 "lineal_relation": "1", "lineal_mobile": "8553465753", "other_name": "120", "other_relation": "1", "other_mobile": "110", "alternate_phone": "" } }, "code": "00", "message": "成功" }
紧急联系人认证提交
- 请求方式
POST
- 请求地址
"/Crapido/saetInfo(/v3/certify/save-ext-info)":
- 场景 ``
请求参数
名称 类型 可选 注释 "first_mobile": string 否 第一紧急联系人手机号 "first_name": string 否 第一紧急联系人姓名 "first_relation": string 否 第一紧急联系人关系 "product_id": string 否 产品id "second_mobile": string 否 第二紧急联系人手机号 "second_name": string 否 第二紧急联系人姓名 "second_relation": string 否 第二紧急联系人关系 "bhd_id": string 干扰字段(322a) - 请求示例
{ "first_mobile": "8553465753", "first_name": "110", "first_relation": "1", "product_id": "2", "second_mobile": "110", "second_name": "120", "second_relation": "1" }
- 返回结果
{ "code": "00", "message": "成功" }
绑卡认证初始化
- 请求方式
POST
- 请求地址
"/Crapido/CA-LSKD(/v3/bind-card/card-init)":
- 场景
绑卡认证初始化
请求参数
名称 类型 可选 注释 "mobile": string 是 手机号 "alms": string 干扰字段(yes) "product_id": string 否 产品id "laka": string 干扰字段(10) - 返回结果
{ "data": { "items": [ { "cate": "tip", "title": "Los datos de su tarjeta serán usados para el depósito solamente", "status": 1 }, { "title": "Elige tu tipo de cuenta", //卡类型 "code": "bankType", "subtitle": "Elige tu tipo de cuenta", "cate": "B", "note": [ { "type": 1, "name": "Tarjeta de débito",//借记卡 "title": "Tarjeta de débito(16-Dígitos)" }, { "type": 2, "name": "CLABE",//信用卡 "title": "Ingresa el CLABE que comience con" } ], "optional": 0, "status": 1, "statusName": "待填写", "value": "", "displayValue": "", "dateSelect": 0 }, { "title": "Banco frecuentes", //热门银行卡 "code": "hotBank", "subtitle": "Banco frecuentes", "cate": "B", "note": [ { "name": "BANAMEX", "type": 40002 }, { "name": "BBVA BANCOMER", "type": 40012 }, { "name": "SANTANDER", "type": 40014 }, { "name": "AZTECA", "type": 40127 }, { "name": "BANCOPPEL", "type": 40137 } ], "optional": 0, "status": 1, "statusName": "待填写", "value": "", "displayValue": "", "dateSelect": 0 }, { "title": "Banco", //热门银行卡 "code": "bankCode", "subtitle": "Ingrese el nombre correcto del Banco", "cate": "B", "note": [ { "name": "BANXICO", "type": 2001 }, { "name": "BANCOMEXT", "type": 37006 }, { "name": "BANOBRAS", "type": 37009 }, ], "optional": 0, "status": 0, "statusName": "待填写", "value": "", "displayValue": "", "dateSelect": 0 }, { "title": "Clave interbancaria", "code": "cardNo", "subtitle": "Ingrese la clave interbancaria", "cate": "A", "note": [], "optional": 0, "status": 1, "statusName": "unFinish", "value": "", "displayValue": "", "dateSelect": 0, "inputType": 1, "bankType": 0 } ] }, "code": "00", "message": "成功" }
绑卡提交
- 请求方式
POST
- 请求地址
"/Crapido/alksmdn-laskd(/v3/bind-card/bind-card-new)":
- 场景 ``
请求参数
名称 类型 可选 注释 "bankCode": string 否 银行机构编码 "cardNo": string 否 卡号 "confirmCardNo": string 是 确认卡号 "product_id": string 否 产品id "order_no": string 是 订单号 "userName": string 是 卡所属人 "bankType": string 否 卡类型 "ajshd": string 干扰字段(20202) 返回结果
{ "code": "00", "message": "成功" }