> This page is for BaaS.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.api.corpx.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.api.corpx.com/_mcp/server.

# pix.automatic.settlement.completed

POST 

Cobrança agendada foi liquidada na sua conta

A cobrança agendada foi liquidada na sua conta. `settlementStatus` é `settled` ou `settled_with_error`. O crédito em conta também gera `pix.in.completed` com o mesmo `endToEndId`; não some os dois. `purpose` é `retry` quando a liquidação veio de uma retentativa.

Reference: https://docs.api.corpx.com/baas/referencia/webhook-events/webhook-pix-automatic-settlement-completed

## Request

### Headers

- `X-Signature` (string, optional) — Present when the subscription uses `authType: HMAC`: `base64(HMAC_SHA256(secret, raw_request_body))` (standard Base64, with padding). Compare in constant time against your own computation over the raw body.

### Payload

- `id` (string, required) — Deterministic event id. Same `id` means the same event, possibly redelivered — deduplicate on it.
- `type` (enum, required) — Event type. Full list at `GET /v1/webhooks/events`.
  - Allowed values: `pix.automatic.settlement.completed`
- `occurredAt` (datetime, required) — RFC 3339, UTC with `Z`.
- `schemaVersion` (string, required) — `1.0` today; bumped only on breaking payload changes.
- `environment` (enum, required) — Environment that emitted the event.
  - Allowed values: `production`, `sandbox`
- `tenantId` (string, required) — Tenant the event belongs to.
- `data` (WebhooksWebhookPixAutomaticSettlementCompletedPayloadContentApplicationJsonSchemaData, required) — Event-specific payload. See each webhook.
- `accountId` (string, optional) — CorpX account where the event happened. Empty on cross-account events.

## Types

### WebhooksWebhookPixAutomaticSettlementCompletedPayloadContentApplicationJsonSchemaData

Event-specific payload. See each webhook.

- `recurrenceId` (string, optional)
- `recurrenceIdentifier` (string, optional)
- `accountId` (string, optional)
- `schedulingId` (string, optional)
- `settlementId` (string, optional)
- `endToEndId` (string, optional)
- `dueDate` (date, optional)
- `amount` (double, optional)
- `status` (string, optional)
- `settlementStatus` (string, optional)
- `purpose` (string, optional)
- `occurredAt` (datetime, optional)