Command: payment.addActivityLog
Adds an activity log to a Payment
Body
messageTemplate | string The message template. Use {placeholders} for dynamic values (see https://messagetemplates.org/) |
dynamic | map of string to any value (optional) Dynamic properties to add to the log |
Examples
Add activity log to existing Payment
```json [{ "type": "applyCommands", "body": { "commands": [{ "type": "addActivityLog", "messageTemplate": "Charge failed: {reason}", "dynamic": { "reason": "Authorization expired" } } ] } }] ```