https://ccdcapi.alipay.com/validateAndCacheCardInfo.json?_input_charset=utf-8&cardNo=银行卡号&cardBinCheck=true
返回json字符串 用的到的时候我再补全
调试代码
$card_no = '6217000120010791184'; //存在
$url='https://ccdcapi.alipay.com/validateAndCacheCardInfo.json?_input_charset=utf-8&cardNo='.$card_no.'&cardBinCheck=true';
$json_result = file_get_contents($url);
$result = json_decode($json_result);
var_dump($result->validated);die;