splitpayment init

This commit is contained in:
benarc
2021-10-18 12:34:45 +01:00
parent 167a32fed9
commit a574743080
12 changed files with 644 additions and 0 deletions
+21
View File
@@ -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]