Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
This commit is contained in:
Davide Casale
2023-03-03 20:03:23 +01:00
parent 0300e6261a
commit 7562b21ada
4 changed files with 91 additions and 4 deletions

View File

@@ -666,4 +666,32 @@ class CurrencyConversion(_Type):
convert_currency: str
created: int
@dataclass
class MerchantDeposit(_Type):
id: int
invoice_id: Optional[str]
order_id: Optional[str]
type: Literal["ledger", "deposit"]
amount: float
t: int
txid: str
currency: str
method: str
pay_method: str
@dataclass
class MerchantUnlinkedDeposit(_Type):
id: int
method: str
currency: str
created_at: int
updated_at: int
amount: float
fee: float
txid: str
address: str
payment_id: Optional[int]
status: str
note: Optional[str]
#endregion