List refunds
list_refundsRetrieve refunds newest first, using cursor pagination and optional status or invoice filters to review and track refund records.
Instructions
List refunds.
Newest first; pass next_cursor back as cursor for the next page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_refunds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many objects to return, 1–100. Default 10. | |
| cursor | No | `next_cursor` from the previous page. | |
| status | No | ||
| invoice | No | A invoice id, `inv_…`. |