Obtener el branding de la plataforma
curl --request GET \
--url https://api.qbank.cl/platform/v1/branding \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/branding"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qbank.cl/platform/v1/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/branding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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/v1/branding"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qbank.cl/platform/v1/branding")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/branding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"brand_name": "CBPay",
"website": "www.cbpayapp.com",
"footer_address": "Miami: 25 SW 9th STREET, Suite 406, Miami, FL 33130",
"support_email": "",
"colors": {
"primary": "#FBC140",
"header": "#2E2E2E",
"accent": "#A16207"
},
"logo_png_base64": "iVBORw0KGgoAAAANSUhEUg...",
"symbol_png_base64": "iVBORw0KGgoAAAANSUhEUg...",
"logo_url": "https://cdn.cbpayapp.com/public/branding/default/logo.png",
"symbol_url": "https://cdn.cbpayapp.com/public/branding/default/symbol.png"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}Obtener el branding de la plataforma
Branding efectivo de la plataforma donde operas (nombre, colores, logos en base64) para que un front white-label se auto-tematice desde la API en vez de hardcodear assets. logo_url/symbol_url son URLs públicas de CDN de los mismos logos — prefiérelas por sobre los payloads base64. Solo lectura, sin PII.
GET
/
v1
/
branding
Obtener el branding de la plataforma
curl --request GET \
--url https://api.qbank.cl/platform/v1/branding \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/branding"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qbank.cl/platform/v1/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/branding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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/v1/branding"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qbank.cl/platform/v1/branding")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/branding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"brand_name": "CBPay",
"website": "www.cbpayapp.com",
"footer_address": "Miami: 25 SW 9th STREET, Suite 406, Miami, FL 33130",
"support_email": "",
"colors": {
"primary": "#FBC140",
"header": "#2E2E2E",
"accent": "#A16207"
},
"logo_png_base64": "iVBORw0KGgoAAAANSUhEUg...",
"symbol_png_base64": "iVBORw0KGgoAAAANSUhEUg...",
"logo_url": "https://cdn.cbpayapp.com/public/branding/default/logo.png",
"symbol_url": "https://cdn.cbpayapp.com/public/branding/default/symbol.png"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}Autorizaciones
JWT de sesión (de register/login) o llave de API (pk_...).
X-API-Key: <token> se acepta como header alternativo.
Respuesta
Branding efectivo.
Última modificación el 18 de julio de 2026
⌘I