WalletD developers
Accounts

Current balance, reservations, and available funds

The account's current balance, the total still reserved by active pendings, and the available figure a caller should spend against: balance minus reservations, plus the credit limit.

GET/v1/ledgers/{ledgerId}/accounts/{accountId}/balance

The account's current balance, the total still reserved by active pendings, and the available figure a caller should spend against: balance minus reservations, plus the credit limit. Reserved funds are already excluded, which is the point of the two-phase flow.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

ledgerId*string
Formatuuid
accountId*string
Formatuuid

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/v1/ledgers/497f6eca-6276-4993-bfeb-53cbbbba6f08/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/balance"
{  "balance": 0,  "pending": 0,  "available": 0}