Skip to main content

Webhook errors

Routes: /v1/webhook, /v1/webhook/{id}, /v1/webhook/notifications/{id}, /v1/webhook/notifications/{id}/resend

BAD_REQUEST (400)

Error codeDescription
invalid_valueInvalid request body, URL too long, empty bearer token, missing notification id, or delete/resend failed.
invalid_eventOne or more values in webhookEvents are not official event names.
invalid_protocolWebhook URL must use HTTPS.
invalid_auth_typeOnly bearer authentication is supported.
mtls_not_configuredmTLS is required on the URL but is not configured.
webhook_unreachableProbe request to the URL failed (network).
webhook_timeoutProbe request to the URL exceeded the timeout.
webhook_errorProbe request to the URL failed.
webhook_http_errorURL returned a non-success HTTP status during probe.
webhook_no_responseNo response received from the URL during probe.

NOT_FOUND (404)

Error codeDescription
webhook_not_foundWebhook configuration or notification record not found.

UNPROCESSABLE_ENTITY (422)

Error codeDescription
invalid_valueNotification is not eligible for resend.

INTERNAL_SERVER_ERROR (500)

Error codeDescription
internal_errorInternal error while processing notification query or resend.

See Webhooks guide for event names and delivery behavior.

Webhook delivery (your endpoint)

When LB Pay calls your URL, your HTTP response controls retries:

Your responseLB Pay behavior
2xxAccepted — no retry
5xxRetried (up to 3 attempts with backoff)
4xxNot retried — logged; may go to DLQ

Return 2xx as soon as the notification is accepted; process asynchronously if needed.

Pix In rejection reasons (pixChargeRejected)

rejectedReasonDescription
EmissaoExpiradaCharge issuance expired.
LiquidacaoExpiradaSettlement window expired.
(other)Charge rejected — see rejectedDescription in the payload.

See also Common errors.