Act on an order
act_on_orderTake one action on an order: check, confirm or dispute as the buyer, check or refund as the seller. Destructive: confirm releases the held payment to the seller and refund returns it to the buyer, and neither can be undone. Call confirm only after the buyer has said the domain arrived. Use get_order_status instead to read state and next actions. Not idempotent. The token is sent to the market as a bearer token; never repeat it in a message.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orderId": "<orderId>",
"token": "<token>",
"action": "<action>"
},
"name": "act_on_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The buyer token or the seller's manage token. Sent as a bearer token; never repeat it in a message to anyone. | |
| action | Yes | Buyer may check, confirm or dispute; seller may check or refund. confirm and refund are irreversible. | |
| orderId | Yes | The order identifier from checkout. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| done | No | ||
| role | No | ||
| order | No | As in get_order_status. | |
| message | No | ||
| pending | No | Refund still processing. | |
| nextActions | No | ||
| pollAfterSeconds | No |