Wallet balance and statement
Это содержимое пока не доступно на вашем языке.
scope wallet:readreads
Returns the brand’s wallet as it stands now in balance — available (free to fund a campaign), reserved (held for running campaigns, also split per campaign), spent, card money still settling, the rolling reserve, the trailing creator-pay volume the commission is quoted against, and the count and sum of open invoices — and one month’s statement: the month’s totals and balances, and its lines oldest first (at most 1000; truncated says if the month had more).
Everything the agent is told about this tool
Returns the brand’s wallet as it stands now in balance — available (free to fund a campaign), reserved (held for running campaigns, also split per campaign), spent, card money still settling, the rolling reserve, the trailing creator-pay volume the commission is quoted against, and the count and sum of open invoices — and one month’s statement: the month’s totals and balances, and its lines oldest first (at most 1000; truncated says if the month had more). Each line is a deposit, a campaign spend, a refund or the platform commission, which is always a line of its own. Use it to answer where the money went and what is left, and before telling the brand a campaign can be funded. Leave month out for the current month, which is also how to ask for the balance alone. It only reads; nothing is moved. Amounts are objects {amount, currency} with amount in minor units (cents). A month that has not begun is invalid_arguments (422). Example: {} for the balance now, {"month": "2026-09"} for September.
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
month |
string |
no | The month as YYYY-MM, for example 2026-09. It must be a month that has begun. Leave it out for the current month. |
Example
Section titled “Example”curl https://countviews.com/api/public/v1/call \ -H "Authorization: Bearer $COUNTVIEWS_KEY" \ -H "Content-Type: application/json" \ -d '{"name":"wallet_statement","arguments":{"month":"2026-09"}}'{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "wallet_statement", "arguments": { "month": "2026-09" } }}{ "month": "2026-09"}