预览某通道的存款说明
curl --request GET \
--url https://api.qbank.cl/platform/v1/payins/deposit-instructions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/payins/deposit-instructions"
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/deposit-instructions', 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/deposit-instructions",
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/deposit-instructions"
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/deposit-instructions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/payins/deposit-instructions")
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{
"deposit_instructions": {
"id": "9f0c1a2b-3d4e-4f5a-8b9c-1a2b3c4d5e6f",
"country": "CL",
"currency": "CLP",
"method": "bank_transfer",
"purpose": "payin",
"revision": 3,
"active": true,
"reference_required": true,
"bank_name": "Bank of Example",
"account_number": "0001112223",
"account_type": "checking",
"holder_name": "Example Org SpA",
"created_at": "2026-07-15T14:02:00Z",
"qr_payload": "Bank: Bank of Example\nAccount type: checking\nAccount number: 0001112223\nHolder: Example Org SpA\n",
"qr_png_base64": "iVBORw0KGgoAAAANSU..."
}
}
预览某通道的存款说明
返回你的组织为 bank_transfer 通道发布的银行账户文本 —— 与已宣告
payin 响应中自动嵌入的内容相同。可用于在付款人创建 payin 之前渲染
“钱应该汇到哪里”页面,或在静态页面上展示当前的存款说明。
只有配置了有效、由管理员设置的说明的通道才会返回内容;其余通道
响应 404 not_found(没有可预览的内容 —— 该通道不需要说明,或
尚无人配置)。
GET
/
v1
/
payins
/
deposit-instructions
预览某通道的存款说明
curl --request GET \
--url https://api.qbank.cl/platform/v1/payins/deposit-instructions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/payins/deposit-instructions"
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/deposit-instructions', 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/deposit-instructions",
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/deposit-instructions"
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/deposit-instructions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/payins/deposit-instructions")
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{
"deposit_instructions": {
"id": "9f0c1a2b-3d4e-4f5a-8b9c-1a2b3c4d5e6f",
"country": "CL",
"currency": "CLP",
"method": "bank_transfer",
"purpose": "payin",
"revision": 3,
"active": true,
"reference_required": true,
"bank_name": "Bank of Example",
"account_number": "0001112223",
"account_type": "checking",
"holder_name": "Example Org SpA",
"created_at": "2026-07-15T14:02:00Z",
"qr_payload": "Bank: Bank of Example\nAccount type: checking\nAccount number: 0001112223\nHolder: Example Org SpA\n",
"qr_png_base64": "iVBORw0KGgoAAAANSU..."
}
}
授权
会话 JWT(来自注册/登录)或 API key(pk_...)。
也接受 X-API-Key: <token> 作为替代请求头。
最后修改于 2026年8月22日
⌘I