Message: payment.applyCommands
Applies a list of commands to a Payment
Schema
Body
commands | array of command An array of order commands to be applied. If any command fail, the order will not be updated. |
Response Type
stringRule Hooks
Examples
Add Tag to Payment
json
[{
"type": "applyCommands",
"body": {
"commands": [{
"type": "addTag",
"key": "card"
}
]
}
}]