Initiate a payment
Initiates a bankslip or utilities bill payment. The type is classified automatically from the digitable line. Every payment executes immediately: scheduling for a future date is not part of this API version, and the scheduledDate member that earlier versions accepted has been removed. A request that still sends it is refused with 400 PBP-0001, naming body.scheduledDate as an unexpected property.
Authorizations
JWT bearer token issued by the identity provider.
Headers
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.
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.
Body
Bankslip or utilities digitable line, digits only.
"00190500954014481606906809350314337370000000100"
Midaz account the payment settles from.
Who pays this slip. Required by the provider contract.
Free-text description carried on the payment.
Recipient name. Optional: may be omitted, and an empty value is treated exactly like omitting it.
Recipient CPF or CNPJ, digits only. Optional: may be omitted, and an empty value is treated exactly like omitting it.

