---
updatedAt: 2025-09-22T23:07:51.000Z
agentTools:
  projectIndex: https://developers.conekta.com/llms.txt
---

# plan

Eventos relacionados con los planes.

| Evento                        | Descripción                                                     |
| :---------------------------- | :-------------------------------------------------------------- |
| [plan.created](#plan.created) | Ocurre cada vez que se crea un plan para realizar suscripciones |
| [plan.updated](#plan.created) | Ocurre cada vez que se actualiza un plan                        |
| plan.deleted                  | Ocurre cada vez que se elimina un plan                          |

## Plan creado - `plan.created`

<HTMLBlock>{`
<p id="plan.created">
</p>
`}</HTMLBlock>

```json
{
"data": {
	"object": {
		"id": "suscripcion-863538",
		"livemode": true,
		"created_at": 1669763974,
		"name": "Profesional Total",
		"amount": 18900,
		"currency": "MXN",
		"interval": "month",
		"frequency": 1,
		"expiry_count": null,
		"trial_period_days": null,
		"object": "plan"
	},
	"previous_attributes": {
	}
},
	"livemode": true,
	"webhook_status": "successful",
	"webhook_logs": [
		{
			"id": "webhl_2sr6P2oyFqNTSLghJ",
			"url": "http://requestb.in/1467d141",
			"failed_attempts": 12,
			"last_http_response_status": 200,
			"response_data": {},
			"object": "webhook_log",
			"last_attempted_at": 1668480248
		}
	],
	"id": "637306fb5eeaad00015eeb6f",
	"object": "event",
	"type": "plan.created",
	"created_at": 1668482811
}

```

## Plan actualizado - `plan.updated`

<HTMLBlock>{`
<p id="plan.updated">
</p>
`}</HTMLBlock>

```json
{
"data": {
	"object": {
		"id": "4f9dbda6-135d-41b5-a6fd-8f47ef2e4218",
		"livemode": true,
		"created_at": 1669222120,
		"name": "Fulano Perez",
		"amount": 300,
		"currency": "MXN",
		"interval": "month",
		"frequency": 1,
		"expiry_count": null,
		"trial_period_days": 8,
		"object": "plan"
	},
	"previous_attributes": {
		"amount": 438480
	}
},
	"livemode": true,
	"webhook_status": "successful",
	"webhook_logs": [
		{
			"id": "webhl_2sr6P2oyFqNTSLghJ",
			"url": "http://requestb.in/1467d141",
			"failed_attempts": 12,
			"last_http_response_status": 200,
			"response_data": {},
			"object": "webhook_log",
			"last_attempted_at": 1668480248
		}
	],
	"id": "637306fb5eeaad00015eeb6f",
	"object": "event",
	"type": "plan.updated",
	"created_at": 1668482811
}

```