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

# qrcode.expired

POST 

QR Code dinâmico expirou sem pagamento

Enviado quando um QR Code dinâmico expira sem ter sido pago, na hora do `expirationDate` pedido na criação (24 horas depois, quando o campo não foi enviado). No QR com vencimento e no Location confirmado, expira ao fim do dia `dueDate + daysAfterDueDate` (Brasília). O `id` do envelope é `qrcode-expired-{txid}`.

**Campos em `data`:** `qrcodeId`, `identifier`, `accountId`, `tenantId`, `type` (hoje `"dynamic"`, `"due-date"` ou `"location"`; lista extensível, como em `qrcode.paid`), `amount`, `status` (`"EXPIRED"`). Não enviamos `txid` nem `expiredAt`.

Reference: https://en.docs.api.corpx.com/baas/referencia/webhook-events/webhook-qrcode-expired

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

## Types

### WebhooksWebhookQrcodeExpiredPayloadContentApplicationJsonSchemaData

Event-specific payload. See each webhook.

- `qrcodeId` (string, optional)
- `identifier` (string, optional)
- `accountId` (string, optional)
- `tenantId` (string, optional)
- `type` (string, optional) — QR code type. Extensible list: today `static`, `dynamic`, `due-date` or `location`, and new values may be added without a version bump. Do not reject the event on an unknown value.
- `amount` (double, optional)
- `status` (string, optional)