APISpace 的 银行卡四因素 API,反对校验银行卡号、姓名、证件号、手机号码是否属于同一个人的信息。输出银行卡号、姓名、身份证号等根本信息,测验银行卡是否为该身份所有,手机号是否为银行卡绑定手机号。
APISpace 下面还有很多各种各样的 API,并且所有 API 提供收费的调用次数,大家感兴趣欢送拜访官网 apispace.com,eolink 用户能够间接应用 eolink 的账号登录哟~
接口应用起来也是超级不便,仅须要以下短短几步,就可能实现了:
- 到 APISpace 注册账户
- 申请 银行卡四因素 API
-
申请之后就能够应用该接口了
接口 PHP 申请示例
<?php
$client = new http\Client;
$request = new http\Client\Request;
$body = new http\Message\Body;
$body->append(new http\QueryString(array({
"name" => "","idNum"=>"",
"cardNo" => "","mobile"=>""
))));
$request->setRequestUrl("eolink.o.apispace.com/bankcard-4/card-auth");
$request->setRequestMethod("POST");
$request->setBody($body);
$request->setHeaders(array("X-APISpace-Token" => "","Authorization-Type"=>"apikey","Content-Type"=>""));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
接口返回示例
{
chargeStatus: "1",
message: "胜利",
data: {
orderNo: "011569554991100011",
handleTime: "2018-04-12 18:08:03",
result: "02",
bankName: "",
cardType: "",
cardCategory: "***",
remark: "信息认证未通过 (发卡行无此卡号)"
},
code: "200000"
}