Skip to main content
GET
Get a payment receipt

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Organization-Id
string

Midaz organization the payment belongs to. Required: a request without it, or with a value that is not a canonical UUID, is refused with 400 PBP-0025. A payment of another organization is answered 404, exactly as one that does not exist.

Path Parameters

id
string<uuid>
required

Payment identifier (UUID).

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

OK.

Receipt of a slip payment received as Recebedora (MAPX-OP084-2019 V19 Β§6.20.3; ConvenΓ§Γ£o FB-0061/2021 Art. 23 and Art. 26). Recorded once at the registration of the write-off; never rewritten.

paymentId
string<uuid>
required
Example:

"123e4567-e89b-12d3-a456-426614174000"

label
string
required

The fixed indication the manual requires.

Allowed value: "Pagamento de boleto"
digitableLine
string
required
Example:

1.905009540144816e+44

paidAmount
string
required

Amount paid.

Maximum string length: 19
Pattern: ^(0|[1-9][0-9]{0,15})\.[0-9]{2}$
Example:

"100.00"

paidAt
string<date-time>
required

Date and time of the payment: when the write-off was registered at the clearing base.

Example:

"2026-11-16T14:05:40Z"

writeOffNumber
string
required

Number of the write-off at the clearing base (NumIdentcBaixa).

Maximum string length: 19
Pattern: ^[0-9]{1,19}$
Example:

"2026111600000012345"

authentication
string
required

Authentication of the payment: the write-off number, a hyphen and 16 hexadecimal characters, computed once when the write-off is registered and stored. Unique and identical on every read; check it against this receipt, never by recomputing it.

Maximum string length: 36
Pattern: ^[0-9]{1,19}-[0-9a-f]{16}$
Example:

"2026111600000012345-9f2c4e1a7b3d5c60"

complete
boolean
required

False while the source does not deliver every mandatory field.

missingFields
string[]
required

Members the source did not deliver, in this schema's names (for example payer.name). Empty when complete.

Maximum string length: 64
returned
boolean
required

True when the payment was returned after the receipt was issued.

issuedAt
string<date-time>
required

When the receipt was recorded.

Example:

"2026-11-16T14:05:41Z"

receivingBank
object

A financial institution named on the receipt. A member the source did not deliver is absent and listed in missingFields.

issuingInstitution
object

A financial institution named on the receipt. A member the source did not deliver is absent and listed in missingFields.

beneficiary
object

Beneficiary of the slip (beneficiΓ‘rio).

guarantor
object

Guarantor drawer of the slip (sacador avalista), when the slip has one.

payer
object

Payer of the slip as registered (pagador).

finalPayer
object

Final payer (pagador final): the holder of the funding account who paid.

dueDate
string<date>
Example:

"2026-11-20"

nominalAmount
string

Face value of the slip.

Maximum string length: 19
Pattern: ^(0|[1-9][0-9]{0,15})\.[0-9]{2}$
Example:

"1000.00"

chargesAmount
string

Charges: interest plus fine.

Maximum string length: 19
Pattern: ^(0|[1-9][0-9]{0,15})\.[0-9]{2}$
Example:

"0.00"

discountsAmount
string

Discounts: discount plus rebate (abatimento).

Maximum string length: 19
Pattern: ^(0|[1-9][0-9]{0,15})\.[0-9]{2}$
Example:

"0.00"

returnedAt
string<date-time>

When the return was posted. Present only when returned is true.

Example:

"2026-11-17T11:20:04Z"