Merchant Charge History
get_merchant_historyCharge history for one merchant (case-insensitive substring match on merchant name or description): charge count, total spent, average amount, first and last charge dates, and the matching transactions, newest first. Default window is the last 12 months. Transactions are paginated with limit/offset (default 50, max 200); the totals cover every match. The response includes a warnings array of notices about banks that could not contribute (for example, a bank that needs reconnecting), each with a message and, when relevant, a reconnect_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1 to 200). Defaults to 50. | |
| offset | No | Number of results to skip, for paging. Defaults to 0. Use with has_more. | |
| end_date | No | Date in YYYY-MM-DD format. Defaults to today. | |
| merchant | Yes | Merchant name or part of it, for example "starbucks". | |
| account_id | No | Limit results to a specific account. Use an account id returned by list_accounts. | |
| start_date | No | Date in YYYY-MM-DD format. Defaults to 12 months ago. |