feat: add wallet list

This commit is contained in:
Vlad Stan
2026-07-08 11:54:57 +03:00
parent 5187731c76
commit 412736631c
7 changed files with 164 additions and 29 deletions
+10
View File
@@ -46,6 +46,16 @@ class CreateInvoiceResponse(BaseModel):
checking_id: str
class UserWalletSummary(BaseModel):
id: str
name: str
currency: str | None = None
class ListUserWalletsResponse(BaseModel):
wallets: list[UserWalletSummary] = Field(default_factory=list)
class WatchPaymentRequest(BaseModel):
payment_hash: str = Field(..., min_length=1, max_length=128)
callback_export: str = Field(..., min_length=1, max_length=128)