get_settlements
Retrieve settlement transaction data including status, post dates, purchase amounts, and network information. Supports detail, day, week, and month aggregation. Use narrower date ranges for larger datasets due to 10,000 record limit.
Instructions
Get settlement transaction data. Includes transaction status, post dates, purchase amounts, and network information. Supports detail, day, week, and month aggregation. Note: DiVA API limits results to 10,000 records per query. Use narrower date ranges or more specific filters for larger datasets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aggregation | No | Aggregation level for the data | detail |
| fields | No | Specific fields to return | |
| filters | No | Filters on data fields. For date filtering, use actual date field names with operators. Example: {'transaction_timestamp': '>=2023-10-20'}. Do NOT include query parameters like 'count' here. | |
| sort_by | No | Field to sort by | |
| count | No | Maximum records to return (up to 10,000, default 10,000) | |
| program | No | Override default program |