List the refunds of a payment
list_refundsRetrieves refunds for a specific payment ID, newest first with status, so you can review refund history and outcomes.
Instructions
Refunds of a payment, newest first, with their status.
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": {
"payment_id": "<payment_id>"
},
"name": "list_refunds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_id | Yes |