> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cobrix.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Suscripción activada

> Una suscripción se activó o renovó

<span className="cobrix-event-name">subscription.activated</span>

## Payload completo

```json theme={null}
{
  "id": "evt_f8204976-b132-442e-9fb3-636f7d75eb41",
  "event": "subscription.activated",
  "created_at": "2026-07-14T16:11:00.000Z",
  "api_version": "2025-01-21",
  "data": {
    "subscriptionId": "sub_41fb04eb",
    "companyId": "7d355d52-ac74-49f5-b31c-ce29b4680752",
    "customer": {
      "companyCustomerId": "cc_8aa37fd1",
      "name": "Ana Pérez",
      "email": "ana@example.com",
      "phone": "+584120000000",
      "taxId": "V12345678",
      "externalRef": "customer-1001",
      "metadata": null,
      "customerCode": "C-1001",
      "labels": ["internet"],
      "status": "active",
      "customFieldsData": null,
      "type": "individual",
      "address": null
    },
    "plan": {
      "planId": "plan_600mb",
      "name": "Internet 600 Mbps",
      "billingPeriod": "month",
      "intervalCount": 1
    },
    "status": "active",
    "currentPeriodStart": "2026-07-14T16:11:00.000Z",
    "currentPeriodEnd": "2026-08-14T16:11:00.000Z",
    "activatedByPaymentId": "pay_842f7712",
    "activatedBySessionId": "cs_5e52b98d"
  }
}
```

## Cómo usarlo

Actualiza el periodo del servicio con `currentPeriodStart` y `currentPeriodEnd`. Si `activatedByPaymentId` es `null`, la activación pudo ser administrativa; no inventes un pago relacionado.
