listPayments
Retrieves the user's payments newest first, showing amounts, status, subscription periods, and failure reasons so you can check whether a payment went through or why a card was declined.
Instructions
The payments you made, newest first: balance top-ups and subscription payments, what each was for, the amount and currency, its status, the subscription period, and why a failed one was refused.
Use it to answer "did my payment go through?" or "why was my card declined?". It lists the payments the API key's user made, as the billing page shows them. Card details are never included.
The API key's user needs Billing access in your organization.
(Tags: Account)
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": "listPayments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageno | No | Page number. | |
| pagesize | No | Payments per page. |