Skip to content
AVIORAPAYdocs
PTENENEN
Go to dashboard

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.

DirectionReceiptWebhook
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:

json
{
  "name": "Maria da Silva",
  "document": "***.982.247-**",
  "institution": { "ispb": "00360305", "name": "CAIXA ECONOMICA FEDERAL" }
}
  • document is always masked: CPF ***.982.247-**, CNPJ **.***.111/0001-**. The full document never leaves.
  • institution.ispb is the 8-digit ISPB reported for the Pix; institution.name comes from BACEN's list of Pix participants, never from the provider's text. An ISPB missing from the list keeps name: null. institution is null when 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

FieldPix In (charge)Pix Out (payout)
Amount and statusGuaranteedGuaranteed
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 TimingGuaranteed on a completed single-transfer payout; per transfer in legs for a split payout
Payer name / documentDepends on the payer's institution; may stay absentYour account (guaranteed)
Receiver name / documentYour account (guaranteed)Depends on the receiver's institution; expected on every payout
Other party's institutionDepends on the payer's institution; may stay absentDepends on the receiver's institution; may stay absent
Your side's institutionOnly when enabled for the platform; otherwise nullOnly 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

json
{
  "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)

bash
curl "$API_URL/v1/charges/ch_a1b2c3d4-0000-0000-0000-000000000001/receipt?format=json" \
  -H "Authorization: Bearer $API_KEY"
json
{
  "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"
}
  • status is the public charge status you read on GET /v1/charges/{id}; only paid with is_payment_proof: true is a payment proof. Expired, refused, cancelled or refunded charges also have a document, with their own title, no paid_at, no end_to_end_id and no institutions.
  • amount is the charge amount in the smallest currency unit. Receipt texts (title, what_happened, what_to_do, footer) are in Portuguese, as in the PDF.
  • payer falls back to the customer you sent when the bank reported no payer.

#Pix Out — payout paid

#payout.paid webhook

json
{
  "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)

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"
}
  • amount is what reached the beneficiary (net), fee the payout fee, and gross_amount = amount + fee is what left your balance. The webhook amount is the amount you requested: equal to the receipt's amount in the default gross mode and to gross_amount with amountType: "net".
  • receiver.pix_key is always the destination key you sent.
  • A split payout (several transfers) has end_to_end_id: null and one entry per transfer in legs (index, amount, status, end_to_end_id). index is 0-based here and in the webhook's settlement.legs[]; GET /v1/withdrawals/{id} numbers the same transfers from 1 in legIndex.

Full payout receipt contract: Payouts — JSON receipt contract.

#Timing

  • Pix In. charge.paid goes 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 the charge.paid event, turn on the end-to-end hold account setting (see Webhooks): charge.paid then waits until the E2E is confirmed.
  • Pix Out. payout.paid and the receipt carry the E2E, the beneficiary and the institutions read from the provider at completed.
  • Party data never delays or blocks a payment: when it is missing, the field is null and the money flow is unaffected.