---
title: "Recebe webhook de carrinho abandonado (legado pré-Recovery)"
method: POST
path: "/webhook/cart"
tags: ["webhooks"]
---

# Recebe webhook de carrinho abandonado (legado pré-Recovery)

`POST /webhook/cart`

Endpoint legado de carrinho abandonado. Para novas integrações use o
fluxo de **Recovery** (`/v1/recovery/*`).

## Request body

- CartAbandonedWebhookRequest
  - `event` 'cart.abandoned' | 'payment.failed' | 'pix.created' | 'boleto.due', required
  - `name` string, nullable
  - `phone` string, required
  - `total` number, double, nullable
  - `checkout_url` string, required
  - `minutes_without_payment` integer, nullable
  - `pix_qr_code` string, nullable — Obrigatório quando event=pix.created.

## Response `202`

Aceito pra processamento

- CartAbandonedWebhookResponse
  - `status` string, required
  - `message_id` string, uuid, nullable
  - `received_at` string, date-time, required

## Other responses

- `400` — Payload inválido
- `401` — Token ausente ou inválido

---

[API](https://skmtc.net/ararahq/apis/ararahq-api.md) · [All operations](https://skmtc.net/ararahq/apis/ararahq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ararahq/ararahq-api/versions/174c89e36a13/schema)
