(20250225)

This commit is contained in:
2025-02-25 17:53:33 +05:30
parent b66843faf1
commit 7aea7e0270
3 changed files with 9 additions and 1 deletions
@@ -263,6 +263,11 @@ class PGPaymentRequestData(BaseModel):
class PaymentRequestOneResult(BaseModel):
paymentId: ObjectId | None = Field(
description = "the id of this payment's record",
default = None
)
success: bool = Field(
description = "whether, or not, the payment was successfully requested",
default = False
@@ -280,6 +285,7 @@ class PaymentRequestOneResult(BaseModel):
class Config:
extra = "forbid"
arbitrary_types_allowed = True
# ---------------------------------------------------------------------------------------------------------------------