API · Get batch detail

API v1

An MCP tool wraps this operation: Stored cards and bulk collections.

POST /api/v1/collect/get/massive/detail

What it does#

Get batch detail.

Authentication#

Host: https://app.tilopay.com. Requires the API bearer token in Authorization: Bearer <token> and the integration key in the body (key).

Get the API token.

Parameters#

keystringrequired#

Integration key.

codestringrequired#

The code returned in the batch list.

Request example#

<api_key> is the placeholder for your integration key.

{
  "key": "<api_key>",
  "code": "UnBSdXN0bnZSc0owVXdvU1haVisxZz09"
}

Response#

responseText contains the rejection reason: Daily amount exceeded means the affiliate exceeded their daily maximum amount. The Programmed status indicates a scheduled charge that has not been processed yet.

statusunknown#

status.

errorsunknown#

errors.

paymentsarray#

payments.

{
  "status": 200,
  "errors": "",
  "payments": [
    {
      "id": 12,
      "collect_id": 2,
      "currency": "CRC",
      "amount": "100.00",
      "reference": "0",
      "auth": "",
      "date_programmed": "",
      "reason": "Cobro mensualidad",
      "responseText": "Daily amount exceeded",
      "status": "processed",
      "approved_payment": "0"
    },
    {
      "id": 20,
      "collect_id": 2,
      "currency": "CRC",
      "amount": "100.00",
      "reference": "0",
      "auth": "123456",
      "date_programmed": "",
      "reason": "Cobro mensualidad",
      "responseText": "Approved",
      "status": "processed",
      "approved_payment": "0"
    },
    {
      "id": 9,
      "collect_id": 2,
      "currency": "CRC",
      "amount": "100.00",
      "reference": "",
      "auth": "",
      "date_programmed": "2024-05-19",
      "reason": "Cobro mensualidad",
      "responseText": "",
      "status": "Programmed",
      "approved_payment": "0"
    }
  ]
}
{
  "type": "object",
  "properties": {
    "status": {
      "type": "integer"
    },
    "errors": {
      "type": "string"
    },
    "payments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "collect_id": {
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "reference": {
            "type": "string"
          },
          "auth": {
            "type": "string"
          },
          "date_programmed": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "responseText": {
            "type": "string",
            "description": "Rejection reason; Daily amount exceeded means the affiliate daily maximum was exceeded."
          },
          "status": {
            "type": "string",
            "enum": [
              "processed",
              "Programmed"
            ]
          },
          "approved_payment": {
            "type": "string"
          }
        }
      }
    }
  }
}

Last verified: 2026-10-20

View as raw Markdown