Добавлена валидация цены
This commit is contained in:
@@ -48,7 +48,7 @@ class InitPaymentRequest(BaseModel):
|
||||
order_uuid: str = Field(min_length=1)
|
||||
price: int = Field(gt=0, strict=True, description="Payment amount in kopecks.")
|
||||
type: Literal[2]
|
||||
tariff_code: Literal[535]
|
||||
tariff_code: int
|
||||
comment: str | None = None
|
||||
sender: PaymentParty
|
||||
recipient: PaymentParty
|
||||
|
||||
Reference in New Issue
Block a user