Skip to content

Message: payment.applyCommands

Back to Index

Applies a list of commands to a Payment

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

POST https://<hantera-hostname>/resources/actors/payment/43ebb15a-8e7b-43cd-b3b0-fbb4de269a8f
Authorization: Bearer <YOUR TOKEN>
Content-Type: application/json
[{
"type": "applyCommands",
"body": {
"commands": [{
"type": "addTag",
"key": "card"
}
]
}
}]
Back to Index