get_spending_by_merchant
Get spending grouped by recipient/merchant. Each Moneda user gets their own bucket; off-ramps share a single bucket per type (bank-withdrawal, external-wallet, coinbase, wallet-connect). Amounts are in currency units (26.5 means 26.50), like get_transactions.
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": {
"currency": "<currency>"
},
"name": "get_spending_by_merchant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO 8601 UTC end of an absolute window | |
| from | No | ISO 8601 UTC start of an absolute window | |
| period | No | Rolling time window. Mutually exclusive with from/to. | |
| currency | Yes |