aboutsummaryrefslogtreecommitdiff
path: root/jb/models
diff options
context:
space:
mode:
authorstuppie2026-09-23 15:07:47 -0600
committerstuppie2026-09-23 15:07:47 -0600
commit785adc51b2cc2b4d3e845a454f38b2a5197cc7f0 (patch)
treef7866bfb76e359f8078de4437f0f06e313847805 /jb/models
parent064a55c754e02da54b13c47028b233b265327518 (diff)
downloadamt-jb-785adc51b2cc2b4d3e845a454f38b2a5197cc7f0.tar.gz
amt-jb-785adc51b2cc2b4d3e845a454f38b2a5197cc7f0.zip
working on cashout postback, to be hit by thl upon cashout status change, which will send the user an email with the info
Diffstat (limited to 'jb/models')
-rw-r--r--jb/models/wallet.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/jb/models/wallet.py b/jb/models/wallet.py
index 4754922..226e71f 100644
--- a/jb/models/wallet.py
+++ b/jb/models/wallet.py
@@ -16,6 +16,12 @@ class CashoutConfirmation(BaseModel):
token: str = Field(min_length=1)
+class CashoutPostback(BaseModel):
+ model_config = ConfigDict(extra="forbid")
+
+ cashout_id: UUIDStr
+
+
class PendingCashout(BaseModel):
model_config = ConfigDict(extra="forbid")