为超过 100 万开发者提供专业的 API 服务,所有 API 均提供免费的服务
APISpace 的 银行卡四要素API,支持校验银行卡号、姓名、证件号、手机号码是否属于同一个人的信息。输入银行卡号、姓名、身份证号等基本信息,检验银行卡是否为该身份所有,手机号是否为银行卡绑定手机号。
APISpace 上面还有很多各种各样的API,并且所有API提供免费的调用次数,大家感兴趣欢迎访问官网apispace.com,eolink用户可以直接使用eolink的账号登录哟~
接口使用起来也是超级方便,仅需要以下短短几步,就能够实现了:
接口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"
}
Last Updated on 2022-09-16 by admin