Pular para o conteúdo principal

Webhooks

Webhooks (also known as web callbacks) let you receive real-time notifications whenever an event occurs in an integrated system. Data is delivered via HTTP POST requests to your configured endpoint — no polling required.

Each webhook request contains details about the event and the resource involved.


Setup

Authentication

At least one authentication method must be configured on your destination URL before webhooks can be delivered.

Basic Auth

Provide a client_id and client_secret. These are base64-encoded and sent on every webhook request.

HeaderValue
AuthorizationBasic base64(client_id:client_secret)

Configuration

Configure your webhooks via the API Reference: https://developers.londonbridge.pro/api/#tag/Webhook


Events

CategoryEvent
DepositspixChargePaid
DepositspixChargeExpired
DepositspixChargeRejected
WithdrawalspixWithdrawSuccess
WithdrawalspixWithdrawFailed
RefundspixRefundSuccess
RefundspixRefundFailed

Deposit Events

Pix Charge Paid

Fired when a Pix charge is successfully paid.

Key fields

FieldDescription
chargeIdInternal charge identifier
externalIdYour system's identifier for this charge
statusAlways "paid" for this event
amountAmount in cents
paidAtTimestamp of payment confirmation
debtorBank account details of the payer
pixTransaction.endToEndIdUnique end-to-end Pix transaction ID
{
"pixChargePaid": {
"chargeId": "019d0853-bf54-7145-b463-df2d5566e894",
"externalId": "8d231a73-80c0-4333-acea-abf9b55f8d53",
"status": "paid",
"createdAt": "2026-03-19T22:59:59.439Z",
"expiresAt": "2026-03-19T23:16:39.439Z",
"paidAt": "2026-03-19T23:00:37.491Z",
"description": "Displayed to the customer in the payment app before confirmation. Up to 140 chars.",
"amount": 1000,
"debtor": {
"bankCode": "00000000",
"branchCode": "0001",
"accountNumber": "3323200006",
"personType": "NATURAL_PERSON",
"accountType": "CACC",
"taxId": "39424283008",
"name": "PT1"
},
"pixTransaction": {
"transactionId": "019d0854-5399-7500-a4bf-85e175e300f3",
"endToEndId": "E183942282026031923007DP8OFYBk9a"
},
"metadata": {
"additionalProp1": "1",
"additionalProp2": "string",
"additionalProp3": "string"
}
}
}

Pix Charge Expired

Fired when a Pix charge reaches its expiration time without being paid.

Key fields

FieldDescription
chargeIdInternal charge identifier
externalIdYour system's identifier for this charge
statusAlways "expired" for this event
expiresAtTimestamp when the charge expired
{
"pixChargeExpired": {
"chargeId": "019d0853-bf54-7145-b463-df2d5566e894",
"externalId": "8d231a73-80c0-4333-acea-abf9b55f8d53",
"status": "expired",
"createdAt": "2026-03-19T22:59:59.439Z",
"expiresAt": "2026-03-19T23:16:39.439Z",
"description": "Displayed to the customer in the payment app before confirmation. Up to 140 chars.",
"amount": 1000,
"metadata": {
"additionalProp1": "1",
"additionalProp2": "string",
"additionalProp3": "string"
}
}
}


Pix Charge Rejected

Fired when a Pix charge is rejected — for example, because the paying account does not match the expected payer.

Key fields

FieldDescription
chargeIdInternal charge identifier
externalIdYour system's identifier for this charge
statusAlways "pending" for this event (charge is not settled)
rejectedReasonMachine-readable rejection code (e.g. ACCOUNT_MISMATCH)
rejectedDescriptionHuman-readable explanation of the rejection
{
"pixChargeRejected": {
"chargeId": "019d0853-bf54-7145-b463-df2d5566e894",
"externalId": "8d231a73-80c0-4333-acea-abf9b55f8d53",
"status": "pending",
"createdAt": "2026-03-19T22:59:59.439Z",
"expiresAt": "2026-03-19T23:16:39.439Z",
"description": "Displayed to the customer in the payment app before confirmation. Up to 140 chars.",
"amount": 1000,
"expectedPayer": {
"taxId": "15276356213",
"name": "Andre",
"bankAccounts": [
{
"bankCode": "341",
"branchCode": "0001",
"accountNumber": "20262027",
"personType": "NATURAL_PERSON",
"accountType": "CACC"
}
]
},
"debtor": {
"bankCode": "00000000",
"branchCode": "0001",
"accountNumber": "3323200006",
"personType": "NATURAL_PERSON",
"accountType": "CACC",
"taxId": "39424283008",
"name": "PT1"
},
"rejectedReason": "ACCOUNT_MISMATCH",
"rejectedDescription": "This payment account is not allowed for this QR Code.",
"metadata": {
"additionalProp1": "1",
"additionalProp2": "string",
"additionalProp3": "string"
}
}
}


Withdrawal Events

Pix Withdraw Success

Fired when a Pix withdrawal is successfully processed.

Key fields

