diff options
| author | stuppie | 2026-09-23 15:07:47 -0600 |
|---|---|---|
| committer | stuppie | 2026-09-23 15:07:47 -0600 |
| commit | 785adc51b2cc2b4d3e845a454f38b2a5197cc7f0 (patch) | |
| tree | f7866bfb76e359f8078de4437f0f06e313847805 /jb/models/wallet.py | |
| parent | 064a55c754e02da54b13c47028b233b265327518 (diff) | |
| download | amt-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/wallet.py')
| -rw-r--r-- | jb/models/wallet.py | 6 |
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") |
