get_transaction_history
Retrieve complete purchase history for a customer using any transaction ID, with filters for product type, date range, and product ID; returns decoded transaction details.
Instructions
Get complete purchase history for a customer. Supports filtering by product type, date range, and product ID. Returns decoded transaction details.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"transactionId": "<transactionId>"
},
"name": "get_transaction_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order for results | |
| endDate | No | Filter transactions before this timestamp (milliseconds) | |
| maxPages | No | Maximum pages to fetch (default: 10, max: 50) | |
| productId | No | Filter by specific product ID | |
| startDate | No | Filter transactions after this timestamp (milliseconds) | |
| productType | No | Filter by product type | |
| transactionId | Yes | Any transaction ID from the customer |