Skip to content
← Back to Index

OnPaymentCapture

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

filtrera
{
  hook: 'OnPaymentCapture'
  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.
`effects.common.scheduleJob` Schedules a job
`effects.common.sendEmail` Queues an email for delivery through the Sendings system

© 2024 Hantera AB. All rights reserved.