Configure outbound webhook
Creates or updates the callback URL that receives your status change notifications. There is one configuration per tenant.
How it works
- Send
callbackUrl,secretandenabledEvents.activedefaults totrue. callbackUrlmust use HTTPS and cannot point to a private, loopback or blocked address.secretmust have at least 32 characters.enabledEventsmust list at least one supported event type.- A second call updates the existing configuration and keeps its
id. - Send an
Idempotency-Key. A retry under the same key replays the stored200. Most refusals release the key, so a corrected request under the same key runs again.
Planned changes
- Under evaluation, not yet approved:
enabledEventsmay acceptPAYMENT_UNDER_REVIEWand, later,PAYMENT_RETURNED. - Under evaluation, not yet approved:
enabledEventsmay accept eight new event types. An unknown type is still refused withPBP-0402. enabledEventswill acceptCNAB_RETURN_AVAILABLE, the notice that a CNAB 240 return file was generated. Until then it is refused withPBP-0402.- Under evaluation, not yet approved:
enabledEventsmay accept the 17 electronic payer (DDA) notice types (ELECTRONIC_PAYER_*andRECEIVER_BOLETO_*). Until then they are refused withPBP-0402. These notices are sent once per organization with an adhered account.
Cabeçalhos
Corpo
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.
64Resposta
OK. The configuration was saved. secret reads [REDACTED].
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.

