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.
/v1/ledgers/{ledgerId}/accounts/{accountId}/balanceThe 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 In: header
Path Parameters
uuiduuidResponse 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}Set the account's credit limit (absolute, audited by the caller)
Sets the account's credit limit to an absolute value, not a delta, so a retry of the same request lands on the same limit.
Balance at a moment in effective time
Reconstructs the balance as of a moment in *effective* time, not wall-clock insert time.