Verify a contract by its public verification code
curl --request GET \
--url https://api.qbank.cl/platform/verify/contracts/{code}import requests
url = "https://api.qbank.cl/platform/verify/contracts/{code}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.qbank.cl/platform/verify/contracts/{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/contracts/{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/contracts/{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/contracts/{code}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/verify/contracts/{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": "contract",
"status": "ok",
"raw_status": "completed",
"org": "cbpay",
"client": "Acme SpA",
"template_version": "v13.2",
"lang": "es",
"envelope": "7c9e2f1a",
"doc_hash": "9f2c4e1ab7334d1e8840f6a2c5d7e8b190a3c6d4f5e7b8192a3c4d5e6f708192",
"final_hash": "41bd7e09c2f58a136d47b09e3c8f1a52b7e4d6091f3a8c5de07294b6183af5c0",
"created_at": "2026-10-01T14:03:12Z",
"signed_at": "2026-10-02T11:22:40Z",
"has_cb_signature": true,
"has_client_signature": true,
"issued_by": "CBPay"
}{
"error": "not_found",
"message": "this verification code does not correspond to any contract issued by this platform"
}{
"error": "too_many_attempts",
"message": "too many requests; wait a moment and retry"
}Verify a contract by its public verification code
Public oracle for Grupo CB framework contract authenticity. No credentials required. The code is the letter K followed by an HMAC of the envelope ID, printed in the verification block of the final PDF and exposed as verify_code in the envelope JSON. Responds JSON by default, or a human HTML page when the Accept header includes text/html. Invalid codes return a generic 404 that does not reveal whether a contract exists. Rate-limited per IP.
GET
/
verify
/
contracts
/
{code}
Verify a contract by its public verification code
curl --request GET \
--url https://api.qbank.cl/platform/verify/contracts/{code}import requests
url = "https://api.qbank.cl/platform/verify/contracts/{code}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.qbank.cl/platform/verify/contracts/{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/contracts/{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/contracts/{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/contracts/{code}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/verify/contracts/{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": "contract",
"status": "ok",
"raw_status": "completed",
"org": "cbpay",
"client": "Acme SpA",
"template_version": "v13.2",
"lang": "es",
"envelope": "7c9e2f1a",
"doc_hash": "9f2c4e1ab7334d1e8840f6a2c5d7e8b190a3c6d4f5e7b8192a3c4d5e6f708192",
"final_hash": "41bd7e09c2f58a136d47b09e3c8f1a52b7e4d6091f3a8c5de07294b6183af5c0",
"created_at": "2026-10-01T14:03:12Z",
"signed_at": "2026-10-02T11:22:40Z",
"has_cb_signature": true,
"has_client_signature": true,
"issued_by": "CBPay"
}{
"error": "not_found",
"message": "this verification code does not correspond to any contract issued by this platform"
}{
"error": "too_many_attempts",
"message": "too many requests; wait a moment and retry"
}Path Parameters
Public verification code of the contract (K + HMAC).
Response
Contract authenticity statement.