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
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
id*string

Row uuid

Formatuuid

Query Parameters

date?string

Balance cutoff date; defaults to today.

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

Response Body

Import balance preview

application/json
  1. response
balance*
transactions*array<>
Example Request
curl -X GET 'https://api.walletguide.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08/importPreview'
Example Response
{  "balance": {    "value": 0,    "currency": "string"  },  "transactions": [    {      "id": "string",      "date": "string",      "amountValue": "string",      "amountCurrency": "string"    }  ]}