res[pose code
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user