Skip to content

OnPaymentJournal

Back to Index

This hook runs after any payment journal entries have been created.

Type

{
hook: 'OnPaymentJournal'
payment: Payment // The payment, including the newly added journal entries
entries: [PaymentJournalEntry] // The journal entries that were added
}

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.callReactor Calls a reactor method after the payment has been saved. Responses from the reactor is ignored.

Back to Index