FieldDescription
transactionIdInternal transaction identifier
externalIdYour system's identifier for this withdrawal
endToEndIdUnique end-to-end Pix transaction ID
statusAlways "success" for this event
initiationTypeHow the withdrawal was initiated (e.g. PIX_KEY)
creditorResolved bank account that received the funds
{
"pixWithdrawSuccess": {
"transactionId": "019d0853-bf54-7145-b463-df2d5566e894",
"externalId": "8d231a73-80c0-4333-acea-abf9b55f8d53",
"endToEndId": "E183942282026031923007DP8OFYBk9a",
"status": "success",
"description": "Displayed to the customer in the payment app before confirmation. Up to 140 chars.",
"initiationType": "DICT_KEY",
"amount": 1000,
"creditor": {
"bankCode": "00000000",
"branchCode": "0001",
"accountNumber": "3323200006",
"personType": "NATURAL_PERSON",
"accountType": "CACC",
"taxId": "39424283008",
"name": "PT1"
},
"createdAt": "2026-03-19T22:59:59.439Z",
"updatedAt": "2026-03-19T23:16:39.439Z",
"metadata": {
"additionalProp1": "1",
"additionalProp2": "string",
"additionalProp3": "string"
}
}
}



Pix Withdraw Failed

Fired when a Pix withdrawal cannot be completed.

Key fields

FieldDescription
transactionIdInternal transaction identifier
externalIdYour system's identifier for this withdrawal
statusAlways "failed" for this event
errorCodeMachine-readable failure code (e.g. ACCOUNT_MISMATCH)
errorDescriptionHuman-readable explanation of the failure
{
"pixWithdrawFailed": {
"transactionId": "019d0853-bf54-7145-b463-df2d5566e894",
"externalId": "8d231a73-80c0-4333-acea-abf9b55f8d53",
"endToEndId": "E183942282026031923007DP8OFYBk9a",
"status": "failed",
"description": "Displayed to the customer in the payment app before confirmation. Up to 140 chars.",
"initiationType": "DICT_KEY",
"amount": 1000,
"creditor": {
"bankCode": "00000000",
"branchCode": "0001",
"accountNumber": "3323200006",
"personType": "NATURAL_PERSON",
"accountType": "CACC",
"taxId": "39424283008",
"name": "PT1"
},
"createdAt": "2026-03-19T22:59:59.439Z",
"updatedAt": "2026-03-19T23:16:39.439Z",
"errorCode": "ACCOUNT_MISMATCH",
"errorDescription": "The destination account does not match the provided Pix key.",
"metadata": {
"additionalProp1": "1",
"additionalProp2": "string",
"additionalProp3": "string"
}
}
}



Refund Events

Pix Refund Success

Fired when a Pix refund is successfully processed.

Key fields

FieldDescription
refundIdInternal refund identifier
externalIdYour system's identifier for this refund
transactionIdInternal transaction identifier
originalEndToEndIdEnd-to-end ID of the original charge being refunded
refundEndToEndIdEnd-to-end ID of the refund transaction itself
statusAlways "success" for this event
amountRefunded amount in cents
originalAmountOriginal charge amount in cents
leftAmountRemaining refundable amount in cents
totalReversedAmountTotal amount reversed so far in cents
creditorBank account that received the refund
canBeReversedUntilDeadline after which the refund can no longer be reversed
settlementDateTimeTimestamp when the refund settled
{
"pixRefundSuccess": {
"refundId": "019d0853-bf54-7145-b463-df2d5566e894",
"externalId": "8d231a73-80c0-4333-acea-abf9b55f8d53",
"transactionId": "019d0854-5399-7500-a4bf-85e175e300f3",
"originalEndToEndId": "E183942282026031923007DP8OFYBk9a",
"refundEndToEndId": "E183942282026031923007DP8OFYBk9b",
"status": "success",
"amount": 1000,
"originalAmount": 1000,
"leftAmount": 0,
"totalReversedAmount": 1000,
"creditor": {
"bankCode": "341",
"branchCode": "0001",
"accountNumber": "20262027",
"accountType": "CACC",
"personType": "NATURAL_PERSON",
"taxId": "15276356213",
"name": "Andre"
},
"canBeReversedUntil": "2026-03-26T22:59:59.439Z",
"settlementDateTime": "2026-03-19T23:00:37.491Z",
"createdAt": "2026-03-19T22:59:59.439Z",
"updatedAt": "2026-03-19T23:16:39.439Z"
}
}

Pix Refund Failed

Fired when a Pix refund cannot be completed.

Key fields

FieldDescription
refundIdInternal refund identifier
externalIdYour system's identifier for this refund
transactionIdInternal transaction identifier
originalEndToEndIdEnd-to-end ID of the original charge being refunded
statusAlways "failed" for this event
amountAttempted refund amount in cents
originalAmountOriginal charge amount in cents
leftAmountRemaining refundable amount in cents
totalReversedAmountTotal amount reversed so far in cents
errorCodeMachine-readable failure code
errorDescriptionHuman-readable explanation of the failure
{
"pixRefundFailed": {
"refundId": "019d0853-bf54-7145-b463-df2d5566e894",
"externalId": "8d231a73-80c0-4333-acea-abf9b55f8d53",
"transactionId": "019d0854-5399-7500-a4bf-85e175e300f3",
"originalEndToEndId": "E183942282026031923007DP8OFYBk9a",
"refundEndToEndId": "E183942282026031923007DP8OFYBk9b",
"status": "failed",
"amount": 1000,
"originalAmount": 1000,
"leftAmount": 1000,
"totalReversedAmount": 0,
"creditor": {
"bankCode": "341",
"branchCode": "0001",
"accountNumber": "20262027",
"accountType": "CACC",
"personType": "NATURAL_PERSON",
"taxId": "15276356213",
"name": "Andre"
},
"canBeReversedUntil": "2026-03-26T22:59:59.439Z",
"errorCode": "REFUND_LIMIT_EXCEEDED",
"errorDescription": "The refund amount exceeds the original charge amount.",
"createdAt": "2026-03-19T22:59:59.439Z",
"updatedAt": "2026-03-19T23:16:39.439Z"
}
}