Skip to main content
POST
Issue installment boletos

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Organization-Id
string

Tenant organization ID. Accepted but ignored: the tenant is determined by the credentials you authenticate with, so sending this header, or sending a different value in it, changes nothing.

Idempotency-Key
string

Client-supplied idempotency key. Required in practice even though the schema marks it optional: a request that omits this header is refused with 400 PBP-0012.

Corpo

application/json
firstDueDate
string<date>
obrigatório

Due date of the first installment, YYYY-MM-DD.

Exemplo:

"2030-01-15"

installments
integer<int64>
obrigatório

Number of installments.

Exemplo:

2

intervalDays
integer<int64>
obrigatório

Days between consecutive installments.

Exemplo:

30

midazAccountId
string
obrigatório

Midaz account the series settles into.

payer
object
obrigatório
type
string
obrigatório

Boleto type applied to every installment.

Exemplo:

"TRADITIONAL"

discount
object
fine
object
guarantor
object
installmentAmounts
string[] | null

Per-installment amounts, at most 36. When supplied, its length must match installments.

Maximum array length: 36
Maximum string length: 32
interest
object
totalAmount
string

Series total as a decimal string. Optional: either this or installmentAmounts must be supplied.

Maximum string length: 32
Exemplo:

"100.00"

Resposta

Created

boletos
object[] | null
obrigatório
installmentsCount
integer<int64>
obrigatório
seriesId
string
obrigatório
status
string
obrigatório
totalAmount
string
obrigatório