satspay done

This commit is contained in:
Tiago vasconcelos
2021-10-14 22:30:29 +01:00
parent e939666107
commit ec4117a5f4
7 changed files with 18 additions and 22 deletions
-9
View File
@@ -17,15 +17,6 @@ from ..watchonly.crud import get_watch_wallet, get_fresh_address, get_mempool
async def create_charge(
user: str,
data: CreateCharge
# user: str,
# description: str = None,
# onchainwallet: Optional[str] = None,
# lnbitswallet: Optional[str] = None,
# webhook: Optional[str] = None,
# completelink: Optional[str] = None,
# completelinktext: Optional[str] = "Back to Merchant",
# time: Optional[int] = None,
# amount: Optional[int] = None,
) -> Charges:
charge_id = urlsafe_short_hash()
if data.onchainwallet: