验证凭证真伪(公开)
curl --request GET \
--url https://api.qbank.cl/platform/verify/receipts/{code}import requests
url = "https://api.qbank.cl/platform/verify/receipts/{code}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.qbank.cl/platform/verify/receipts/{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/receipts/{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/receipts/{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/receipts/{code}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/verify/receipts/{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": "payout",
"status": "ok",
"raw_status": "completed",
"amount": "800.00 VES",
"detail": "Venezuela — Pago Móvil",
"date": "2026-07-11 15:29 UTC",
"issued_by": "CBPay"
}{
"valid": false,
"message": "this verification code does not correspond to any receipt issued by this platform"
}{
"error": "too_many_attempts",
"message": "too many verification attempts; wait a moment and retry"
}验证凭证真伪(公开)
公开端点(无需凭证),对应每张凭证上打印的 QR。代码经加密签名:被篡改或伪造的代码返回 404 且 valid: false。响应展示操作的真实当前状态与金额——绝不展示受益人的个人数据。浏览器获得品牌化 HTML 页面;API 客户端获得 JSON。按 IP 限流。
GET
/
verify
/
receipts
/
{code}
验证凭证真伪(公开)
curl --request GET \
--url https://api.qbank.cl/platform/verify/receipts/{code}import requests
url = "https://api.qbank.cl/platform/verify/receipts/{code}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.qbank.cl/platform/verify/receipts/{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/receipts/{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/receipts/{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/receipts/{code}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/verify/receipts/{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": "payout",
"status": "ok",
"raw_status": "completed",
"amount": "800.00 VES",
"detail": "Venezuela — Pago Móvil",
"date": "2026-07-11 15:29 UTC",
"issued_by": "CBPay"
}{
"valid": false,
"message": "this verification code does not correspond to any receipt issued by this platform"
}{
"error": "too_many_attempts",
"message": "too many verification attempts; wait a moment and retry"
}路径参数
打印在凭证上的验证码(也嵌入在 QR URL 中)。
响应
凭证为真;操作的当前实况。
最后修改于 2026年7月18日
⌘I