Skip to content
← Back to Index

OnPaymentCreated

This hook runs after commands have been applied to a Payment Actor from the create message, but before the OnPaymentCommands hook. Commands returned will be applied to the payment and changes are available to the the OnPaymentCommands hook.

Type

filtrera
{
  hook: 'OnPaymentCreated'
  payment: Payment
}

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.