list_order_refunds
Retrieve all refunds for a specific order, including amounts, reasons, and the processor. Use the fields parameter to request only the data you need.
Instructions
List all refunds for an order. Shows refund amounts, reasons, and who processed them. Use fields param to request only needed fields.
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": {
"order_id": "<order_id>"
},
"name": "list_order_refunds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| fields | No | Comma-separated fields to return (default: id,date_created,amount,reason,refunded_by) | |
| order_id | Yes | Order ID | |
| per_page | No | Items per page (max 100) |