Listar eventos
Lista los eventos de tu negocio. Del más reciente al más antiguo. Mismo modo (test/live) que tu API key.
GEThttps://api.kuti.pe/v1/events
Filtra por type (p. ej. payment.succeeded). Útil para reconciliar o depurar entregas.
Query
typestringopcional
Tipo de evento.Ej:
payment.succeededaggregate_idstringopcional
Solo eventos de ese recurso (p. ej. pi_… o cus_…).Ej:
pi_01J8Z3K4M5N6P7Q8R9S0T1U2V3pageintegeropcional
Página (1-based).Ej:
1per_pageinteger | allopcional
Elementos por página (1–100) o all.Ej:
25Language
Credentials
Header
Authorization
Secret key de developer · ejemplos con librerías estándar (aún sin SDK)
cURL Request
curl -s 'https://api.kuti.pe/v1/events?page=1&per_page=25&type=payment.succeeded' \
-H 'Authorization: Bearer kuti_live_…'Librería estándar · sin SDK propio
Response
Elige un ejemplo de respuesta:
application/json
200OK
{
"success": true,
"data": [
{
"id": "evt_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
"type": "payment.succeeded",
"merchant_id": "mer_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
"created_at": "2026-09-04T10:48:59.556906Z",
"data": {
"payment_intent": {
"id": "pi_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
"merchant_id": "mer_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
"amount": {
"amount": "50.00",
"currency": "PEN"
},
"status": "SUCCEEDED",
"description": "Pedido #1042",
"customer": {
"id": "cus_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
"type": "INDIVIDUAL",
"first_name": "María",
"last_name": "López",
"name": "María López",
"document_type": "DNI",
"document_value": "45678912",
"email": "maria@example.com"
}
}
}
}
],
"pagination": {
"page": 1,
"per_page": 25,
"total": 1,
"total_pages": 1,
"has_more": false
}
}