/lending/v2/products

Obtener productos

El endpoint lending/v2/products permite obtener datos de todos los productos creados

Parámetros disponibles

Autenticación

🔒BearerAuthhttp

Detalle de respuestas

Ejemplo de código
curl -X GET "https://api.pomelo.la/lending/v2/products" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta (200)OK
{
  "data": [
    {
      "id": "lpr-2HMwKzetERdOEhbT86UweXamPle",
      "name": "Tarjeta de crédito Premium",
      "type": "CREDIT_CARD",
      "country": "PER",
      "lifecycle": {
        "status": "ACTIVE",
        "offer": {
          "start_date": "2024-01-01",
          "end_date": "2024-12-31"
        }
      },
      "credit_card": {
        "book_model": "LOCAL_CURRENCY_BOOK",
        "lifecycle": {
          "arrears": {
            "actions": {
              "pause_credit_line": {
                "after_days_past_due": 5
              },
              "block_credit_line": {
                "after_days_past_due": 5
              },
              "cancel_credit_line": {
                "after_days_past_due": 5
              }
            }
          }
        },
        "installments": {
          "max": 24
        },
        "balance": {
          "restitution_type": "RESTRICTED",
          "limits": {
            "type": "SINGLE",
            "range": {
              "min": 100,
              "max": 10000
            },
            "cash_advance_range_percentage": {
              "min": 10,
              "max": 50
            }
          }
        },
        "billing_cycles": {
          "billing_date_strategy": "FIXED_DUE_DATE",
          "statement": {
            "pdf": {
              "enabled": true
            }
          },
          "schedule": {
            "due": {
              "allowed_days_of_month": [
                5,
                10,
                15,
                20,
                25,
                28
              ]
            },
            "closing": {
              "min_days_before_due": 5,
              "min_days_before_first_closing": 10
            }
          },
          "frequency": "MONTHLY"
        },
        "pricing": {
          "book_model": "LOCAL_CURRENCY_BOOK",
          "start_date": "2024-01-01",
          "rates": [
            {
              "kind": "FIXED",
              "name": "FINANCING",
              "type": "EFFECTIVE_MONTHLY_RATE",
              "application": {
                "percentage": 3.5
              }
            }
          ],
          "fees": [
            {
              "kind": "FLAT",
              "name": "Mantenimiento",
              "frequency": "MONTHLY",
              "operation": "CASH_ADVANCE",
              "application": {
                "unit_type": "PEN",
                "amount": 10
              }
            }
          ],
          "insurances": [
            {
              "name": "Seguro de gravamen/gravamen chileno",
              "type": "CREDIT_LIFE_INSURANCE",
              "application": {
                "percentage": 5,
                "amount": {
                  "min": 100,
                  "max": 500
                }
              }
            }
          ]
        },
        "minimum_payment": {
          "minimum_amount": 50,
          "composition": [
            {
              "concept": "PURCHASE",
              "percentage": 25.5
            }
          ]
        }
      },
      "pricing": {
        "book_model": "LOCAL_CURRENCY_BOOK",
        "start_date": "2024-01-01",
        "rates": [
          {
            "kind": "FIXED",
            "name": "FINANCING",
            "type": "EFFECTIVE_MONTHLY_RATE",
            "application": {
              "percentage": 3.5
            }
          }
        ],
        "fees": [
          {
            "kind": "FLAT",
            "name": "Mantenimiento",
            "frequency": "MONTHLY",
            "operation": "CASH_ADVANCE",
            "application": {
              "unit_type": "PEN",
              "amount": 10
            }
          }
        ],
        "insurances": [
          {
            "name": "Seguro de gravamen/gravamen chileno",
            "type": "CREDIT_LIFE_INSURANCE",
            "application": {
              "percentage": 5,
              "amount": {
                "min": 100,
                "max": 500
              }
            }
          }
        ]
      }
    }
  ]
}

Pomelo AI

Asistente de inteligencia artificial para consultas sobre la API de Pomelo
¡Hola!¿Cómo puedo ayudarte hoy?