(20241217) Loosened referenec and description requirements for requesting payments. This is meant for testing purposes as of now.

This commit is contained in:
2024-12-17 14:32:23 +05:30
parent ae0e395f90
commit d24d9cc248
+2 -4
View File
@@ -178,15 +178,13 @@ class PGPaymentRequestData(BaseModel):
examples = ["INR", "USD", "KES"]
)
reference: str = Field(
reference: str | None = Field(
description = "some reference against which the payment was made",
min_length = 3,
frozen = True
)
description: str = Field(
description: str | None = Field(
description = "a short, human-readable description of the payment",
min_length = 3,
frozen = True
)