GET
/recurrentes/{id}
🔒 Requiere clave de API
Incluye el documento guardado. Requiere recurrentes:leer.
Ejemplo
curl -X GET "https://fenix.kalkulusapp.com/api/recurrentes/1" \
-H "X-API-KEY: TU_API_KEY"
const respuesta = await fetch("https://fenix.kalkulusapp.com/api/recurrentes/1", {
method: "GET",
headers: {
"X-API-KEY": "TU_API_KEY"
}
});
const datos = await respuesta.json();
import requests
respuesta = requests.request(
"GET",
"https://fenix.kalkulusapp.com/api/recurrentes/1",
headers={
"X-API-KEY": "TU_API_KEY"
},
)
print(respuesta.json())
<?php
$ch = curl_init("https://fenix.kalkulusapp.com/api/recurrentes/1");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-API-KEY: TU_API_KEY",
],
]);
$respuesta = json_decode(curl_exec($ch), true);
curl_close($ch);
Parámetros
| Nombre | Tipo | Descripción |
|---|---|---|
| idobligatorio en ruta |
entero | Id del recurrente |
Respuestas
200El recurrente
Obtener un recurrente
{
"id": 18,
"detalle": "Mensualidad plan Pro",
"activo": true,
"tipo_documento": 1,
"tipo_documento_nombre": "Factura Electrónica",
"receptor": "Distribuidora Ejemplo S.A.",
"moneda": "CRC",
"total": 14690,
"frecuencia": {
"unidad": "mes",
"intervalo": 1,
"inicio": "2026-12-01"
},
"proxima_ejecucion": "2026-12-01",
"ultima_ejecucion": null,
"ejecuciones": 0,
"ultimo_error": null,
"documento": {
"tipoDocumento": 1
}
}
404No existe o es de otra empresa
401Unauthorized
403Ruta no disponible, o la API key no tiene el alcance (`alcance_faltante`)