Verificar una factura (público)
curl --request GET \
--url https://api.qbank.cl/platform/verify/invoices/{code}import requests
url = "https://api.qbank.cl/platform/verify/invoices/{code}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.qbank.cl/platform/verify/invoices/{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/invoices/{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/invoices/{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/invoices/{code}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/verify/invoices/{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,
"kind": "invoice",
"invoice_number": "INV-2026-0001",
"brand": "CBPay",
"issuer": {
"legal_name": "GRUPO CB LLC",
"tax_id": "61-2219200",
"address": "7345 West Sand Lake Road STE 210 Office 1784, Orlando, FL 32819, USA",
"email": "hola@cbpayapp.com",
"file_number": "5541381",
"brand_name": "CBPay",
"website": "www.cbpayapp.com"
},
"status": "sent",
"status_word": "Sent",
"currency": "USD",
"total": "1250.00",
"amount_paid": "500.00",
"balance": "750.00",
"issue_date": "2026-11-11",
"due_date": "2026-12-11",
"overdue": false,
"bill_to": "Andes Logistics SpA",
"pay_url": "https://pay.example/checkout/token",
"wire_instructions": {
"bank_name": "Domestic Receiving Bank",
"account_number": 123456789,
"routing_number": "021000021",
"reference_required": true,
"qr_payload": "Bank: Domestic Receiving Bank\\nAccount: 000123456789\\nReference: INV-2026-0001"
},
"wire_instructions_swift": {
"bank_name": "International Receiving Bank",
"account_number": "9870001234",
"swift": "FVBAUS33",
"reference_required": true,
"qr_payload": "Bank: International Receiving Bank\\nAccount: 9870001234\\nSWIFT: FVBAUS33\\nReference: INV-2026-0001"
},
"wire_reference": "INV-2026-0001"
}{
"error": "not_found",
"message": "verification code not found"
}{
"error": "too_many_attempts",
"message": "too many verification attempts; wait a moment and retry"
}Verificar una factura (público)
Endpoint público sin credenciales para el código firmado de la factura impreso en el enlace del email o QR del PDF. Los clientes API reciben los hechos vigentes como JSON; los navegadores reciben HTML brandeado. Los códigos inválidos o de borrador responden 404 genérico. Limitado por IP.
GET
/
verify
/
invoices
/
{code}
Verificar una factura (público)
curl --request GET \
--url https://api.qbank.cl/platform/verify/invoices/{code}import requests
url = "https://api.qbank.cl/platform/verify/invoices/{code}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.qbank.cl/platform/verify/invoices/{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/invoices/{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/invoices/{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/invoices/{code}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/verify/invoices/{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,
"kind": "invoice",
"invoice_number": "INV-2026-0001",
"brand": "CBPay",
"issuer": {
"legal_name": "GRUPO CB LLC",
"tax_id": "61-2219200",
"address": "7345 West Sand Lake Road STE 210 Office 1784, Orlando, FL 32819, USA",
"email": "hola@cbpayapp.com",
"file_number": "5541381",
"brand_name": "CBPay",
"website": "www.cbpayapp.com"
},
"status": "sent",
"status_word": "Sent",
"currency": "USD",
"total": "1250.00",
"amount_paid": "500.00",
"balance": "750.00",
"issue_date": "2026-11-11",
"due_date": "2026-12-11",
"overdue": false,
"bill_to": "Andes Logistics SpA",
"pay_url": "https://pay.example/checkout/token",
"wire_instructions": {
"bank_name": "Domestic Receiving Bank",
"account_number": 123456789,
"routing_number": "021000021",
"reference_required": true,
"qr_payload": "Bank: Domestic Receiving Bank\\nAccount: 000123456789\\nReference: INV-2026-0001"
},
"wire_instructions_swift": {
"bank_name": "International Receiving Bank",
"account_number": "9870001234",
"swift": "FVBAUS33",
"reference_required": true,
"qr_payload": "Bank: International Receiving Bank\\nAccount: 9870001234\\nSWIFT: FVBAUS33\\nReference: INV-2026-0001"
},
"wire_reference": "INV-2026-0001"
}{
"error": "not_found",
"message": "verification code not found"
}{
"error": "too_many_attempts",
"message": "too many verification attempts; wait a moment and retry"
}