Ir al contenido

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

type
stringopcional
Tipo de evento.Ej: payment.succeeded
aggregate_id
stringopcional
Solo eventos de ese recurso (p. ej. pi_… o cus_…).Ej: pi_01J8Z3K4M5N6P7Q8R9S0T1U2V3
page
integeropcional
Página (1-based).Ej: 1
per_page
integer | allopcional
Elementos por página (1–100) o all.Ej: 25

Language

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
  }
}