请求地址:/v6/ApiOrgCertification/validationAndPayment.json
请求方式:POST
接口版本: v6
接口描述:
#!/usr/bin/python # encoding:utf-8 import urllib2, json, urllib dict ={} dict['bank_card'] = '31050163360000004155'; dict['bank_name'] = '建设银行第二支行'; dict['org_name'] = '上海xxxxx服务有限公司'; url = "https://api-v2.1dq.com/v6/ApiOrgCertification/validationAndPayment.json + "?" + urllib.urlencode(dict) result = urllib2.urlopen(urllib2.Request(url)) jsonarr = json.loads(result.read()) # 输出错误码 print jsonarr["code"]