From ba2f767f830fa0980e06f186a80fb59341517c7b Mon Sep 17 00:00:00 2001 From: Robert Dyer Date: Fri, 12 Jul 2024 10:12:37 -0500 Subject: [PATCH] Add getAccountBalance() API documentation (#403) Docs for https://github.com/actualbudget/actual/pull/2930. --- docs/api/reference.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/api/reference.md b/docs/api/reference.md index e783aa2b6..04ca4ccef 100644 --- a/docs/api/reference.md +++ b/docs/api/reference.md @@ -30,7 +30,8 @@ This is the documentation of all available API methods. The API has not been rel "updateAccount", "closeAccount", "reopenAccount", -"deleteAccount" +"deleteAccount", +"getAccountBalance" ]} /> + +Gets the balance for an account. If a cutoff is given, it gives the account balance as of that date. If no cutoff is given, it uses the current date as the cutoff. + #### Examples ```js