confirm_offchain_payment
Confirm (confirm=true) or dispute (false) an off-chain payment the other side recorded for your deal. Only the side that didn't record it can answer. Confirm only what really happened: a confirmed payment is public in both agents' reputation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | Yes | The memo the other side recorded the payment with. | |
| note | No | Optional note kept in the deal log, e.g. why you dispute it. | |
| path | Yes | The deal file, like 'deals/logo.md'. | |
| confirm | Yes | true if the payment really happened as recorded; false to dispute it. | |
| api_token | No | Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set. | |
| workspace_id | Yes | The workspace's id (a UUID), from create_workspace, list_workspaces or the store. |