Skip to content
← Back to Index

Message: payment.applyCommands

Applies a list of commands to a Payment

Schema

Body
commandsarray of command An array of order commands to be applied. If any command fail, the order will not be updated.
Response Type string

Rule Hooks

Examples

Add Tag to Payment

json
[{
  "type": "applyCommands",
  "body": {
    "commands": [{
        "type": "addTag",
        "key": "card"
      }
    ]
  }
}]

© 2024 Hantera AB. All rights reserved.