Skip to content
← Back to Index

paymentCommand

Return this effect to apply a payment command from hooks that supports it.

Type

filtrera
{
  effect: 'paymentCommand'
  type: text // Command type
  // Additional command properties are added here
}

Payment Commands

addActivityLogAdds an activity log to a Payment
addTagAdds a tag to a Payment
createAuthorizationCreates a new Authorization.
generatePaymentNumberByPrefixGenerates a payment number for a payment based on the given prefix
removeTagRemoves a tag from a Payment
setAuthorizationAmountSets the amount of an Authorization.
setAuthorizationStateSets the state of an Authorization.
setDynamicFieldsSets dynamic fields of a payment. Non specified fields will be left unchanged. Set value to null to remove field.

© 2024 Hantera AB. All rights reserved.