获取 payin
curl --request GET \
--url https://api.qbank.cl/platform/v1/payins/{payinID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/payins/{payinID}"
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/payins/{payinID}', 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/payins/{payinID}",
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/payins/{payinID}"
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/payins/{payinID}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/payins/{payinID}")
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{
"payin_id": "4f8a1b2c-3d4e-5f60-7a8b-9c0d1e2f3a4b",
"account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"kind": "qr",
"country": "BO",
"currency": "BOB",
"method": "",
"local_amount": "700.00",
"status": "credited",
"payer_source": "bank_event",
"match_method": "charge_link",
"payer": {
"name": "JUAN PEREZ",
"document": "1234567",
"account": "1000001"
},
"reference": "QR-778812",
"charge": {
"conversion": {
"amount": "700.00",
"currency": "BOB",
"rate": "6.91"
},
"expires_at": "2026-10-29T19:00:00Z"
},
"created_at": "2026-07-07T12:00:00Z",
"updated_at": "2026-07-07T12:00:00Z",
"fx_rate": "6.91",
"rate_source": "lot",
"usdt_gross": "101.302460",
"fee": "1.000000",
"usdt_credited": "100.302460"
}
获取 payin
GET
/
v1
/
payins
/
{payinID}
获取 payin
curl --request GET \
--url https://api.qbank.cl/platform/v1/payins/{payinID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/payins/{payinID}"
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/payins/{payinID}', 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/payins/{payinID}",
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/payins/{payinID}"
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/payins/{payinID}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/payins/{payinID}")
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{
"payin_id": "4f8a1b2c-3d4e-5f60-7a8b-9c0d1e2f3a4b",
"account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"kind": "qr",
"country": "BO",
"currency": "BOB",
"method": "",
"local_amount": "700.00",
"status": "credited",
"payer_source": "bank_event",
"match_method": "charge_link",
"payer": {
"name": "JUAN PEREZ",
"document": "1234567",
"account": "1000001"
},
"reference": "QR-778812",
"charge": {
"conversion": {
"amount": "700.00",
"currency": "BOB",
"rate": "6.91"
},
"expires_at": "2026-10-29T19:00:00Z"
},
"created_at": "2026-07-07T12:00:00Z",
"updated_at": "2026-07-07T12:00:00Z",
"fx_rate": "6.91",
"rate_source": "lot",
"usdt_gross": "101.302460",
"fee": "1.000000",
"usdt_credited": "100.302460"
}
响应
payin。
到账转账与该 payin 的匹配方式(审计线索)。charge_link 表示该存款支付了为此 payin 创建的收款(QR、checkout 链接或卡),并按该收款一对一关联 — 最强信号,无需启发式匹配。 manual_assign 表示由组织管理员手工路由。
可用选项:
charge_link, reference, payer_document, payer_account, payer_name, amount_single_candidate, dedicated_clabe, collect_settlement, manual_assign