Pix receipts — what each field guarantees
Every completed Pix — a charge paid (Pix In) or a payout paid (Pix Out) — can be served as a structured JSON receipt, and the same data travels on the charge.paid / payout.paid webhooks. This page says, field by field, what you can rely on and what depends on the bank or on the payment provider.
| Direction | Receipt | Webhook |
|---|---|---|
| Pix In (charge) | GET /v1/charges/{id}/receipt?format=json (also GET /v1/payments/{id}/receipt?format=json) → object: "charge_receipt" | charge.paid |
| Pix Out (payout) | GET /v1/withdrawals/{id}/receipt?format=json → object: "payout_receipt" | payout.paid |
Without format (or with format=pdf) both routes keep returning the PDF envelope { "contentType": "application/pdf", "base64": "…" }, exactly as before. Any other format → 400. A receipt exists only once the operation has a final outcome; in-flight operations answer 400. Every receipt is AvioraPay's own document: it never names the payment provider.
#Party shape
Payer and receiver (and the webhooks' payer / beneficiary) share one shape:
{
"name": "Maria da Silva",
"document": "***.982.247-**",
"institution": { "ispb": "00360305", "name": "CAIXA ECONOMICA FEDERAL" }
}documentis always masked: CPF***.982.247-**, CNPJ**.***.111/0001-**. The full document never leaves.institution.ispbis the 8-digit ISPB reported for the Pix;institution.namecomes from BACEN's list of Pix participants, never from the provider's text. An ISPB missing from the list keepsname: null.institutionisnullwhen no ISPB is known and on every document of an operation that did not pay.- Your side's institution (the receiver of a charge, the payer of a payout) is shown only when AvioraPay enables it for the platform; otherwise it is
null. The other party's institution is shown whenever it is known. Webhooks carry only the other party. - Bank branch and account are never returned.
- Any value can be
null. Party data is informational: never use it to approve, reconcile or refund anything — use the amount, the status and the E2E for that.
#Field guarantees
| Field | Pix In (charge) | Pix Out (payout) |
|---|---|---|
| Amount and status | Guaranteed | Guaranteed |
Settlement time (paid_at / transferred_at) | Guaranteed (the time the payment was confirmed to AvioraPay) | Guaranteed |
End-to-End ID (end_to_end_id) | Guaranteed once known; may arrive after charge.paid — see Timing | Guaranteed on a completed single-transfer payout; per transfer in legs for a split payout |
| Payer name / document | Depends on the payer's institution; may stay absent | Your account (guaranteed) |
| Receiver name / document | Your account (guaranteed) | Depends on the receiver's institution; expected on every payout |
| Other party's institution | Depends on the payer's institution; may stay absent | Depends on the receiver's institution; may stay absent |
| Your side's institution | Only when enabled for the platform; otherwise null | Only when enabled for the platform; otherwise null |
| Destination Pix key | — | Guaranteed (receiver.pix_key, the key you sent) |
| Split payouts | — | Per transfer: amount, status and E2E (legs) |
A field that is not available simply stays null (or the party object is omitted from the webhook); it never blocks or delays the payment.
#Pix In — charge paid
#charge.paid webhook
{
"id": "evt_5f8a3c1e9b2d4a6f8e0c1b3d5f7a9c1e",
"object": "event",
"api_version": "2026-07-23",
"type": "charge.paid",
"created_at": "2026-11-17T20:20:03.000Z",
"data": {
"object": {
"id": "ch_a1b2c3d4-0000-0000-0000-000000000001",
"object": "charge",
"amount": 15000,
"currency": "BRL",
"status": "paid",
"payment_method": "pix",
"idempotency_key": "order-123",
"payer": {
"name": "Maria da Silva",
"document": "***.982.247-**",
"institution": { "ispb": "00360305", "name": "CAIXA ECONOMICA FEDERAL" }
},
"paid_at": "2026-11-17T20:20:00.000Z",
"settlement": { "end_to_end_id": "E00360305202611172019AbCdEfGhIjK" }
}
}
}#Charge receipt (format=json)
curl "$API_URL/v1/charges/ch_a1b2c3d4-0000-0000-0000-000000000001/receipt?format=json" \
-H "Authorization: Bearer $API_KEY"{
"object": "charge_receipt",
"charge_id": "ch_a1b2c3d4-0000-0000-0000-000000000001",
"status": "paid",
"is_payment_proof": true,
"title": "Comprovante de Pagamento PIX",
"amount": 15000,
"currency": "BRL",
"paid_at": "2026-11-17T20:20:00.000Z",
"end_to_end_id": "E00360305202611172019AbCdEfGhIjK",
"payer": {
"name": "Maria da Silva",
"document": "***.982.247-**",
"institution": { "ispb": "00360305", "name": "CAIXA ECONOMICA FEDERAL" }
},
"receiver": {
"name": "Example Store",
"document": "**.***.678/0001-**",
"institution": null
},
"what_happened": "…",
"what_to_do": null,
"issuer": "Example Brand",
"footer": "O identificador E2E acima é registrado no Banco Central do Brasil e pode ser usado para confirmar este pagamento em qualquer instituição financeira participante do PIX.",
"issued_at": "2026-11-17T20:25:00.000Z"
}statusis the public charge status you read onGET /v1/charges/{id}; onlypaidwithis_payment_proof: trueis a payment proof. Expired, refused, cancelled or refunded charges also have a document, with their owntitle, nopaid_at, noend_to_end_idand no institutions.amountis the charge amount in the smallest currency unit. Receipt texts (title,what_happened,what_to_do,footer) are in Portuguese, as in the PDF.payerfalls back to the customer you sent when the bank reported no payer.
#Pix Out — payout paid
#payout.paid webhook
{
"id": "evt_9c1e5f8a3c1e9b2d4a6f8e0c1b3d5f7a",
"object": "event",
"api_version": "2026-07-23",
"type": "payout.paid",
"created_at": "2026-11-17T21:02:05.000Z",
"data": {
"object": {
"id": "po_f6a7b8c9-d0e1-4234-9f01-234567890123",
"object": "payout",
"status": "paid",
"outcome": "completed",
"idempotency_key": "payout-42",
"amount": 150000,
"currency": "BRL",
"pix_key": "maria@example.com",
"beneficiary": {
"name": "Maria da Silva",
"document": "***.456.789-**",
"institution": { "ispb": "60746948", "name": "BCO BRADESCO S.A." }
},
"settlement": { "end_to_end_id": "E12345678202611172102Zx9Yw8Vu7Ts" }
}
}
}#Payout receipt (format=json)
{
"object": "payout_receipt",
"payout_id": "po_f6a7b8c9-d0e1-4234-9f01-234567890123",
"status": "paid",
"outcome": "completed",
"is_payment_proof": true,
"title": "Comprovante de Transferência PIX",
"amount": 150000,
"gross_amount": 150350,
"fee": 350,
"amount_label": "Valor transferido",
"currency": "BRL",
"transferred_at": "2026-11-17T21:02:00.000Z",
"end_to_end_id": "E12345678202611172102Zx9Yw8Vu7Ts",
"payer": {
"name": "Example Store",
"document": "**.***.678/0001-**",
"institution": null
},
"receiver": {
"name": "Maria da Silva",
"document": "***.456.789-**",
"institution": { "ispb": "60746948", "name": "BCO BRADESCO S.A." },
"pix_key": "maria@example.com"
},
"refunded_to_balance": false,
"what_happened": "…",
"what_to_do": null,
"reason": null,
"legs": null,
"issuer": "Example Brand",
"footer": "O identificador E2E acima é registrado no Banco Central do Brasil e pode ser usado para confirmar esta transferência em qualquer instituição financeira participante do PIX.",
"issued_at": "2026-11-17T21:05:00.000Z"
}amountis what reached the beneficiary (net),feethe payout fee, andgross_amount=amount+feeis what left your balance. The webhookamountis the amount you requested: equal to the receipt'samountin the default gross mode and togross_amountwithamountType: "net".receiver.pix_keyis always the destination key you sent.- A split payout (several transfers) has
end_to_end_id: nulland one entry per transfer inlegs(index,amount,status,end_to_end_id).indexis 0-based here and in the webhook'ssettlement.legs[];GET /v1/withdrawals/{id}numbers the same transfers from 1 inlegIndex.
Full payout receipt contract: Payouts — JSON receipt contract.
#Timing
- Pix In.
charge.paidgoes out as soon as the payment is confirmed. Depending on the institutions involved, the End-to-End ID and the payer's institution can be confirmed a little later than the payment itself; the receipt always shows what is known at the time you request it. If you need the E2E in thecharge.paidevent, turn on the end-to-end hold account setting (see Webhooks):charge.paidthen waits until the E2E is confirmed. - Pix Out.
payout.paidand the receipt carry the E2E, the beneficiary and the institutions read from the provider atcompleted. - Party data never delays or blocks a payment: when it is missing, the field is
nulland the money flow is unaffected.