Bank card confirmation in the Internet is becoming more and more popular, in the second-hand, e-commerce, loans, and other mainstream Internet applications have a clear need, the traditional bank card verification mode is the user upload pictures, customer service background human review, but the problem is that there is no way to confirm the authenticity of the bank card, can not confirm the card holder and identity card
Today we are talking about the bank card verification system that is connected to the National Bank for real-time bank card authentication, the requested values include: Name, ID number, bank card number, mobile number
The code is simple and launches the following Web request to the seven dog server:
HTTPS://api.7xq.com/bandcard?name= name &no= ID number &mobile= phone number &cardid= bank card number &appkey= You are in the Appkey of the seven-man dog
The JSON code returned is as follows:
{ "code": "10000", "MSG": "Query Complete", "result": { "Soncode": "20000", "orderId": "88923771212", "Success": "True", "message": "Passed verification", }}
The result of the test is success, when the Boolean value is true, the delegate passes the verification, otherwise the four element value cannot be fully matched.
Where code 10000 is used to describe the completion of a Web request, Result-soncode describes the resulting code for the verification information.
Bank card authentication Interface API (only one line of code, to achieve National Bank card verification)