预览虚拟IBAN申请缺失的持有人字段
curl --request POST \
--url https://api.qbank.cl/platform/v1/banking/virtual-ibans/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"purpose": "funding_usdt"
}
'import requests
url = "https://api.qbank.cl/platform/v1/banking/virtual-ibans/preview"
payload = { "purpose": "funding_usdt" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({purpose: 'funding_usdt'})
};
fetch('https://api.qbank.cl/platform/v1/banking/virtual-ibans/preview', 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/banking/virtual-ibans/preview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'purpose' => 'funding_usdt'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/v1/banking/virtual-ibans/preview"
payload := strings.NewReader("{\n \"purpose\": \"funding_usdt\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.qbank.cl/platform/v1/banking/virtual-ibans/preview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"purpose\": \"funding_usdt\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/banking/virtual-ibans/preview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"purpose\": \"funding_usdt\"\n}"
response = http.request(request)
puts response.read_body{
"purpose": "funding_usdt",
"account_type": "person",
"known": [
"individual.firstName",
"individual.address.city"
],
"missing": [
"individual.document.issuedCountryCode",
"individual.document.expirationDate"
]
}预览虚拟IBAN申请缺失的持有人字段
虚拟IBAN申请的无状态 dry-run:使用空 overrides 运行与 create 相同的 gates 和 registrant builder,仅返回键路径 ——绝不返回 PII 值。同一账户最新先前申请中已声明的值会被复用(显式 overrides 始终优先;过期日期会被重新询问)。GB purposes 在 payin 通道关闭时返回 409 corridor_disabled。
POST
/
v1
/
banking
/
virtual-ibans
/
preview
预览虚拟IBAN申请缺失的持有人字段
curl --request POST \
--url https://api.qbank.cl/platform/v1/banking/virtual-ibans/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"purpose": "funding_usdt"
}
'import requests
url = "https://api.qbank.cl/platform/v1/banking/virtual-ibans/preview"
payload = { "purpose": "funding_usdt" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({purpose: 'funding_usdt'})
};
fetch('https://api.qbank.cl/platform/v1/banking/virtual-ibans/preview', 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/banking/virtual-ibans/preview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'purpose' => 'funding_usdt'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/v1/banking/virtual-ibans/preview"
payload := strings.NewReader("{\n \"purpose\": \"funding_usdt\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.qbank.cl/platform/v1/banking/virtual-ibans/preview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"purpose\": \"funding_usdt\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/banking/virtual-ibans/preview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"purpose\": \"funding_usdt\"\n}"
response = http.request(request)
puts response.read_body{
"purpose": "funding_usdt",
"account_type": "person",
"known": [
"individual.firstName",
"individual.address.city"
],
"missing": [
"individual.document.issuedCountryCode",
"individual.document.expirationDate"
]
}