Configure your company brand
curl --request PUT \
--url https://api.qbank.cl/platform/v1/account/branding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"brand_name": "ACME Corp",
"website": "www.acme.example",
"support_email": "support@acme.example",
"color_primary": "1A2B3C",
"color_header": "",
"color_accent": ""
}
'import requests
url = "https://api.qbank.cl/platform/v1/account/branding"
payload = {
"brand_name": "ACME Corp",
"website": "www.acme.example",
"support_email": "support@acme.example",
"color_primary": "1A2B3C",
"color_header": "",
"color_accent": ""
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
brand_name: 'ACME Corp',
website: 'www.acme.example',
support_email: 'support@acme.example',
color_primary: '1A2B3C',
color_header: '',
color_accent: ''
})
};
fetch('https://api.qbank.cl/platform/v1/account/branding', 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/account/branding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'brand_name' => 'ACME Corp',
'website' => 'www.acme.example',
'support_email' => 'support@acme.example',
'color_primary' => '1A2B3C',
'color_header' => '',
'color_accent' => ''
]),
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/account/branding"
payload := strings.NewReader("{\n \"brand_name\": \"ACME Corp\",\n \"website\": \"www.acme.example\",\n \"support_email\": \"support@acme.example\",\n \"color_primary\": \"1A2B3C\",\n \"color_header\": \"\",\n \"color_accent\": \"\"\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.qbank.cl/platform/v1/account/branding")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"brand_name\": \"ACME Corp\",\n \"website\": \"www.acme.example\",\n \"support_email\": \"support@acme.example\",\n \"color_primary\": \"1A2B3C\",\n \"color_header\": \"\",\n \"color_accent\": \"\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/account/branding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"brand_name\": \"ACME Corp\",\n \"website\": \"www.acme.example\",\n \"support_email\": \"support@acme.example\",\n \"color_primary\": \"1A2B3C\",\n \"color_header\": \"\",\n \"color_accent\": \"\"\n}"
response = http.request(request)
puts response.read_body{
"brand_name": "ACME Corp",
"website": "www.acme.example",
"footer_address": "",
"support_email": "support@acme.example",
"colors": {
"primary": "#1A2B3C",
"header": "#2E2E2E",
"accent": "#A16207"
},
"logo_url": "https://cdn.cbpayapp.com/public/branding/org123/accounts/acc456/logo.png",
"symbol_url": "",
"custom": true
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}Configure your company brand
Sets the brand (name, colors, logos) your KYC/KYB verification links open with. Empty texts fall back to the organization brand, then CBPay. Logos are base64 PNG (omitted = keep, "" = delete; max 512 KB and 2000x2000 px). Colors are 6-digit hex with or without ’#’. Company accounts only.
PUT
/
v1
/
account
/
branding
Configure your company brand
curl --request PUT \
--url https://api.qbank.cl/platform/v1/account/branding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"brand_name": "ACME Corp",
"website": "www.acme.example",
"support_email": "support@acme.example",
"color_primary": "1A2B3C",
"color_header": "",
"color_accent": ""
}
'import requests
url = "https://api.qbank.cl/platform/v1/account/branding"
payload = {
"brand_name": "ACME Corp",
"website": "www.acme.example",
"support_email": "support@acme.example",
"color_primary": "1A2B3C",
"color_header": "",
"color_accent": ""
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
brand_name: 'ACME Corp',
website: 'www.acme.example',
support_email: 'support@acme.example',
color_primary: '1A2B3C',
color_header: '',
color_accent: ''
})
};
fetch('https://api.qbank.cl/platform/v1/account/branding', 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/account/branding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'brand_name' => 'ACME Corp',
'website' => 'www.acme.example',
'support_email' => 'support@acme.example',
'color_primary' => '1A2B3C',
'color_header' => '',
'color_accent' => ''
]),
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/account/branding"
payload := strings.NewReader("{\n \"brand_name\": \"ACME Corp\",\n \"website\": \"www.acme.example\",\n \"support_email\": \"support@acme.example\",\n \"color_primary\": \"1A2B3C\",\n \"color_header\": \"\",\n \"color_accent\": \"\"\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.qbank.cl/platform/v1/account/branding")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"brand_name\": \"ACME Corp\",\n \"website\": \"www.acme.example\",\n \"support_email\": \"support@acme.example\",\n \"color_primary\": \"1A2B3C\",\n \"color_header\": \"\",\n \"color_accent\": \"\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/account/branding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"brand_name\": \"ACME Corp\",\n \"website\": \"www.acme.example\",\n \"support_email\": \"support@acme.example\",\n \"color_primary\": \"1A2B3C\",\n \"color_header\": \"\",\n \"color_accent\": \"\"\n}"
response = http.request(request)
puts response.read_body{
"brand_name": "ACME Corp",
"website": "www.acme.example",
"footer_address": "",
"support_email": "support@acme.example",
"colors": {
"primary": "#1A2B3C",
"header": "#2E2E2E",
"accent": "#A16207"
},
"logo_url": "https://cdn.cbpayapp.com/public/branding/org123/accounts/acc456/logo.png",
"symbol_url": "",
"custom": true
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}Authorizations
Session JWT (from register/login) or API key (pk_...).
X-API-Key: <token> is accepted as an alternative header.
Body
application/json
Response
Updated effective branding.