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.
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
Format
uuidid*string
Row uuid
Format
uuidQuery 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" }}ImportSettings
Nested-merges { importerType, settings } into the asset's importSettings map and persists it (legacy updateImportSettings). Returns the updated asset.
ImportPreview
The asset balance on/before a date plus the asset's non-child transactions (for import de-duplication). Mirrors the web getAssetBalanceByIdAndDate +…