---
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

## Changes

- **2026-05-25** `4e426b85f784` — 1 breaking, 12 info
  - the response property `message_id` became nullable for the status `202`
  - api operation id `handleCartAbandoned` removed and replaced with `cartAbandonedWebhook`
  - api tag `webhooks` added
  - api tag `Webhooks` removed
  - …9 more

[Change history](https://skmtc.dev/ararahq/apis/ararahq-api/changes/webhook/cart/post.md)

---

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