银行卡余额查询账户查询

银行卡查询服务__API服务_API服务_API Store
银行卡查询服务
银行卡查询服务
所属分类:
工具类、服务类API、全网数据
更新时间:
API调试工具 :
接口地址 :
/datatiny/cardinfo/cardinfo
请求方法 :
请求参数(header) :
您自己的apikey
请求参数(urlParam) :
银行卡卡号
<div class="text-overflow-fix " style="width:100" data-title="
请求示例 :
python示例
ObjectC示例
--get --include
&#39;/datatiny/cardinfo/cardinfo?cardnum=1234&#39;
-H &#39;apikey:您自己的apikey&#39;
$ch = curl_init();
$url = &#39;/datatiny/cardinfo/cardinfo?cardnum=1234&#39;;
$header = array(
&#39;apikey: 您自己的apikey&#39;,
// 添加apikey到header
curl_setopt($ch, CURLOPT_HTTPHEADER
, $header);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// 执行HTTP请求
curl_setopt($ch , CURLOPT_URL , $url);
$res = curl_exec($ch);
var_dump(json_decode($res));
# -*- coding: utf-8 -*-
import sys, urllib, urllib2, json
url = &#39;/datatiny/cardinfo/cardinfo?cardnum=1234&#39;
req = urllib2.Request(url)
req.add_header(&apikey&, &您自己的apikey&)
resp = urllib2.urlopen(req)
content = resp.read()
if(content):
print(content)
String httpUrl = &/datatiny/cardinfo/cardinfo&;
String httpArg = &cardnum=1234&;
String jsonResult = request(httpUrl, httpArg);
System.out.println(jsonResult);
* @param urlAll
* @param httpArg
* @return 返回结果
public static String request(String httpUrl, String httpArg) {
BufferedReader reader =
String result =
StringBuffer sbf = new StringBuffer();
httpUrl = httpUrl + &?& + httpA
URL url = new URL(httpUrl);
HttpURLConnection connection = (HttpURLConnection) url
.openConnection();
connection.setRequestMethod(&GET&);
// 填入apikey到HTTP header
connection.setRequestProperty(&apikey&,
&您自己的apikey&);
connection.connect();
InputStream is = connection.getInputStream();
reader = new BufferedReader(new InputStreamReader(is, &UTF-8&));
String strRead =
while ((strRead = reader.readLine()) != null) {
sbf.append(strRead);
sbf.append(&\r\n&);
reader.close();
result = sbf.toString();
} catch (Exception e) {
e.printStackTrace();
string url = &/datatiny/cardinfo/cardinfo&;
string param = &cardnum=1234&;
string result = request(url,param);
/// &summary&
/// 发送HTTP请求
/// &/summary&
/// &param name=&url&&请求的URL&/param&
/// &param name=&param&&请求的参数&/param&
/// &returns&请求结果&/returns&
public static string request(string url, string param)
string strURL = url + &#39;?&#39; +
System.Net.HttpWebR
request = (System.Net.HttpWebRequest)WebRequest.Create(strURL);
request.Method = &GET&;
// 添加header
request.Headers.Add(&apikey&, &您自己的apikey&);
System.Net.HttpWebR
response = (System.Net.HttpWebResponse)request.GetResponse();
System.IO.S
s = response.GetResponseStream();
string StrDate = &&;
string strValue = &&;
StreamReader Reader = new StreamReader(s, Encoding.UTF8);
while ((StrDate = Reader.ReadLine()) != null)
strValue += StrDate + &\r\n&;
return strV
NSString *httpUrl = @&/datatiny/cardinfo/cardinfo&;
NSString *httpArg = @&cardnum=1234&;
[self request: httpUrl withHttpArg: httpArg];
-(void)request: (NSString*)httpUrl withHttpArg: (NSString*)HttpArg
NSString *urlStr = [[NSString alloc]initWithFormat: @&%@?%@&, httpUrl, HttpArg];
NSURL *url = [NSURL URLWithString: urlStr];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc]initWithURL: url cachePolicy: NSURLRequestUseProtocolCachePolicy timeoutInterval: 10];
[request setHTTPMethod: @&GET&];
[request addValue: @&您自己的apikey& forHTTPHeaderField: @&apikey&];
[NSURLConnection sendAsynchronousRequest: request
queue: [NSOperationQueue mainQueue]
completionHandler: ^(NSURLResponse *response, NSData *data, NSError *error){
if (error) {
NSLog(@&Httperror: %@%ld&, error.localizedDescription, error.code);
NSInteger responseCode = [(NSHTTPURLResponse *)response statusCode];
NSString *responseString = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
NSLog(@&HttpResponseCode:%ld&, responseCode);
NSLog(@&HttpResponseBody %@&,responseString);
var url = &/datatiny/cardinfo/cardinfo&
var httpArg = &cardnum=1234&
request(url, httpArg: httpArg)
request(httpUrl: String, httpArg: String) {
var req = NSMutableURLRequest(URL: NSURL(string: httpUrl + &?& + httpArg)!)
req.timeoutInterval = 6
req.HTTPMethod = &GET&
req.addValue(&您自己的apikey&, forHTTPHeaderField: &apikey&)
NSURLConnection.sendAsynchronousRequest(req, queue: NSOperationQueue.mainQueue()) {
(response, data, error) -& Void in
let res = response as! NSHTTPURLResponse
println(res.statusCode)
if let e = error{
println(&请求失败&)
if let d = data {
var content = NSString(data: d, encoding: NSUTF8StringEncoding)
println(content)
JSON返回示例 :
&status&: 1,
&cardtype&: &贷记卡&,
&cardlength&: 16,
&cardprefixnum&: &518710&,
&cardname&: &MASTER信用卡&,
&bankname&: &招商银行信用卡中心&,
&banknum&: &&
cardtype:银行卡的类型
cardlength:银行卡的长度
cardprefixnum:银行卡前缀
cardname:银行卡名称
bankname:归属银行
banknum:内部结算代码
套餐权限套餐价格
10000次/天
限制类错误:
错误码返回
错误码返回说明
User&#39;s request is expired
用户请求过期
User call overrun per day
用户日调用量超限
Service call overrun per second
服务每秒调用量超限
Service call overrun per day
服务日调用量超限
调用方错误:
错误码返回
错误码返回说明
URL cannot be resolved
url无法解析
Missing apikey
请求缺少apikey,登录即可获取
Apikey or secretkey is NULL
服务没有取到apikey或secretkey
Apikey does not exist
apikey不存在
Api does not exist
Api out of service
api已关闭服务
Service overdue, please pay in time
余额不足,请充值
User not verified
未通过实名验证
Service provider response status error
服务商响应status非200
代理平台错误:
错误码返回
错误码返回说明
Internal error
Sorry,The system is busy. Please try again late
系统繁忙稍候再试
银行卡信息调用方错误码:
错误码返回
错误码返回说明
无效的卡号
无效的卡号
联系邮箱:
大家都在问
简单,快速的查询银行卡所属银行信息,如果有需要银行电话,归属地请使用收费版
用户添加银行卡后显示卡的归属银行信息
平均响应延迟平安集团旗下业务 |
平安金融旗舰店 |
平安一账通
在线客服 |
口袋银行 |
网点查询 |
联系我们 |
网站导航 |
探索零售金融新模式 平安银行零售业务迈入转型新阶段
投资理财工具
&&&&业务工具&&&&
股票代码:SZ000001
平安银行信用卡
平安银行公司业务
贷贷平安商务卡(请输入姓名、身份证号或证书编号进行查询)
本系统为公示系统,存在重名情况,如本人需要查询证书,请仅输入身份证号码。

我要回帖

更多关于 工商银行卡余额查询 的文章

 

随机推荐