Spend rolled up across a wallet's account subtree

Read-only. Returns the wallet and its descendant sub-accounts, each with its own spend and the rolled-up total of its whole subtree — one number for the fleet. Bounded depth/size. Management-plane.

get/wallets/tree

Request

  • Base URL: https://getsanction.com/api/v1
  • URL: https://getsanction.com/api/v1/wallets/tree
  • Auth: API key in header x-mgmt-key

Query parameters

wallet_idstring required

Response

Subtree with rolled-up spend

wallet_idstring
nodesinteger

Number of wallets in the returned subtree.

truncatedboolean

True if the subtree hit the depth/node cap.

Changes

No recorded changes to this operation across all 1 revision of this API.