From d24d9cc248fdc217d5bee45899bdf816a16d4c34 Mon Sep 17 00:00:00 2001 From: khushal Date: Tue, 17 Dec 2024 14:32:23 +0530 Subject: [PATCH] (20241217) Loosened referenec and description requirements for requesting payments. This is meant for testing purposes as of now. --- models/api/finstitutions/payments/request.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/models/api/finstitutions/payments/request.py b/models/api/finstitutions/payments/request.py index a06fcbd..ada9bdb 100644 --- a/models/api/finstitutions/payments/request.py +++ b/models/api/finstitutions/payments/request.py @@ -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 )