Use invoice items instead of amount

This commit is contained in:
Jon Staab
2026-03-31 11:22:20 -07:00
parent 15394f55d2
commit 8018950ba9
6 changed files with 60 additions and 9 deletions
+8 -1
View File
@@ -100,11 +100,18 @@ export type Tenant = {
billing_anchor: number
}
export type InvoiceItem = {
id: string
invoice: string
relay: string
sats: number
}
export type Invoice = {
id: string
tenant: string
status: string
amount: number
items: InvoiceItem[]
created_at: number
attempted_at: number
error: string