List default payment deadlines
Lists the default payment deadline of each provider for the tenant of your credentials, in calendar days after the due date.
Providers: BTG.
How it works
- Only providers installed on this deployment that register a payment deadline and leave its default to this setting are listed. Lerian (PCR) takes the deadline from the collections agreement and is not listed.
- A provider with nothing configured, or set back to the default, reads
isDefault: true, with the provider’s default indaysandproviderDefaultDays.versionis 0 only when never written. aboveMaximumflags configured days above the provider’s current maximum.- The setting applies to boletos the provider issues after the write: single boletos and installment series without
paymentDeadline, and batch items (POST /v1/boletos/batches). Their deadline is the due date plus these days. - A
paymentDeadlinesent on a single boleto or a series takes precedence. Boletos already issued keep their deadline. - An issuance reads the setting once (a batch, once for all its items). A change during an issuance does not affect it, and a resend of the same request returns the boletos as issued.
- Change the setting with
POST /v1/admin/providers/{provider_type}/payment-deadline. - Requires the
provider-routes:readpermission, held by theviewer,operatorandeditorroles.
GET
List default payment deadlines
Encabezados
Respuesta
OK. While configured days are above the provider's current maximum, or are 0 with a fine or interest that starts the day after the due date, issuance is refused with 422 PBP-0006. In a batch, each such item is a PBP-0006 problem and the whole batch is refused with 422 PBP-0123.

