CloudEvents emitted by the Pix Direct via JD integration for transaction, DICT key, and Pix Automático lifecycles.
The Pix Direct via JD integration emits 22 JSON business facts as CloudEvents 1.0 in binary content mode over Kafka. Streaming is optional. When enabled, the integration writes the business state and event envelope to the PostgreSQL outbox in the same transaction. The outbox relay is the only broker publisher.
Set STREAMING_ENABLED=true and OUTBOX_ENABLED=true together. If you set STREAMING_CLOUDEVENTS_SOURCE, its value must be exactly plugin-br-pix-jd. When streaming is off, the integration does not write lifecycle events to the streaming outbox.
This integration does not expose a streaming manifest endpoint. Its bootstrap catalog contains only the structural transaction.created definition, while the production emit paths below publish all 22 facts. Use this page as the current event inventory, not the incomplete runtime catalog.
Deduplicate on (ce-source, ce-id) and keep consumers idempotent. The integration provisions no command topic.
An external cash-out is persisted as pending, its pending Midaz posting exists, and the JDPI submission succeeds.
transaction.executed
An internal transfer completes synchronously, a cash-in is applied, or reconciliation settles an external cash-out.
transaction.refunded
A refund transaction is persisted and linked to the original transaction.
transaction.failed
Reconciliation moves a pending external cash-out to its terminal error state and cancels the pending posting. It also fires when a received Pix closes as returned to its payer: status ERROR, pendingReasonRETURNED, and no credit posted.
A key is registered in DICT and persisted as active.
key.validation-requested
The integration stores and dispatches an ownership-validation challenge.
key.confirmed
The submitted challenge is verified and the key leaves the waiting-for-confirmation state.
key.deleted
A key is deleted in DICT and soft-deleted locally.
key.claimed
A claim is opened in DICT and its identifier is persisted.
key.claim-confirmed
The donor confirms the claim.
key.claim-concluded
The claimer concludes the claim.
key.claim-cancelled
The claim is cancelled.
key.claim-received
Another participant opens a claim on a key that you hold. It is opt-in: set JOBS_CLAIM_RECEIVED_POLL_ENABLED=true. It fires once for each claim, and its ce-id derives from the claim id.
The receiving PSP requests an authorization and the integration persists it as requested.
authorization.accepted
The payer accepts the authorization.
authorization.rejected
The authorization transitions to rejected.
authorization.activated
The authorization is confirmed successfully and transitions to active.
authorization.cancelled
The authorization is cancelled and soft-deleted. A cancellation that you request fires this event only after JD reports that the counterparty accepted it.
All timestamps are UTC RFC 3339 strings. Transaction and Pix Automático monetary values are integer centavos, not decimal strings or floating-point numbers. Fields marked with ? are optional.
The wire contract encodes amount, value, and payerMaxValue as JSON int64 number tokens. JavaScript consumers that accept the full int64 range must use lossless, BigInt-aware JSON parsing or reject values above Number.MAX_SAFE_INTEGER. Standard JSON.parse can round larger integers.