(20241217) payment reference will now be the same as the payment id.

This commit is contained in:
2024-12-17 15:57:13 +05:30
parent d24d9cc248
commit 2e0c0224d4
15 changed files with 93 additions and 69 deletions
+1 -6
View File
@@ -168,7 +168,7 @@ class PGPaymentRequestData(BaseModel):
amount: float | int = Field(
description = "the amount of money to be requested",
ge = 0,
ge = 0.0,
frozen = True
)
@@ -178,11 +178,6 @@ class PGPaymentRequestData(BaseModel):
examples = ["INR", "USD", "KES"]
)
reference: str | None = Field(
description = "some reference against which the payment was made",
frozen = True
)
description: str | None = Field(
description = "a short, human-readable description of the payment",
frozen = True
-5
View File
@@ -101,11 +101,6 @@ class MailGetRequestHeaders(BaseModel):
class MailGetRequestData(BaseModel):
tokenKey: str = Field(
description = "the id of the token associated with the mail; needed for security",
frozen = True
)
messageId: str = Field(
description = "the mail identifier (Mongo ObjectId) of the document that holds the mail",
frozen = True