Skip to main content
POST
Configure outbound webhook

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

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
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
callbackUrl
string
obrigatório
enabledEvents
string[] | null
obrigatório

Event types the configuration receives, any of: BOLETO_CREATED, BOLETO_SETTLED, 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. A type outside this list is refused.

secret
string
obrigatório
active
boolean

Resposta

OK

active
boolean
obrigatório
callbackUrl
string
obrigatório
createdAt
string
obrigatório
enabledEvents
string[] | null
obrigatório

Event types the configuration receives, any of: BOLETO_CREATED, BOLETO_SETTLED, 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. A type outside this list is refused.

id
string
obrigatório
secret
string
obrigatório

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

Exemplo:

"[REDACTED]"

updatedAt
string
obrigatório