> This page is for BaaS.

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

# pix.out.failed

POST 

Falha ao enviar PIX

Enviado quando uma transferência PIX de saída falha **de forma definitiva** — o parceiro bancário recusou a operação (saldo insuficiente, chave inválida, antifraude, recusa do BACEN etc.) e o saldo não foi alterado (ou foi devolvido).

Reference: https://en.docs.api.corpx.com/baas/referencia/webhook-events/webhook-pix-out-failed

## 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.out.failed`
- `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` (WebhooksWebhookPixOutFailedPayloadContentApplicationJsonSchemaData, required) — Event-specific payload. See each webhook.
- `accountId` (string, optional) — CorpX account where the event happened. Empty on cross-account events.

## Types

### WebhooksWebhookPixOutFailedPayloadContentApplicationJsonSchemaData

Event-specific payload. See each webhook.

- `paymentId` (string, optional)
- `tenantId` (string, optional)
- `accountId` (string, optional)
- `status` (string, optional)
- `endToEnd` (string, optional)
- `transactionId` (string, optional)
- `amount` (double, optional)
- `currency` (string, optional)
- `description` (string, optional)
- `identifier` (string, optional)
- `originalTransactionId` (string, optional)
- `initiatedAt` (datetime, optional)
- `completedAt` (datetime, optional)
- `error` (string, optional)
- `errorCode` (string, optional)
- `errorReason` (string, optional)
- `key` (WebhooksWebhookPixOutFailedPayloadContentApplicationJsonSchemaDataKey, optional)
- `payee` (WebhooksWebhookPixOutFailedPayloadContentApplicationJsonSchemaDataPayee, optional)

### WebhooksWebhookPixOutFailedPayloadContentApplicationJsonSchemaDataKey

- `type` (string, optional)
- `key` (string, optional)

### WebhooksWebhookPixOutFailedPayloadContentApplicationJsonSchemaDataPayee

- `name` (string, optional)
- `document` (string, optional)
- `bankCode` (string, optional)
- `bankIspb` (string, optional)
- `branch` (string, optional)
- `accountNumber` (string, optional)