list_refunds
Retrieve Omise refunds with optional date range, charge ID, reason, and pagination filters to review or reconcile payment refunds.
Instructions
List all 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 |
|---|---|---|---|
| to | No | End date for filtering (ISO 8601 format) | |
| from | No | Start date for filtering (ISO 8601 format) | |
| limit | No | Number of refunds to retrieve (default: 20, max: 100) | |
| order | No | Order of results | chronological |
| charge | No | Filter by charge ID | |
| offset | No | Number of refunds to skip (default: 0) | |
| reason | No | Filter by refund reason |