验证 Qscore 报告的真实性(公开)
curl --request GET \
--url https://api.qbank.cl/platform/verify/qscore/{code}import requests
url = "https://api.qbank.cl/platform/verify/qscore/{code}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.qbank.cl/platform/verify/qscore/{code}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qbank.cl/platform/verify/qscore/{code}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/verify/qscore/{code}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qbank.cl/platform/verify/qscore/{code}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/verify/qscore/{code}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"valid": true,
"type": "verification_report",
"kind": "qscore",
"status": "ready",
"decision": "B",
"date": "2026-08-08",
"issued_by": "CBPay"
}{
"valid": false,
"message": "this verification code does not correspond to any verification report issued by this platform"
}{
"error": "too_many_attempts",
"message": "too many verification attempts; wait a moment and retry"
}验证 Qscore 报告的真实性(公开)
公开端点(无需凭证),对应每份 Qscore 信用报告上打印的验证码。该代码经过加密签名: 被篡改或伪造的代码会返回 404 和 valid: false。响应仅显示非敏感事实:报告存在、 其评分等级(绝不返回数字分数)以及签发日期——绝不包含主体身份或信用详情。 浏览器获得品牌化 HTML 页面;API 客户端获得 JSON。按 IP 限流。
GET
/
verify
/
qscore
/
{code}
验证 Qscore 报告的真实性(公开)
curl --request GET \
--url https://api.qbank.cl/platform/verify/qscore/{code}import requests
url = "https://api.qbank.cl/platform/verify/qscore/{code}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.qbank.cl/platform/verify/qscore/{code}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qbank.cl/platform/verify/qscore/{code}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/verify/qscore/{code}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qbank.cl/platform/verify/qscore/{code}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/verify/qscore/{code}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"valid": true,
"type": "verification_report",
"kind": "qscore",
"status": "ready",
"decision": "B",
"date": "2026-08-08",
"issued_by": "CBPay"
}{
"valid": false,
"message": "this verification code does not correspond to any verification report issued by this platform"
}{
"error": "too_many_attempts",
"message": "too many verification attempts; wait a moment and retry"
}路径参数
报告上打印的验证码(报告资源的 verify_code 字段)。
响应
报告真实有效;非敏感事实。
最后修改于 2026年8月22日
⌘I