list_order_refunds
Retrieve a given order's refunds oldest first, showing paid, refunded, pending, and remaining cents so you can verify refundable amounts.
Instructions
An order's refunds, oldest first, with what its payment collected (paid_cents), what has been refunded (refunded_cents), refunds still pending at the provider (pending_cents) and what can still be refunded (remaining_cents).
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 |
|---|---|---|---|
| order_id | Yes | The order number as customers and admins see it, e.g. "SF-10042", or the numeric order id. |