Add NACH Details for Loan
POST Add-mandate
This is the Loan Modification API used to add the Loans' NACH details.
If the NACH details need to be updated for a new bank account, then use the following API to add new bank and then continue below: Add Bank Details for Loan | SynoFin Docs
To update Nach Details, the first step is to get Data using the following API: Loan Action: Get Data Loan Actions
with request_id key as 'add_mandate' to fetch masters data.
Also fetch data masters data using the following masters API: Get Master Type | SynoFin Docs
with below request body :
[
{
"parent": "service_request_id",
"parent_id": "520", //loan ID
"type": "customers"
},
{
"parent_id": "520", // Loan ID
"type": "bank_account"
},
{
"type": "nach_type"
},
{
"loan_id": "520", // Loan ID
"type": "payment_bank"
},
{
"type": "mandate_frequency_type"
},
{
"type": "contribution_basis_type"
},
{
"type": "mandate_verification_status_type"
},
{
"type": "is_active"
}
]
Use the masters fetched from the above APIs in the below POST API:
API URL: {{base_url}}/loan-modification/v1/service-request/save
Request Body:
{
"loan_id": "520",
"request_data": {
"amount_cap": 13651,
"bank_account": "526",
"bank_address": "GN BLOCK, BANDRA KURLA COMPLEX BANDRA (EAST), MUMBAI 400051, MAHARASHTRA",
"bank_name": "Axis Bank",
"consumer_reference": "131311311313",
"contribution_basis_type": "installment",
"customer_name": "Chetan",
"customers": "514",
"expiry_date": "2025-03-30",
"hold_reasons": "",
"ifsc_number": "UTIB0000776",
"is_active": "true",
"mandate_frequency_type": "monthly",
"mandate_verification_status_type": "completed",
"micr_code": "940294029",
"nach_type": "auto_debit",
"payment_bank": "12313",
"repayment_contribution": 100,
"start_date": "2024-12-31",
"transaction_date": "2024-12-31",
"umrn": "42343242343243243422"
},
"service_request_id": "",
"service_request_subtype": "2",
"service_request_type": "add_mandate",
"service_type": ""
}
Response 200:
{
"response": true,
"data": {
"result": null,
"status": "initiated",
"service_request_id": 431,
"unique_transaction_number": null,
"transaction_id": 99962,
"unique_source_identifier": null
},
"error": null,
"timestamp": "2024-12-31T11:31:06.915+00:00"
}