(20241217) Loosened referenec and description requirements for requesting payments. This is meant for testing purposes as of now.
This commit is contained in:
@@ -178,15 +178,13 @@ class PGPaymentRequestData(BaseModel):
|
|||||||
examples = ["INR", "USD", "KES"]
|
examples = ["INR", "USD", "KES"]
|
||||||
)
|
)
|
||||||
|
|
||||||
reference: str = Field(
|
reference: str | None = Field(
|
||||||
description = "some reference against which the payment was made",
|
description = "some reference against which the payment was made",
|
||||||
min_length = 3,
|
|
||||||
frozen = True
|
frozen = True
|
||||||
)
|
)
|
||||||
|
|
||||||
description: str = Field(
|
description: str | None = Field(
|
||||||
description = "a short, human-readable description of the payment",
|
description = "a short, human-readable description of the payment",
|
||||||
min_length = 3,
|
|
||||||
frozen = True
|
frozen = True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user