If I'm understanding the code correctly, it's currently not possible to include a note when canceling a transaction. The HTTPClient delete method will only accept the path as input.
Adding a note would be helpful to distinguish between different types of reasons for canceling a transaction. For example, we have use cases where a pending transaction can be canceled as part of a user account deletion or the user can directly request a cancel from our app.
trans.delete(node_id: user_node, trans_id: transaction_id, note: "End User Request" )
trans.delete(node_id: user_node, trans_id: transaction_id, note: "Account Delete" )
If I'm understanding the code correctly, it's currently not possible to include a note when canceling a transaction. The HTTPClient delete method will only accept the path as input.
Adding a note would be helpful to distinguish between different types of reasons for canceling a transaction. For example, we have use cases where a pending transaction can be canceled as part of a user account deletion or the user can directly request a cancel from our app.
trans.delete(node_id: user_node, trans_id: transaction_id, note: "End User Request" )
trans.delete(node_id: user_node, trans_id: transaction_id, note: "Account Delete" )