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: 'OnPaymentCapture' 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
Schedules a jobeffects.common.scheduleJob
Queues an email for delivery through the Sendings systemeffects.common.sendEmail