get_authorizations
Retrieve authorization transaction data with amounts, counts, user/card details, and merchant info. Supports detail, day, week, or month aggregation. Apply filters and sorting; results limited to 10,000 records per query.
Instructions
Get authorization transaction data. Includes authorization amounts, counts, acting users/cards, and merchant 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.
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": "get_authorizations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aggregation | No | Aggregation level for the data | detail |
| fields | No | Specific fields to return (comma-separated) | |
| filters | No | Filters on data fields. For date filtering, use the actual date field name with operators. Example: {'transaction_timestamp': '>=2023-10-20'} or {'transaction_timestamp': '2023-10-01..2023-10-31'}. Do NOT include query parameters like 'count' or 'sort_by' in filters. | |
| sort_by | No | Field to sort by (prefix with - for descending) | |
| count | No | Maximum number of records to return (up to 10,000, default 10,000) | |
| program | No | Override default program name |