Skip to content

Commit

Permalink
Merge pull request #307 from getlago/fix/wallet-usage-balance
Browse files Browse the repository at this point in the history
fix(wallet): Include draft invoices into ongoing usage balance
  • Loading branch information
rsempe authored Dec 10, 2024
2 parents fd7e4f8 + fdb3666 commit bae0b27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/schemas/WalletObject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ properties:
example: 800
ongoing_usage_balance_cents:
type: integer
description: The ongoing usage balance of the wallet, expressed in cents. This reflects all current usage including taxes.
description: The ongoing usage balance of the wallet, expressed in cents. This reflects all current usage and draft invoices including taxes.
example: 200
credits_ongoing_balance:
type: string
Expand All @@ -118,5 +118,5 @@ properties:
credits_ongoing_usage_balance:
type: string
pattern: "^[0-9]+.?[0-9]*$"
description: The ongoing usage balance of the wallet, expressed in credits. This reflects all current usage including taxes.
description: The ongoing usage balance of the wallet, expressed in credits. This reflects all current usage and draft invoices including taxes.
example: "2.0"

0 comments on commit bae0b27

Please sign in to comment.