splitpayment init
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
from pydantic.main import BaseModel
|
||||
from pydantic import BaseModel
|
||||
from fastapi import FastAPI, Request
|
||||
from typing import List
|
||||
|
||||
|
||||
class Target(BaseModel):
|
||||
wallet: str
|
||||
source: str
|
||||
percent: int
|
||||
alias: str
|
||||
|
||||
|
||||
class TargetPutList(BaseModel):
|
||||
wallet: str
|
||||
aliat: str
|
||||
percent: int
|
||||
|
||||
|
||||
class TargetPut(BaseModel):
|
||||
targets: List[TargetPutList]
|
||||
Reference in New Issue
Block a user