feat(orders): integrate Pally payment and order management
This commit is contained in:
15
schemas/invoices.py
Normal file
15
schemas/invoices.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from enum import StrEnum
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class InvoiceStatus(StrEnum):
|
||||
EXPIRED = "expired"
|
||||
ACTIVE = "active"
|
||||
PAID = "paid"
|
||||
|
||||
|
||||
class InvoiceResponse(BaseModel):
|
||||
success: bool
|
||||
amount: float
|
||||
payment_link: str
|
||||
Reference in New Issue
Block a user