提交信息请求中所要求的数据
curl --request POST \
--url https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fields": {
"first_name": "Juan",
"nationality": "CL"
}
}
'import requests
url = "https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/fields"
payload = { "fields": {
"first_name": "Juan",
"nationality": "CL"
} }
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({fields: {first_name: 'Juan', nationality: 'CL'}})
};
fetch('https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/fields', 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/me/txn-reviews/{reviewID}/fields",
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([
'fields' => [
'first_name' => 'Juan',
'nationality' => 'CL'
]
]),
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/me/txn-reviews/{reviewID}/fields"
payload := strings.NewReader("{\n \"fields\": {\n \"first_name\": \"Juan\",\n \"nationality\": \"CL\"\n }\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/me/txn-reviews/{reviewID}/fields")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"fields\": {\n \"first_name\": \"Juan\",\n \"nationality\": \"CL\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/fields")
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 \"fields\": {\n \"first_name\": \"Juan\",\n \"nationality\": \"CL\"\n }\n}"
response = http.request(request)
puts response.read_body{
"fields_submitted": [
"first_name",
"nationality"
],
"fields_remaining": [],
"status": "in_review"
}
提交信息请求中所要求的数据
提交映射信息请求(requested_fields,需求键封闭词汇)中要求的银行或卡申请数据。仅接受团队要求过的键——其他一律返回 400 field_not_requested。每个值按类型校验(文本、邮箱、电话、ISO 国家、YYYY-MM-DD 日期、正数美元工资、是/否、地址对象、3 字母货币、用途、发卡方目录代码、原因陈述);类型不符返回 400 invalid_field_value 并指明键名。*_na_reason 值(20-500 字,说明文件缺失原因)在未提供文件时满足其要求,并作为缺失声明函转发给服务商。所提交的值仅保存在本次审核中,并合并到检查表和批准分发中——KYC/KYB 档案绝不改动。与上传文件一样,首次提交将审核退回 in_review 并通知审核员;后续提交仅追加证据。接受 info_requested,或此前已有 request-info 的 in_review。
POST
/
v1
/
me
/
txn-reviews
/
{reviewID}
/
fields
提交信息请求中所要求的数据
curl --request POST \
--url https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fields": {
"first_name": "Juan",
"nationality": "CL"
}
}
'import requests
url = "https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/fields"
payload = { "fields": {
"first_name": "Juan",
"nationality": "CL"
} }
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({fields: {first_name: 'Juan', nationality: 'CL'}})
};
fetch('https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/fields', 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/me/txn-reviews/{reviewID}/fields",
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([
'fields' => [
'first_name' => 'Juan',
'nationality' => 'CL'
]
]),
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/me/txn-reviews/{reviewID}/fields"
payload := strings.NewReader("{\n \"fields\": {\n \"first_name\": \"Juan\",\n \"nationality\": \"CL\"\n }\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/me/txn-reviews/{reviewID}/fields")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"fields\": {\n \"first_name\": \"Juan\",\n \"nationality\": \"CL\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/fields")
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 \"fields\": {\n \"first_name\": \"Juan\",\n \"nationality\": \"CL\"\n }\n}"
response = http.request(request)
puts response.read_body{
"fields_submitted": [
"first_name",
"nationality"
],
"fields_remaining": [],
"status": "in_review"
}