Webhooks
Disbursement
Notification kinds
The notification kind, returned by calling kind on the notification object, reveals what triggered the webhook. The webhook_notification.kind for Disbursement webhooks will be one of the following:
braintree.WebhookNotification.Kind.Disbursement
braintree.WebhookNotification.Kind.TransactionDisbursed
The following table describes the conditions that trigger each kind of webhook.
Notification Type | Description |
---|---|
disbursement | Braintree-funded merchant accounts only |
transaction_disbursed | Braintree-funded merchant accounts only |
Attributes
kind
enumtimestamp
datedisbursement
id
stringamount
decimaldisbursement_date
datedisbursement_type
stringtransaction_ids
Arraymerchant_account
retry
booltrue
if the disbursement previously failed and this webhook is for a second attempt. false
if this is the first time this disbursement has been attempted.
success
booltrue
if the disbursement was successful.