Walletguide
DevelopersAPIReferenceassets

ImportPreview

The asset balance on/before a date plus the asset's non-child transactions (for import de-duplication). Mirrors the web getAssetBalanceByIdAndDate +…

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

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

Balance cutoff date; defaults to today.

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

Response Body

application/json

application/json

curl -X GET "https://example.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08/importPreview"
{  "balance": {    "value": 0,    "currency": "string"  },  "transactions": [    {      "id": "string",      "date": "string",      "amountValue": "string",      "amountCurrency": "string"    }  ]}