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

messageActor Sends a message to another actor.
scheduleJob Schedules a job.
sendEmail Queues an email for delivery through the Sendings system.
paymentCommand Applies a command to the payment actor.

© 2024 Hantera AB. All rights reserved.