Tema
GET
/api/v1/integrations/identification-typesDevuelve los tipos de identificación que acepta COME (cédula, pasaporte, etc.). Usa el id como identificationTypeId en Validar elegibilidad y Aplicar descuento. Cambia muy poco: puedes cachearlo por 24 horas.
bash
curl -s "$COME_BASE_URL/api/v1/integrations/identification-types" \
-H "Authorization: Bearer $COME_TOKEN"bash
curl -s "$COME_BASE_URL/api/v1/integrations/identification-types" \
-H "X-Api-Key: $COME_API_KEY"Respuesta 200
json
{
"title": "IdentificationType list",
"messages": [{ "message": "Query successful" }],
"value": [
{ "id": 1, "name": "Cédula" },
{ "id": 2, "name": "Pasaporte" }
],
"meta": null
}Los valores son de ejemplo: los id reales los define COME en cada ambiente.

