Pular para o conteúdo principal
PUT
Set the collections business settings

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

Idempotency-Key
string
obrigatório

Client-supplied idempotency key, a UUID. Required: a request without it, with a value that is not a UUID, or with the nil UUID (00000000-0000-0000-0000-000000000000) is refused with 400 PBP-0012.

Corpo

application/json
agreementTemplate
object[]
obrigatório

Default agreement template, one item per product type.

Required array length: 1 - 8 elements
autoEnablement
boolean
obrigatório

Whether a holder's agreement is enabled automatically on their first boleto.

Exemplo:

false

reason
string
obrigatório

Reason for the change, recorded in the audit trail. Must not carry personal data.

Required string length: 10 - 500
Exemplo:

"Default agreement template for the new portfolio."

businessRetentionYears
integer<int64>
padrão:10

Retention of business records, in years. The value is recorded only: no business record is purged.

Intervalo obrigatório: 5 <= x <= 30
Exemplo:

10

technicalRetentionDays
integer<int64>
padrão:90

Retention of technical records, in days counted from each record's final state.

Intervalo obrigatório: 30 <= x <= 3650
Exemplo:

90

version
integer<int64>

Version last read. Left out only to create the settings.

Intervalo obrigatório: x >= 1
Exemplo:

1

Resposta

OK. The settings as stored.

agreementTemplate
object[]
obrigatório

Default agreement template, in product type order.

Required array length: 1 - 8 elements
autoEnablement
boolean
obrigatório

Whether a holder's agreement is enabled automatically on their first boleto.

Exemplo:

false

businessRetentionYears
integer<int64>
obrigatório

Retention of business records, in years. The value is recorded only: no business record is purged.

Intervalo obrigatório: 5 <= x <= 30
Exemplo:

10

ready
boolean
obrigatório

Whether the tenant's PCR connection is active and the agreement template holds at least one item.

Exemplo:

true

technicalRetentionDays
integer<int64>
obrigatório

Retention of technical records, in days counted from each record's final state.

Intervalo obrigatório: 30 <= x <= 3650
Exemplo:

90

updatedAt
string<date-time>
obrigatório

When the settings last changed, RFC 3339 in UTC.

Exemplo:

"2026-11-09T15:04:05Z"

version
integer<int64>
obrigatório

Version of the settings; a replacement sends it back.

Intervalo obrigatório: x >= 1
Exemplo:

1

updatedBy
object

Who made the last change.