Start the bank connection (public, holder)
curl --request POST \
--url https://api.qbank.cl/platform/consent/{token}/beginimport requests
url = "https://api.qbank.cl/platform/consent/{token}/begin"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.qbank.cl/platform/consent/{token}/begin', 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/consent/{token}/begin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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/consent/{token}/begin"
req, _ := http.NewRequest("POST", url, nil)
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/consent/{token}/begin")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/consent/{token}/begin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"widget_token": "wtoken_2c7f9a1b4e5d40aa",
"public_key": "pk_prod_9a8f7e6d5c",
"expires_at": "2026-08-09T15:30:00Z"
}{
"error": "not_found",
"message": "consent not found"
}{
"error": "already_decided",
"message": "this consent link is no longer pending"
}{
"error": "rate_limited",
"message": "too many requests"
}Start the bank connection (public, holder)
Opens the bank-connection session for the holder: returns the widget_token and public_key the open-finance widget needs to render the institution picker. Only a pending consent can begin; any other status returns 409 already_decided. Rate limited per IP.
POST
/
consent
/
{token}
/
begin
Start the bank connection (public, holder)
curl --request POST \
--url https://api.qbank.cl/platform/consent/{token}/beginimport requests
url = "https://api.qbank.cl/platform/consent/{token}/begin"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.qbank.cl/platform/consent/{token}/begin', 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/consent/{token}/begin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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/consent/{token}/begin"
req, _ := http.NewRequest("POST", url, nil)
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/consent/{token}/begin")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/consent/{token}/begin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"widget_token": "wtoken_2c7f9a1b4e5d40aa",
"public_key": "pk_prod_9a8f7e6d5c",
"expires_at": "2026-08-09T15:30:00Z"
}{
"error": "not_found",
"message": "consent not found"
}{
"error": "already_decided",
"message": "this consent link is no longer pending"
}{
"error": "rate_limited",
"message": "too many requests"
}Path Parameters
Response
Bank-connection session ready.
Last modified on August 22, 2026
⌘I