Saltar al contenido principal
PUT
Set the collections business settings

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

Idempotency-Key
string
requerido

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.

Cuerpo

application/json
agreementTemplate
object[]
requerido

Default agreement template, one item per product type.

Required array length: 1 - 8 elements
autoEnablement
boolean
requerido

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

Ejemplo:

false

reason
string
requerido

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

Required string length: 10 - 500
Ejemplo:

"Default agreement template for the new portfolio."

businessRetentionYears
integer<int64>
predeterminado:10

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

Rango requerido: 5 <= x <= 30
Ejemplo:

10

technicalRetentionDays
integer<int64>
predeterminado:90

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

Rango requerido: 30 <= x <= 3650
Ejemplo:

90

version
integer<int64>

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

Rango requerido: x >= 1
Ejemplo:

1

Respuesta

OK. The settings as stored.

agreementTemplate
object[]
requerido

Default agreement template, in product type order.

Required array length: 1 - 8 elements
autoEnablement
boolean
requerido

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

Ejemplo:

false

businessRetentionYears
integer<int64>
requerido

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

Rango requerido: 5 <= x <= 30
Ejemplo:

10

ready
boolean
requerido

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

Ejemplo:

true

technicalRetentionDays
integer<int64>
requerido

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

Rango requerido: 30 <= x <= 3650
Ejemplo:

90

updatedAt
string<date-time>
requerido

When the settings last changed, RFC 3339 in UTC.

Ejemplo:

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

version
integer<int64>
requerido

Version of the settings; a replacement sends it back.

Rango requerido: x >= 1
Ejemplo:

1

updatedBy
object

Who made the last change.