Skip to content

Commit

Permalink
🐞 Removed status field from webhook payload (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Olegt0rr authored Apr 21, 2024
1 parent ea49dd9 commit 684a294
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions telegram_wallet_pay/schemas/webhook_payload.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from datetime import datetime
from typing import Literal, Optional
from typing import Optional

from pydantic import Field

Expand All @@ -12,7 +12,6 @@ class WebhookPayload(DefaultModel):
id: int
number: str
external_id: str = Field(max_length=255)
status: Literal["ACTIVE", "EXPIRED", "PAID", "CANCELLED"]
custom_data: Optional[str] = Field(None, max_length=255)
order_amount: MoneyAmount
selected_payment_option: PaymentOption
Expand Down

0 comments on commit 684a294

Please sign in to comment.