Published on : July 10, 2020

What is NACH details?
Validates whether the NACH is OK or Not

Service Used: sublan_eligibility.nach_details

Keys used in this section are :

CollectCollect nach or notVarchar
methodNACH methodVachar
fixedNACH method fixedVachar

Logic: Calculation of NACH Details

Collect 
----------------
if collect is not present, set it to yes

method
-----------
Either max_1L, sanction_amount, max_interest, fixed

nach_amount
---------------
set the default value of nach amount is zero

fixed
-------------
NAch method is fixed for the product

frequency
-----------
NACH frequency , get from product settings

to_date_method
--------------
NACH valid upto date , get from product settings

generated_date
---------------
Current Date

Output

 "nach_details"              =>  array(10) 
[
"debug" => array(1)
"skip" => string(2) "no"
"collect" => string(3) "yes"
"method" => string(17) "fixed_or_sanction"
"nach_amount" => string(5) "50000"
"frequency" => string(0) ""
"to_date_method" => string(0) ""
"generated_date" => string(8) "20200710"
"status" => string(7) "success"
"message" => string(22) "nach amount calculated"
]

Visual Output