获取信用报告
curl --request GET \
--url https://api.qbank.cl/platform/v1/qscore/reports/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/qscore/reports/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qbank.cl/platform/v1/qscore/reports/{id}', 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/v1/qscore/reports/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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/v1/qscore/reports/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/v1/qscore/reports/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/qscore/reports/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"report_id": "3f5c9f2d-7d21-4b8c-9a2d-2d5f6a1b8c01",
"subject_id": "8f5fb0d2-1d45-4a0e-9d5c-2d39f2b7a112",
"status": "ready",
"purpose": "credit_evaluation",
"lang": "es",
"score": 742,
"band": "B",
"model_version": "v1",
"reason_codes": [
{
"code": "CREDIT_HISTORY_DEPTH",
"direction": "positive",
"weight": "medium"
},
{
"code": "ACTIVE_TRADELINES",
"direction": "positive",
"weight": "low"
}
],
"verify_code": "Q3f5c9f2d7d214b8c9a2d2d5f6a1b8c01a1b2c3d4e5f60718293a",
"created_at": "2026-08-08T15:04:22Z",
"completed_at": "2026-08-08T15:04:24Z",
"report": {
"meta": {
"report_id": "QSR-3F5C9F2D7D21",
"lang": "es",
"purpose": "credit_evaluation",
"generated_at": "2026-08-08T15:04:24Z",
"verification_code": "Q3f5c9f2d7d214b8c9a2d2d5f6a1b8c01a1b2c3d4e5f60718293a",
"verification_url": "/verify/qscore/Q3f5c9f2d7d214b8c9a2d2d5f6a1b8c01a1b2c3d4e5f60718293a"
},
"identity": {
"subject_type": "person",
"doc_id": "12.345.678-5",
"name": "Example Name",
"country": "CL"
},
"score": {
"score": 742,
"band": "B",
"model_version": "v1",
"reason_codes": [
{
"code": "CREDIT_HISTORY_DEPTH",
"direction": "positive",
"weight": "medium"
}
],
"computed_at": "2026-08-08T15:04:24Z"
},
"summary": [
"No delinquencies or adverse events on record."
],
"sources": [
{
"source": "res_chile",
"label": "Commercial bulletin",
"records": 1,
"fetched_at": "2026-08-08T15:04:23Z"
}
]
}
}
获取信用报告
返回您账户拥有的信用报告的完整详情。当 status 为 ready 时嵌入完整的 规范化 report 对象;当为 failed 时,error_code/error_message 说明原因。 其他账户拥有的报告返回 404 not_found(所有权隔离)。
GET
/
v1
/
qscore
/
reports
/
{id}
获取信用报告
curl --request GET \
--url https://api.qbank.cl/platform/v1/qscore/reports/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/qscore/reports/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qbank.cl/platform/v1/qscore/reports/{id}', 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/v1/qscore/reports/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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/v1/qscore/reports/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/v1/qscore/reports/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/qscore/reports/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"report_id": "3f5c9f2d-7d21-4b8c-9a2d-2d5f6a1b8c01",
"subject_id": "8f5fb0d2-1d45-4a0e-9d5c-2d39f2b7a112",
"status": "ready",
"purpose": "credit_evaluation",
"lang": "es",
"score": 742,
"band": "B",
"model_version": "v1",
"reason_codes": [
{
"code": "CREDIT_HISTORY_DEPTH",
"direction": "positive",
"weight": "medium"
},
{
"code": "ACTIVE_TRADELINES",
"direction": "positive",
"weight": "low"
}
],
"verify_code": "Q3f5c9f2d7d214b8c9a2d2d5f6a1b8c01a1b2c3d4e5f60718293a",
"created_at": "2026-08-08T15:04:22Z",
"completed_at": "2026-08-08T15:04:24Z",
"report": {
"meta": {
"report_id": "QSR-3F5C9F2D7D21",
"lang": "es",
"purpose": "credit_evaluation",
"generated_at": "2026-08-08T15:04:24Z",
"verification_code": "Q3f5c9f2d7d214b8c9a2d2d5f6a1b8c01a1b2c3d4e5f60718293a",
"verification_url": "/verify/qscore/Q3f5c9f2d7d214b8c9a2d2d5f6a1b8c01a1b2c3d4e5f60718293a"
},
"identity": {
"subject_type": "person",
"doc_id": "12.345.678-5",
"name": "Example Name",
"country": "CL"
},
"score": {
"score": 742,
"band": "B",
"model_version": "v1",
"reason_codes": [
{
"code": "CREDIT_HISTORY_DEPTH",
"direction": "positive",
"weight": "medium"
}
],
"computed_at": "2026-08-08T15:04:24Z"
},
"summary": [
"No delinquencies or adverse events on record."
],
"sources": [
{
"source": "res_chile",
"label": "Commercial bulletin",
"records": 1,
"fetched_at": "2026-08-08T15:04:23Z"
}
]
}
}
最后修改于 2026年8月22日
⌘I