Webhooks
Transaction
Notification kinds
The notification kind, returned by calling kind on the notification object, reveals what triggered the webhook. The webhook_notification.kind for Transaction webhooks will be one of the following:
Braintree::WebhookNotification::Kind::TransactionSettlementDecline
Braintree::WebhookNotification::Kind::TransactionSettled
The following table describes the conditions that trigger each kind of webhook.
Notification Type | Description |
---|---|
transaction_settlement_declined |
Settlement for the transaction was declined. May be triggered after the |
transaction_settled |
Transaction successfully settled. |
Attributes
kind
enumThe kind of webhook notification.
timestamp
dateThe UTC date/time at which the webhook was triggered.
transaction
A Transaction
object.
The associated transaction.