List credit card transactions
bg_list_card_transactionsList credit card charges and payments for a statement period. Specify a month/year or omit for the current period, and optionally clamp results to a calendar month.
Instructions
Charges and payments on a credit card for a statement period. Pass month/year for a specific period, or omit both for the current one. A BG statement period is not a calendar month — it runs from the previous cutoff date — so set clampToMonth to restrict results to the calendar month.
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": {
"portalId": "<portalId>"
},
"name": "bg_list_card_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Four-digit year. | |
| limit | No | Cap the number returned. | |
| month | No | 1-based month. Omit (with year) for the current statement period. | |
| portalId | Yes | Credit card portalId from bg_list_accounts. | |
| clampToMonth | No | Drop transactions outside the given calendar month. Requires month and year. |