Walletguide
DevelopersAPIReferenceassets

RemoveHistoryPreview

The candidate dates, affected count (rows before date), and rollup balance the remove-history action would apply. kind follows the asset's options.

GET
/wallets/{walletId}/assets/{id}/removeHistoryPreview

Authorization

bearerAuth
Authorization<token>

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

In: header

Path Parameters

walletId*string

Row uuid

Formatuuid
id*string

Row uuid

Formatuuid

Query Parameters

date?string

Cutoff date; defaults to today.

Match^\d{4}-\d{2}-\d{2}$

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08/removeHistoryPreview"
{  "kind": "transactions",  "dates": [    "string"  ],  "affectedCount": 0,  "rollup": {    "value": 0,    "currency": "string"  }}