res[pose code

This commit is contained in:
CHIEFSOFT\ameye
2025-06-05 22:43:38 -04:00
parent 82053f41ce
commit dfdfa51583
+7 -1
View File
@@ -25,6 +25,10 @@ class RACCheckService:
schema = RACCheckSchema()
validated_data = schema.load(data)
transactionId = fields.Str(required=True)
fbnTransactionId = fields.Str(required=True)
customerId = fields.Str(required=True)
accountId = fields.Str(required=True)
# Simulated RAC check logic — create racResponse manually or via logic
# random_float = random.random() # temporary to play data
@@ -59,7 +63,9 @@ class RACCheckService:
"SALARYPAYMENT_3": Decimal("1255000"),
"SALARYPAYMENT_4": Decimal("1255000"),
"SALARYPAYMENT_5": Decimal("1255000"),
"SALARYPAYMENT_6": Decimal("1255000")
"SALARYPAYMENT_6": Decimal("1255000"),
"resultCode": "00",
"resultDescription": "RAC Check Successful"
}