Add a destination to a contact
curl --request POST \
--url https://api.qbank.cl/platform/v1/contacts/{contactID}/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "payout",
"country": "CL",
"currency": "CLP",
"method": "bank_transfer",
"beneficiary": {
"name": "Carlos Soto",
"tax_id": "12.345.678-5",
"bank_code": "012",
"account_type": "checking",
"account_number": "123456789"
}
}
'import requests
url = "https://api.qbank.cl/platform/v1/contacts/{contactID}/destinations"
payload = {
"type": "payout",
"country": "CL",
"currency": "CLP",
"method": "bank_transfer",
"beneficiary": {
"name": "Carlos Soto",
"tax_id": "12.345.678-5",
"bank_code": "012",
"account_type": "checking",
"account_number": "123456789"
}
}
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({
type: 'payout',
country: 'CL',
currency: 'CLP',
method: 'bank_transfer',
beneficiary: {
name: 'Carlos Soto',
tax_id: '12.345.678-5',
bank_code: '012',
account_type: 'checking',
account_number: '123456789'
}
})
};
fetch('https://api.qbank.cl/platform/v1/contacts/{contactID}/destinations', 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/contacts/{contactID}/destinations",
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([
'type' => 'payout',
'country' => 'CL',
'currency' => 'CLP',
'method' => 'bank_transfer',
'beneficiary' => [
'name' => 'Carlos Soto',
'tax_id' => '12.345.678-5',
'bank_code' => '012',
'account_type' => 'checking',
'account_number' => '123456789'
]
]),
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/contacts/{contactID}/destinations"
payload := strings.NewReader("{\n \"type\": \"payout\",\n \"country\": \"CL\",\n \"currency\": \"CLP\",\n \"method\": \"bank_transfer\",\n \"beneficiary\": {\n \"name\": \"Carlos Soto\",\n \"tax_id\": \"12.345.678-5\",\n \"bank_code\": \"012\",\n \"account_type\": \"checking\",\n \"account_number\": \"123456789\"\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/contacts/{contactID}/destinations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"payout\",\n \"country\": \"CL\",\n \"currency\": \"CLP\",\n \"method\": \"bank_transfer\",\n \"beneficiary\": {\n \"name\": \"Carlos Soto\",\n \"tax_id\": \"12.345.678-5\",\n \"bank_code\": \"012\",\n \"account_type\": \"checking\",\n \"account_number\": \"123456789\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/contacts/{contactID}/destinations")
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 \"type\": \"payout\",\n \"country\": \"CL\",\n \"currency\": \"CLP\",\n \"method\": \"bank_transfer\",\n \"beneficiary\": {\n \"name\": \"Carlos Soto\",\n \"tax_id\": \"12.345.678-5\",\n \"bank_code\": \"012\",\n \"account_type\": \"checking\",\n \"account_number\": \"123456789\"\n }\n}"
response = http.request(request)
puts response.read_body{
"destination_id": "bb22c3d4-5e6f-7a80-9b0c-1d2e3f4a5b6c",
"type": "payout",
"country": "CL",
"currency": "CLP",
"method": "bank_transfer",
"details": {
"name": "Carlos Soto",
"tax_id": "12.345.678-5",
"bank_code": "012",
"account_type": "checking",
"account_number": "123456789"
},
"last_used_at": "2026-07-10T16:00:00Z",
"created_at": "2026-07-10T16:00:00Z"
}{
"error": "invalid_json",
"message": "request body is not valid JSON: unknown field"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "not_found",
"message": "resource not found"
}Add a destination to a contact
Saves a reusable destination manually: payout (country + method + beneficiary), crypto (chain + address) or cbpay (requires the contact to be linked). Destinations are deduplicated: repeating one refreshes its last use.
POST
/
v1
/
contacts
/
{contactID}
/
destinations
Add a destination to a contact
curl --request POST \
--url https://api.qbank.cl/platform/v1/contacts/{contactID}/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "payout",
"country": "CL",
"currency": "CLP",
"method": "bank_transfer",
"beneficiary": {
"name": "Carlos Soto",
"tax_id": "12.345.678-5",
"bank_code": "012",
"account_type": "checking",
"account_number": "123456789"
}
}
'import requests
url = "https://api.qbank.cl/platform/v1/contacts/{contactID}/destinations"
payload = {
"type": "payout",
"country": "CL",
"currency": "CLP",
"method": "bank_transfer",
"beneficiary": {
"name": "Carlos Soto",
"tax_id": "12.345.678-5",
"bank_code": "012",
"account_type": "checking",
"account_number": "123456789"
}
}
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({
type: 'payout',
country: 'CL',
currency: 'CLP',
method: 'bank_transfer',
beneficiary: {
name: 'Carlos Soto',
tax_id: '12.345.678-5',
bank_code: '012',
account_type: 'checking',
account_number: '123456789'
}
})
};
fetch('https://api.qbank.cl/platform/v1/contacts/{contactID}/destinations', 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/contacts/{contactID}/destinations",
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([
'type' => 'payout',
'country' => 'CL',
'currency' => 'CLP',
'method' => 'bank_transfer',
'beneficiary' => [
'name' => 'Carlos Soto',
'tax_id' => '12.345.678-5',
'bank_code' => '012',
'account_type' => 'checking',
'account_number' => '123456789'
]
]),
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/contacts/{contactID}/destinations"
payload := strings.NewReader("{\n \"type\": \"payout\",\n \"country\": \"CL\",\n \"currency\": \"CLP\",\n \"method\": \"bank_transfer\",\n \"beneficiary\": {\n \"name\": \"Carlos Soto\",\n \"tax_id\": \"12.345.678-5\",\n \"bank_code\": \"012\",\n \"account_type\": \"checking\",\n \"account_number\": \"123456789\"\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/contacts/{contactID}/destinations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"payout\",\n \"country\": \"CL\",\n \"currency\": \"CLP\",\n \"method\": \"bank_transfer\",\n \"beneficiary\": {\n \"name\": \"Carlos Soto\",\n \"tax_id\": \"12.345.678-5\",\n \"bank_code\": \"012\",\n \"account_type\": \"checking\",\n \"account_number\": \"123456789\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/contacts/{contactID}/destinations")
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 \"type\": \"payout\",\n \"country\": \"CL\",\n \"currency\": \"CLP\",\n \"method\": \"bank_transfer\",\n \"beneficiary\": {\n \"name\": \"Carlos Soto\",\n \"tax_id\": \"12.345.678-5\",\n \"bank_code\": \"012\",\n \"account_type\": \"checking\",\n \"account_number\": \"123456789\"\n }\n}"
response = http.request(request)
puts response.read_body{
"destination_id": "bb22c3d4-5e6f-7a80-9b0c-1d2e3f4a5b6c",
"type": "payout",
"country": "CL",
"currency": "CLP",
"method": "bank_transfer",
"details": {
"name": "Carlos Soto",
"tax_id": "12.345.678-5",
"bank_code": "012",
"account_type": "checking",
"account_number": "123456789"
},
"last_used_at": "2026-07-10T16:00:00Z",
"created_at": "2026-07-10T16:00:00Z"
}{
"error": "invalid_json",
"message": "request body is not valid JSON: unknown field"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "not_found",
"message": "resource not found"
}Authorizations
Session JWT (from register/login) or API key (pk_...).
X-API-Key: <token> is accepted as an alternative header.
Path Parameters
Body
application/json
Response
Destination saved.
Last modified on July 18, 2026
⌘I