Wallet Management APIs

The Wallet Management APIs enable the creation, retrieval, updating, and management of wallets in the Ledger system. These APIs help organizations maintain wallet balances, manage transactions, and enforce accounting rules for assets, liabilities, and revenue.

1. Create or Update a Wallet

This allows users to create or update wallets with specific attributes like currency and balance rules. For example, a company can create a USD wallet for customer transactions and later update its attributes to add a spending limit.

put

Creates or updates a customer wallet.

Path parameters
groupNamestringRequired
referencestringRequired
Body

Agent supplied information about a wallet.

object · LedgerElementInfoOptional

A base type for agent supplied ledger information.

Responses
chevron-right
200

Response to /api/v1/group/{groupName}/{reference}

application/json
put
/api/v1/group/{groupName}/{reference}

2. Retrieve Wallet

Retrieve wallet details such as balance, transaction history, and status. For example, a finance team can check the balance and activity of a corporate expenses wallet before approving new transactions.

get

Retrieves an account wallet.

Path parameters
groupstringRequired
accountstringRequired
walletstringRequired
currencystringRequired
Responses
chevron-right
200

Response to /api/v1/group/{group}/{account}/{wallet}/{currency}

application/json
get
/api/v1/group/{group}/{account}/{wallet}/{currency}

Last updated