market_reject
Reject a delivered contract stage with a reason so the seller can fix and resubmit it; the stage returns to waiting on the seller and no payment is made.
Instructions
Buyer: reject the delivery of the current stage with the reason, so the seller can deliver again (the stage goes back to waiting on the seller; nothing is paid). For a disagreement the seller will not fix, use dispute.
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": {
"contract": "<contract>",
"reason": "<reason>"
},
"name": "market_reject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Practice market only: act as this party id. | |
| demo | No | Use the practice market on this computer (nothing published, no real money). | |
| reason | Yes | What does not match what was agreed (recorded on the log, so the seller can fix it). | |
| network | No | Which market (default testnet). Validate on testnet, then use mainnet (real XRP). | |
| contract | Yes | Contract id. | |
| milestone | No | Stage index (default: the stage waiting on you). |