/core/activities/v1

Listar Actividades

El endpoint /core/activities/v1 devuelve un listado paginado de todas las actividades. Puedes usar filtros para especificar que solo se devuelvan las actividades de una cuenta particular, de un rango de fechas especifico, etc.

Parámetros disponibles

Header Parameters
Accept-LanguageString
AuthorizationString
Query Parameters
page[number]Integer
page[size]Integer
filter[country]enum
filter[account_id]String
filter[account_tx_id]String
filter[result]Array
filter[type]Array
filter[entry_type]enum
filter[process_type]Array
filter[created_from]String
filter[created_until]String
filter[updated_from]String
filter[updated_until]String
filter[upsert_from]String
filter[upsert_until]String
sortString

Detalle de respuestas

Ejemplo de código
curl -X GET "https://api.pomelo.la/core/activities/v1?page[number]=1&page[size]=1&filter[country]=ARG&filter[account_id]=example_value&filter[account_tx_id]=example_value&filter[result]=[]&filter[type]=[]&filter[entry_type]=DEBIT&filter[process_type]=[]&filter[created_from]=2026-02-07T01:38:08.068Z&filter[created_until]=2026-02-07T01:38:08.068Z&filter[updated_from]=2026-02-07T01:38:08.068Z&filter[updated_until]=2026-02-07T01:38:08.068Z&filter[upsert_from]=2026-02-07T01:38:08.068Z&filter[upsert_until]=2026-02-07T01:38:08.068Z&sort=example_value" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept-Language: en-US;q=1.0,en-*;q=0.5"
Ejemplo de respuesta (200)Listado de actividades
{
  "meta": {
    "pagination": {
      "current_page": 5,
      "total_pages": 10,
      "page_size": 3
    }
  },
  "data": [
    {
      "id": "act-20i0FJa0AC5nTJOyPBmlv16sS98",
      "account_txs": [
        {
          "id": "string",
          "entry_type": "DEBIT",
          "process_type": "ORIGINAL",
          "total_amount": "string",
          "result": "APPROVED",
          "parent_tx_id": "string",
          "rejection_reason": "INSUFFICIENT_FUNDS",
          "created_at": "2024-01-01T00:00:00Z",
          "exchange_data": {
            "exchange_rate": 0,
            "origin_currency": "string",
            "destination_currency": "string",
            "origin_amount": 0,
            "destination_amount": 0,
            "exchange_rate_id": "string",
            "account_id": "string"
          }
        }
      ],
      "origin_tx_id": "ctx-20i21FSIJfInuet6Vcy33Wuk9In",
      "origin": "PAYMENT_PROCESSOR",
      "entry_type": "DEBIT",
      "process_type": "ORIGINAL",
      "refund_reason": "PSP_FAILURE",
      "type": "CARD_PURCHASE",
      "sub_type": "QR_PIX",
      "data": {
        "properties": {
          "merchant_id": "string",
          "address": "string",
          "merchant_name": "string",
          "merchant_logo_url": "string",
          "card_type": "CREDIT",
          "last_digits": "string",
          "card_brand": "string",
          "card_bin": "string",
          "mcc": "string",
          "point_type": "POS",
          "entry_mode": "UNKNOWN"
        },
        "description": "Descripción en español",
        "metadata": {
          "extra_property_1": "My value"
        },
        "details": [
          {
            "amount": "1200.15",
            "type": "BASE",
            "subtype": "string",
            "entry_type": "DEBIT",
            "description": "Descripción en español",
            "metadata": {
              "extra_property_1": "My value"
            }
          }
        ]
      },
      "total_amount": "1200.15",
      "result": "APPROVED",
      "rejection_reason": "ACCOUNT_NOT_ACTIVE",
      "rejection_message": "Mensaje asociado al rechazo en español.",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z",
      "account": {
        "id": "acc-20i1G18qYoLGMEeJngZRNyZFOJj",
        "country": "ARG",
        "currency": "ARS",
        "owner_type": "USER"
      },
      "forced": false
    }
  ]
}

Pomelo AI

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