Rule Hook
OnPaymentCapture
Back to IndexThis 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
Sends a message to another actor after the payment has been saved. Responses from the target actor is ignored.effects.common.sendMessage
Calls a reactor method after the payment has been saved. Responses from the reactor is ignored.effects.common.callReactor