Skip to content

撞库接口

接口信息

需对方提供

  • 地址:机构方提供接口地址
  • 方式:POST
  • 说明:我方调用机构撞库接口

请求参数

参数类型必填说明
mobileMaskString手机号掩码(如:138****1234)
mobileMd5String手机号MD5
realNameString用户姓名
genderInteger性别:1=男,0=女
cityString城市名称
idCardString身份证号
ageInteger年龄
educationInteger学历
housingStatusInteger房产
hasCarInteger车辆
overdueInteger逾期情况
creditCardInteger信用卡
commercialInsuranceInteger保险
occupationInteger职业
salaryOfMonthInteger月收入
hasProvidentFundInteger公积金
hasSocialSecurityInteger社保
zhimaScoreInteger芝麻分
weiliInteger微粒贷
baiTiaoInteger京东白条
huaBeiInteger花呗
businessTimeInteger营业执照时长(月)
loanAmountInteger贷款金额(万元)
loanTimeInteger贷款期限(月)
purposeInteger贷款用途
paymentFormInteger工资发放
applyIpString用户IP
authUrlString授权回调地址

响应参数

参数类型说明
codeInteger0-成功
dataObject数据

data字段

参数类型说明
userIdString用户标识
channelIdString渠道ID(可选)
productNameString产品名称
logoStringLogo URL
urlString授权URL(撞库返)
priceFloat单价(元)
protocolsArray协议列表
md5ListArray手机号MD5列表

示例

请求示例

json
{
  "mobileMask": "138****1234",
  "mobileMd5": "5d41402abc4b2a76b9719d911017c592",
  "realName": "张三",
  "gender": 1,
  "city": "成都市",
  "idCard": "510100199001011234",
  "age": 34,
  "education": 5,
  "housingStatus": 2,
  "hasCar": 0,
  "overdue": 0,
  "creditCard": 1,
  "commercialInsurance": 2,
  "occupation": 1,
  "salaryOfMonth": 3,
  "hasProvidentFund": 4,
  "hasSocialSecurity": 4,
  "zhimaScore": 680,
  "weili": 1,
  "baiTiao": 1,
  "huaBei": 1,
  "loanAmount": 5,
  "loanTime": 12,
  "purpose": 1,
  "paymentForm": 3,
  "applyIp": "114.114.114.114",
  "authUrl": "https://platform.example.com/api/platform/downstream/auth-callback"
}

响应示例

成功:

json
{
  "code": 0,
  "msg": "成功",
  "data": {
    "userId": "USER123456",
    "channelId": "CH001",
    "productName": "信用贷",
    "logo": "https://example.com/logo.png",
    "url": "https://institution.example.com/auth?userId=USER123456",
    "price": 20.00,
    "protocols": [
      {
        "name": "用户协议",
        "url": "https://example.com/protocol.html"
      }
    ],
    "md5List": []
  }
}

失败:

json
{
  "code": 400,
  "msg": "用户资质不符合要求",
  "data": null
}