- EMIs
- Records
- Topups
- Accounts
- Payouts
- Loans
- Line Details
- Loan Data
- Fee
- Extra Data
- Topup Group
Update Loan Params
Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
PATCH
/v1/lms/accounts/initiate_loan_params/
Last modified:2025-03-30 07:03:30
Request
Body Params application/json
lead_id
stringÂ
required
program_id
stringÂ
required
line_detail
objectÂ
required
approved_line_amount
stringÂ
required
loan_data
objectÂ
required
emi_count
stringÂ
required
flat_roi_value
stringÂ
required
pf_value
stringÂ
required
pf_value_type
stringÂ
required
Example
{
"lead_id": "${STORE.crm._id}",
"program_id": "${PARAMS[PARAMS.environment].program_id}",
"line_detail": {
"approved_line_amount": "${STORE.requirement.loan_amount}"
},
"loan_data": {
"emi_count": "${STORE.requirement.selected_offer.tenure}",
"flat_roi_value": "${STORE.requirement.selected_offer.interest_rate}",
"pf_value": "${STORE.requirement.selected_offer.pf}",
"pf_value_type": "percentage"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://preprod.api.crego.io/v1/lms/accounts/initiate_loan_params/' \
--header 'Content-Type: application/json' \
--data-raw '{
"lead_id": "${STORE.crm._id}",
"program_id": "${PARAMS[PARAMS.environment].program_id}",
"line_detail": {
"approved_line_amount": "${STORE.requirement.loan_amount}"
},
"loan_data": {
"emi_count": "${STORE.requirement.selected_offer.tenure}",
"flat_roi_value": "${STORE.requirement.selected_offer.interest_rate}",
"pf_value": "${STORE.requirement.selected_offer.pf}",
"pf_value_type": "percentage"
}
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}