Spend log / receipts
spend_log0.003 USDC per call via x402, no key (unpaid call returns PaymentRequired; retry with params.meta["x402/payment"]). Spend log / receipts for a payer address: totals (settled, pending, refunded), top sellers and the latest receipts over the last N days (1-31; read from Settle's own receipt records, not from Base RPC history). Needs a key mts (X-API-Key header or apiKey argument). No key? call settle_trial_key (free, 50 calls/7 days). Full plan 1 USDC/30d incl. 1,000 calls via x402.
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": "spend_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days (1-31, Settle receipt records). | |
| limit | No | Max receipts returned. | |
| payer | No | Payer / agent wallet address 0x… (40 hex). | |
| apiKey | No | Your MoneyTools Settle key mts_… (alternative to the X-API-Key header). No key: call settle_trial_key. | |
| sessionId | No | Your session / run id. |