Skip to content

OnPaymentCapture

Back to Index

This hook runs after a payment capture has been created or updated. A capture can update if an existing pending capture exists and a new charge is made on the payment to cover for the capture.

Type

{
hook: 'OnPaymentJournal'
payment: Payment // The payment, including the added/updated capture
capture: PaymentCapture // The capture that was added/updated
}

Effects

effects.common.sendMessage Sends a message to another actor after the payment has been saved. Responses from the target actor is ignored.

Back to Index