Bank card four-element verification API verifies whether the name, mobile phone number, ID number, bank card number is the same

The four-element verification API of bank card detects whether the entered name, mobile phone number, ID number, and bank card number are consistent. Apply for APPKEY through https://www.juhe.cn/docs/api/id/213

  • 1. Four-element detection of bank card
Interface address: http://v.juhe.cn/verifybankcard4/query
Supported format: json
Request method: http get/post
Request example: http://v.juhe.cn/verifybankcard4/query.php?key=&bankcard=6259656360701234&realname=Hello Handsome&idcard=310329198903010011&mobile=18912341234
Interface remarks: According to the name, ID card, bank card, mobile phone number, check whether the information matches
Call samples and debugging tools: API testing tools
Request parameter description: Name type required description
  key string Yes the key you applied for
  realname string Yes Name, requires utf8 Urlencode
  idcard string Yes identification number
  bankcard string Yes Bank card number
  mobile string Yes cellphone number
Return parameter description: Name type description
  error_code int return code
  reason string Return code description
  bankcard string Bank card number
  realname string Name
  idcard string identification number
  res int Match result, 1: match 2: do not match
  jobid string The serial number of this query
  mobile string cellphone number
  res string Authentication result, 1: match 2: do not match 3: cannot authenticate 4: service provider timed out
JSON return example:
{
    "reason": "成功1",
    "result": {
        "jobid": "2015120913503797592",/*This query serial number*/
        "realname": "Business World", /*name*/
        "bankcard": "6259656360701234",/*bank card number*/
        "idcard": "310329198103050011",/*ID card number*/
        "mobile": "18912341234",/*Reserved mobile phone number*/
        "res": "2", /*Verification result, 1: match 2: do not match 3: cannot authenticate 4: service provider timed out*/
        "message": "Authentication information does not match" /*description*/
    },
    "error_code": 0
}

 

 

 

  • 2. Query record list
Interface address: http://v.juhe.cn/verifybankcard4/querylogs
Supported format: json
Request method: http get/post
Request example: http://v.juhe.cn/verifybankcard4/querylogs?key=the key you applied for
Interface Note: Query all query records of the day according to the date
Call samples and debugging tools: API testing tools
Request parameter description: Name type required description
  key string Yes the key you applied for
  page int no Specify the number of pages, the default is 1, and each page returns 50
  date date no Specify the date, the default day, format: 2015-12-12
Return parameter description: Name type description
       
JSON return example:
{
    "reason": "The query succeeded",
    "result": [
        {
            "jobid": "2015120914061612870",
            "realname": "商四壁",
            "idcard": "330329198903050011",
            "mobile": "18913513535",
            "bankcard": "6217003180000902693",
            "res": "2",
            "message": "Authentication information does not match",
            "msg": "成功",
            "error_code": "0"
        },
        {
            "jobid": "2015120914070975412",
            "realname": "商四壁",
            "idcard": "330329198903050011",
            "mobile": "18913513535",
            "bankcard": "6217003180000902693",
            "res": "2",
            "message": "Authentication information does not match",
            "msg": "成功1",
            "error_code": "0"
        }
    ],
    "error_code": 0
}

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326536025&siteId=291194637