Skip to content

撞库接口

接口信息

  • 地址POST /api/platform/strike-check
  • 说明:渠道方提交用户资质,我方返回匹配结果

请求参数

参数类型必填说明
channelCodeString渠道编码
dataStringAES加密的JSON

data明文

参数类型必填说明
cnNameString用户姓名
sexString性别:1=男,2=女
encryptMobileString手机号MD5
phonePrefixString手机号掩码(如:138****1234)
cityString城市名称
idNumberString身份证号
ageInteger年龄
educationInteger学历
houseInteger房产
vehicleInteger车辆
overdueInteger逾期情况
creditCardInteger信用卡
insuranceInteger保险
jobInteger职业
monthIncomeString月收入
gongjijinInteger公积金
shebaoInteger社保
zhimaInteger芝麻分
weilidaiInteger微粒贷
jingdongInteger京东白条
huabeiInteger花呗
licenseTimeInteger营业执照时长(月)
amountInteger贷款金额(元)
loanTimeInteger贷款期限
loanForInteger贷款用途
salaryPayInteger工资发放
ipString用户IP
urlString授权回调地址

响应参数

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

data字段

参数类型说明
applyNoString申请单号
urlString落地页URL
priceString价格
platformNameString平台名称
productNameString产品名称
companyNameString公司名称
logUrlStringLogo URL
protocolListArray协议列表
phoneMd5ListArray手机号MD5列表

示例

明文数据(加密前)

json
{
  "cnName": "张三",
  "sex": "1",
  "encryptMobile": "5d41402abc4b2a76b9719d911017c592",
  "phonePrefix": "138****1234",
  "city": "成都市",
  "idNumber": "510100199001011234",
  "age": 34,
  "education": 5,
  "house": 1,
  "vehicle": 2,
  "overdue": 0,
  "creditCard": 1,
  "insurance": 2,
  "job": 0,
  "monthIncome": "2",
  "gongjijin": 2,
  "shebao": 2,
  "zhima": 680,
  "weilidai": 1,
  "jingdong": 1,
  "huabei": 1,
  "amount": 50000,
  "loanTime": 2,
  "loanFor": 1,
  "salaryPay": 0,
  "ip": "114.114.114.114",
  "url": "https://your-domain.com/callback"
}

加密后请求

json
{
  "channelCode": "CH001",
  "data": "Base64(AES加密后的上述JSON)"
}

响应示例

成功:

json
{
  "code": 0,
  "msg": "",
  "data": {
    "applyNo": "PLT20260316123456789",
    "url": "https://platform.example.com/matching?order=PLT20260316123456789",
    "price": "15.00",
    "platformName": "万利通",
    "productName": "信用贷款",
    "companyName": "",
    "logUrl": "",
    "protocolList": [],
    "phoneMd5List": []
  }
}

失败:

json
{
  "code": 400,
  "msg": "渠道不存在或未启用",
  "data": null
}