Skip to main content
POST
Consult a bill by digitable line

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Organization-Id
string

Midaz organization of the caller. Required: a request without it, or with a value that is not a canonical UUID, is refused with 400 PBP-0025. Declared optional on the schema so that refusal keeps its own code instead of the schema's PBP-0001. The organization is validated and does not scope the consult: the tenant and the provider credential come from the token.

Corpo

application/json
digitableLine
string
obrigatório

Digitable line, digits only: 47 for a bank slip, or 48 starting with 8 for a utilities bill.

Required string length: 47 - 48
Pattern: ^(?:[0-79][0-9]{46}|8[0-9]{47})$

Resposta

OK

amount
string
obrigatório

Consulted amount, two decimal places.

assignor
string | null
obrigatório

Utility company. Utilities only.

beneficiary
object | null
obrigatório

Who receives the money, with the document masked.

discount
string | null
obrigatório

Discount granted. Bank slip only.

dueDate
string<date> | null
obrigatório

Due date. Bank slip only.

fine
string | null
obrigatório

Fine charged. Bank slip only.

interest
string | null
obrigatório

Interest charged. Bank slip only.

limitDate
string<date> | null
obrigatório

Last date the slip is payable. Bank slip only.

maxAmount
string | null
obrigatório

Highest payable amount, when the source reports a band.

minAmount
string | null
obrigatório

Lowest payable amount, when the source reports a band.

originalAmount
string | null
obrigatório

Face value of the slip. Bank slip only.

payable
boolean | null
obrigatório

Whether the source accepts the bill for payment, as it reported. Bank slip only.

paymentWindow
object | null
obrigatório

Time of day the bill can be paid. Utilities only.

receiverBank
object | null
obrigatório

Bank that receives the payment. Bank slip only.

segment
string
obrigatório

FEBRABAN segment the line was consulted on.

settlementDate
string<date> | null
obrigatório

Settlement date the source reported. Utilities only; it is not a due date.

state
string | null
obrigatório

Federative unit of the utility. Utilities only.

utilitySegment
string | null
obrigatório

The source's own segment text. Utilities only.