API · List recurring plans

API v1
POST /api/v1/getPlansRepeat

What it does#

Returns the merchant's recurring plans.

Authentication#

Requires the API bearer token in the Authorization header — see authentication.

Parameters#

keystringrequerido#

Tilopay integration key.

Request example#

The <...> values are placeholders: replace them with your own credentials and data.

{
  "key": "<api_key>"
}

Response#

{
  "type": "200",
  "message": "Success",
  "data": [
    {
      "id": 276,
      "title": "Plan test 1",
      "description": "Plan",
      "frequency": 1,
      "currency": "USD",
      "first_amount": "0.00",
      "trial": 0,
      "trial_days": 0,
      "attempts": 1,
      "status": 1,
      "thanks_url": "",
      "return_url": null,
      "webhook_subscribe": "",
      "webhook_payment": "",
      "webhook_rejected": "",
      "webhook_unsubscribe": "",
      "webhook_reactive": "",
      "modality": [
        {
          "id": 131,
          "title": "Basic",
          "amount": "10.00"
        }
      ],
      "end_at": "2022-10-25"
    }
  ]
}

Amounts (first_amount, amount) come as strings. When a webhook is not configured its field comes as an empty string, while return_url comes as null: two representations of the same "not configured" in the same object — see response conventions.

To interpret a response that is not a success, see how to read an error response.

Last verified: 2026-09-02 · Owner: equipo-integraciones

View as raw Markdown