Read prepaid credit purchases
read_purchasesRead your account's prepaid credit purchases, newest first, including each purchase's state and its grant's expiry where recorded. Pass purchase for one id. An id belonging to another account gives an empty list. The answer includes whether sales are open, the purchase amounts and currency. This read changes nothing.
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": "read_purchases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purchase | No | A purchase id to read alone. An id absent from this account gives an empty list. |