curl --request POST \
--url https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/pdf' \
--data '<string>'import requests
url = "https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/files"
payload = "<string>"
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/pdf"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/pdf'},
body: '<string>'
};
fetch('https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/files', 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}/files",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "<string>",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/pdf"
],
]);
$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}/files"
payload := strings.NewReader("<string>")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/pdf")
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}/files")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/pdf")
.body("<string>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/files")
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/pdf'
request.body = "<string>"
response = http.request(request)
puts response.read_bodyUpload a file for an information request
Uploads a supporting document for a review in info_requested. Send the raw binary body with its Content-Type (PDF, PNG, JPEG, WEBP, TXT, CSV, DOC(X) or XLS(X), up to 50 MB) and the filename in the name query param. Uploading a file moves the review back to in_review so the compliance team re-evaluates it.
The category query parameter uses a closed banking-document vocabulary. When requested_documents still has pending entries, it is required and must be one of the original requested categories; the same category remains valid for additional files such as an ID front and back. Omitting it or sending a category outside the original request returns 400 invalid_category with the pending list. After all requested categories are covered, additional valid banking categories are accepted. Uploads are accepted in info_requested, or in in_review after a previous request-info.
curl --request POST \
--url https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/pdf' \
--data '<string>'import requests
url = "https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/files"
payload = "<string>"
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/pdf"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/pdf'},
body: '<string>'
};
fetch('https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/files', 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}/files",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "<string>",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/pdf"
],
]);
$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}/files"
payload := strings.NewReader("<string>")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/pdf")
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}/files")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/pdf")
.body("<string>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/me/txn-reviews/{reviewID}/files")
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/pdf'
request.body = "<string>"
response = http.request(request)
puts response.read_bodyAuthorizations
Query Parameters
Closed banking-document category. Required when the review has pending requested_documents; it must match one of them. After all requested categories are covered, any valid category is accepted.
identity, proofOfResidence, proofOfAddress, bankStatement, legalPresence, companyDetails, ownershipStructure, controlStructure, uboIdentity, uboProofOfAddress, uboBankStatement, sourceOfWealth, financialStatements, amlPolicy, wolfsberg, mlroCV, businessLicense, dividendEvidence, evidenceOfActivity, shareholderRegister, directorsRegister, swornDeclaration, identity_front, identity_back, ubo_gov_id_front, ubo_gov_id_back, uboIdentityBack, ubo_bank_statement, ubo_proof_of_address, ubo_source_of_wealth, certificateOfGoodStanding, registerShareholder, idShareholders, addressVerificationShareholders Body
The body is of type file.
Response
File uploaded; the review moved back to in_review.