Walletguide
DevelopersAPIReferencetransactions

Selection summary

Per-currency amount sums and count over a selection (explicit ids, or a filter minus deselected ids). Read-only aggregate — uncapped, so it sums selections…

POST
/wallets/{walletId}/transactions/selection_summary

Authorization

bearerAuth
headerAuthorization<token>

A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.

Path Parameters

walletId*string

Row uuid

Formatuuid

Request Body

application/json
  1. body
selection*|

Response Body

Per-currency amount sums over the selection

application/json
  1. response
count*integer

Number of transactions in the selection.

sums*array<>

Per-currency sums, sorted by currency code.

partialSums?array<>

Present only when a usingDate filter attributes at least one selected row partially: per-currency sums of the in-window (partial) amounts, full amount for rows the window covers entirely.

Example Request
curl -X POST 'https://api.walletguide.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/transactions/selection_summary' \  -H 'Content-Type: application/json' \  -d '{  "selection": {    "mode": "ids",    "ids": [      "string"    ]  }}'
Example Response
{  "count": 0,  "sums": [    {      "currency": "string",      "value": 0    }  ],  "partialSums": [    {      "currency": "string",      "value": 0    }  ]}