List Refunds
list_refundsFetch a filtered list of refunds using payment intent, charge ID, or pagination parameters.
Instructions
List refunds with optional filtering.
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 |
|---|---|---|---|
| payment_intent | No | Filter by PaymentIntent ID | |
| charge | No | Filter by Charge ID | |
| limit | No | Results per page | |
| starting_after | No | Pagination cursor |