Skip to content

Payment Actor Messages ​

applyCommandsApplies a list of commands to a Payment
chargeRegisters a charge for a given amount. If the payment maps an external payment provider, this message should be called after the charge has been approved by the provider.
completeCaptureCompletes pending capture and assigns its amount to credit balance. This can be used to force a capture to complete even if there's no underlying charge. Note that this can cause a payment to get a negative credit amount.
createCreates a new Payment.
queryQueries the payment from the graph.
refundRegisters a refund for a given amount. If the payment maps an external payment provider, this message should be called after the refund has been approved by the provider.
releaseAuthorizationRequests the release of an authorization. This does not mutate the authorization directly; instead it evaluates the OnPaymentAuthorizationRelease hook so a payment provider can void the reservation externally. If no rule produces any effect, the authorization amount is optimistically set to 0.

© 2026 Hantera AB. Org. no.: 559242-9582