Walletguide
DevelopersAPIReferencetransfers

CounterAsset

Sets the transfer-counter pair (type asset) on the position; the balance effect is computed on the fly by the engine (legacy…

POST
/wallets/{walletId}/transfers/counterAsset

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/transfers/counterAsset" \  -H "Content-Type: application/json" \  -d '{    "source": {      "type": "transaction",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"    },    "assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8"  }'
{  "ok": true}