Events
The payer receives the
OUT event and the payee receives the IN event. A failed transaction does not generate the payee-side IN delivery.
Delivery models
The transaction body does not contain a top-level
event_type. Determine the event from txn_type and flow_direction together with the callback configuration that targets the endpoint.
Serialization rules
- Field names use
snake_case. - Unset and default-valued fields are omitted.
- Enum values are JSON strings such as
TXN_STATUS_COMPLETED. int64timestamp fields are decimal JSON strings, such as"1710000000000".- Money values are decimal strings. Do not parse them as floating-point numbers.
- Top-level
credit_feeanddebit_feeare removed before delivery. payer.document_idandpayee.document_idmay be masked.- Ignore unknown fields so additive payload changes do not break your receiver.
Common fields
A
payer or payee object may contain:
Direction-specific order IDs
USER delivery example
delivery_id.
Idempotency
- When
delivery_idis present, use it as the primary idempotency key. - For ACCOUNT delivery, use
txn_idtogether with the configured event type. - A duplicate event must return HTTP
200after confirming that the original event was already accepted.