Historial de eventos
curl --request GET \
--url https://api.qbank.cl/platform/v1/events/history \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/events/history"
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/events/history', 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/events/history",
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/events/history"
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/events/history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/events/history")
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{
"page": 1,
"page_size": 50,
"total": 2,
"events": [
{
"event_id": "7c1f0b2a-5c3d-4e6f-9a1b-2c3d4e5f6a7b",
"type": "payin_credited",
"account_id": "c57f05b6-8f2e-4d51-9a0c-5b7e2d3f4a10",
"created_at": "2026-07-25T18:04:11Z",
"cursor": "4822",
"data": {
"payin_id": "9b8a7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"usdt_credited": "99.700000"
}
},
{
"event_id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"type": "balance_adjusted",
"account_id": "c57f05b6-8f2e-4d51-9a0c-5b7e2d3f4a10",
"created_at": "2026-07-25T18:02:00Z",
"cursor": "4821",
"data": {
"account_id": "c57f05b6-8f2e-4d51-9a0c-5b7e2d3f4a10",
"asset": "USDT",
"amount": "10.000000",
"direction": "credit",
"reason": "manual top-up",
"available": "109.700000",
"held": "0.000000"
}
}
]
}{
"error": "invalid_range",
"message": "invalid from date (YYYY-MM-DD)"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}Historial de eventos
El mismo log que alimenta el stream, consultable. Exige filtros de fecha from/to. La retención es de 90 días: el log es un buffer de notificación, los hechos financieros viven en sus propios recursos inmutables (movimientos, payins, payouts).
GET
/
v1
/
events
/
history
Historial de eventos
curl --request GET \
--url https://api.qbank.cl/platform/v1/events/history \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/events/history"
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/events/history', 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/events/history",
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/events/history"
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/events/history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/events/history")
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{
"page": 1,
"page_size": 50,
"total": 2,
"events": [
{
"event_id": "7c1f0b2a-5c3d-4e6f-9a1b-2c3d4e5f6a7b",
"type": "payin_credited",
"account_id": "c57f05b6-8f2e-4d51-9a0c-5b7e2d3f4a10",
"created_at": "2026-07-25T18:04:11Z",
"cursor": "4822",
"data": {
"payin_id": "9b8a7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"usdt_credited": "99.700000"
}
},
{
"event_id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"type": "balance_adjusted",
"account_id": "c57f05b6-8f2e-4d51-9a0c-5b7e2d3f4a10",
"created_at": "2026-07-25T18:02:00Z",
"cursor": "4821",
"data": {
"account_id": "c57f05b6-8f2e-4d51-9a0c-5b7e2d3f4a10",
"asset": "USDT",
"amount": "10.000000",
"direction": "credit",
"reason": "manual top-up",
"available": "109.700000",
"held": "0.000000"
}
}
]
}{
"error": "invalid_range",
"message": "invalid from date (YYYY-MM-DD)"
}{
"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.
Parámetros de consulta
Filtra por un único tipo de evento.
Solo org-admin: acota el canal de la organización a una sola cuenta.
Rango requerido:
x >= 1Rango requerido:
x <= 200Respuesta
Eventos del rango solicitado.
Última modificación el 22 de agosto de 2026
⌘I