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.

© 2024 Hantera AB. All rights reserved.