From bcc48e697fbf46dd9fea231e2b7129cf62a859e5 Mon Sep 17 00:00:00 2001 From: Lord-ofada <omfaluyi@gmail.com> Date: Sat, 6 Mar 2021 20:39:22 +0100 Subject: [PATCH] - responses.go: added Balance field to TransactionsResponse struct. Transactions endpoint returns balance information. Although this isn't in the official docs --- responses.go | 1 + 1 file changed, 1 insertion(+) diff --git a/responses.go b/responses.go index e16e058..90a3efc 100644 --- a/responses.go +++ b/responses.go @@ -62,6 +62,7 @@ type ( Narration string `json:"narration"` Type string `json:"type"` Category string `json:"category"` + Balance float64 `json:"balance"` } }