Get receipts
get_receiptsYour recent receipts, newest first: for each, its id, time, model, USDC charged, tokens and the upstream reference (kind charge, this key only), or the account's top-ups and refunds with their transaction and network. Read-only; page back with before. Free, but needs your API key.
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_receipts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | charge (default): what this key spent; topup: money added to the account; refund. | |
| limit | No | How many, newest first. Defaults to 10. | |
| before | No | Only entries older than this receipt id: pass the last id of the previous page. |