Webhooks

Transaction

Availability
Transaction webhooks are available for ACH and SEPA Direct Debit Transaction: Sale and Transaction: Refund requests.

Notification kindsAnchorIcon

The notification kind, returned by calling kind on the notification object, reveals what triggered the webhook. The $webhookNotification->kind for Transaction webhooks will be one of the following:

  • BraintreeWebhookNotification::TRANSACTIONSETTLEMENTDECLINED
  • BraintreeWebhookNotification::TRANSACTIONSETTLED

The following table describes the conditions that trigger each kind of webhook.

Notification TypeDescription
transaction_settlement_declined

Settlement for the transaction was declined.


May be triggered after the transaction_settled webhook if the customer's bank returns the refund after it has appeared to settle.

transaction_settled

Transaction successfully settled.

AttributesAnchorIcon

kindenum
The kind of webhook notification.
timestampdate
The UTC date/time at which the webhook was triggered.
transaction
A Transaction object.

The associated transaction.