Saltar al contenido principal
POST
Configure outbound webhook

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Organization-Id
string

Tenant organization ID. Optional. The organization context is determined by the credentials you authenticate with; this header does not select or change it.

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
callbackUrl
string
requerido
enabledEvents
string[] | null
requerido

Event types the configuration receives, any of: BOLETO_CREATED, BOLETO_SETTLED, BOLETO_REVERSED, BOLETO_CANCELED, BOLETO_CANCEL_FAILED, BOLETO_INACTIVATED, BOLETO_FAILED, BOLETO_EXCESS_PAYMENT, BOLETO_BATCH_FINISHED, PAYMENT_SETTLED, PAYMENT_REJECTED, PAYMENT_FAILED, PAYMENT_CANCELED, PAYMENT_SCHEDULED, PIX_KEY_CHANGED (the notice that the tenant's Pix key changed), BOLETO_AMENDED, BOLETO_AMENDMENT_REJECTED (the notices that an amendment request of a boleto was applied or refused), BOLETO_OVERDUE, BOLETO_PAYMENT_BLOCKED, BOLETO_PAYMENT_UNBLOCKED (the notices that a boleto became overdue and that its payment was blocked or unblocked). A type outside this list is refused. The list holds at most 64 entries.

Maximum array length: 64
secret
string
requerido
active
boolean

Respuesta

OK. The configuration was saved. secret reads [REDACTED].

active
boolean
requerido
callbackUrl
string
requerido
createdAt
string
requerido
enabledEvents
string[] | null
requerido

Event types the configuration receives, any of: BOLETO_CREATED, BOLETO_SETTLED, BOLETO_REVERSED, BOLETO_CANCELED, BOLETO_CANCEL_FAILED, BOLETO_INACTIVATED, BOLETO_FAILED, BOLETO_EXCESS_PAYMENT, BOLETO_BATCH_FINISHED, PAYMENT_SETTLED, PAYMENT_REJECTED, PAYMENT_FAILED, PAYMENT_CANCELED, PAYMENT_SCHEDULED, PIX_KEY_CHANGED (the notice that the tenant's Pix key changed), BOLETO_AMENDED, BOLETO_AMENDMENT_REJECTED (the notices that an amendment request of a boleto was applied or refused), BOLETO_OVERDUE, BOLETO_PAYMENT_BLOCKED, BOLETO_PAYMENT_UNBLOCKED (the notices that a boleto became overdue and that its payment was blocked or unblocked). A type outside this list is refused.

id
string
requerido
secret
string
requerido

Always the literal "[REDACTED]": the signing secret is never returned by this API.

Ejemplo:

"[REDACTED]"

updatedAt
string
requerido