Update AccountBalanceResponse
This commit is contained in:
parent
8fa28d3d65
commit
a7bb3cf336
1 changed files with 6 additions and 1 deletions
|
@ -220,7 +220,12 @@ type AccountListResponse struct {
|
||||||
LBCRegtest []Account `json:"lbc_regtest"`
|
LBCRegtest []Account `json:"lbc_regtest"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type AccountBalanceResponse string
|
type AccountBalanceResponse struct {
|
||||||
|
Available decimal.Decimal `json:"available"`
|
||||||
|
Reserved decimal.Decimal `json:"reserved"`
|
||||||
|
ReservedSubtotals *decimal.Decimal `json:"reserved_subtotals"`
|
||||||
|
Total decimal.Decimal `json:"total"`
|
||||||
|
}
|
||||||
|
|
||||||
type AccountCreateResponse struct {
|
type AccountCreateResponse struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
|
|
Loading…
Reference in a new issue