orders_refund
Refund an order. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.
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": {
"orderNumber": "<orderNumber>"
},
"name": "orders_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Minor units (cents). Omit to refund everything still outstanding. | |
| restock | No | Put the goods back on the shelf. Only acts on a full refund. | |
| orderNumber | Yes | The human order number, e.g. 1003. |