Skip to main content

Loan Action : Create Disbursal Breakup

POST Create Disbursal Breakup

In order to produce Disbursal Breakup against a Loan ID, a user can use the SynoFin API. 

URL: {{base_url}}/loan-management/v1/createDisbursalBreakup

Run in Postman: Create Disbursal Breakup

Request: 

Request Type: POST
Authorization: Bearer Token
Query Params:
Schema
AttributeData TypeDescriptionMandatory
loan_idNumber (Big Serial)Unique Loan Id for agains which Disbursal Breakup Should be CreatedYes

disbursal_breakupArray Of ObjectsMultiple Breakups Can be AddedYes

disbursal_schedule_idNumber (Big Serial)Unique Disbursal Schedule Id for against which Disbursal Breakup Should be CreatedYes
disbursal_breakupArray Of ObjectsBreakup Details Yes

breakup_numberNumberBreakup number for the Disbursal IdNo
business_partner_nameStringName of the Business partnerNo
business_partner_typeStringType of the Business partner (customer, primary_applicant, etc.) can be Added therough SynoFin Masters).No
other_payablesDoubleOther payables Charges that are needed to be added  (Default 0.0)No
net_disbursal_amountDoubleNet Disbural amount For the disbursal Schedule (Default 0.0)No
disbursal_amountDoubleDisbursal Amount (Default 0.0)No
paid_amountDoublePaid Amount (Default 0.0)No
payment_statusStringPayment Status (Paid, Pending, Outstanding)Yes
pending_amountDoubleAmount Pending (Default 0.0)No
bank_nameStringName of the BankNo
ifsc_codeStringBank IFSC CodeNo
account_numberStringBank Account number of the Customerno
instrument_typeStringType of instrument (rtgs, cheque)No
payment_dateDateDate of Payment (Should be in format)(yyyy-MM-dd)Yes
payment_typeStringType of payment doneNo
disbursal_breakup_identifierStringUnique Identifier for the Disbursal BreakupYes

 
Body
{
  "loan_id": 00000, // Replace with the actual loan ID
  "disbursal_breakup": [
    {
      "disbursal_schedule_id": 00000, // Replace with actual schedule ID
      "disbursal_breakup": [
        {
          "breakup_number": "4",
          "business_partner_name": "Partner 1",
          "business_partner_type": "Type 1",
          "other_payables": 100.0,
          "net_disbursal_amount": 500.0,
          "disbursal_amount": 600.0,
          "paid_amount": 400.0,
          "payment_status": "Paid",
          "pending_amount": 200.0,
          "bank_name": "Bank 1",
          "ifsc_code": "IFSC123",
          "account_number": "1234567890",
          "instrument_type": "Type A",
          "payment_date": "2023-09-14", // Replace with the actual date
          "payment_type": "Type X",
          "disbursal_breakup_identifier": "Identifier 3"
        }
      ]
    },
    {
      "disbursal_schedule_id": 00000, // Replace with actual schedule ID
      "disbursal_breakup": [
        {
          "breakup_number": "5",
          "business_partner_name": "Partner 1",
          "business_partner_type": "Type 1",
          "other_payables": 100.0,
          "net_disbursal_amount": 500.0,
          "disbursal_amount": 600.0,
          "paid_amount": 400.0,
          "payment_status": "Paid",
          "pending_amount": 200.0,
          "bank_name": "Bank 1",
          "ifsc_code": "IFSC123",
          "account_number": "1234567890",
          "instrument_type": "Type A",
          "payment_date": "2023-09-14", // Replace with the actual date
          "payment_type": "Type X",
          "disbursal_breakup_identifier": "Identifier 4"
        }
      ]
    }
  ]
}

 

Response:

Success: 200 OK
Schema
Attribute

TypeDescription


Mandatory
response
StringInternal status code that denotes the status of request
Yes
dataObject DataObjectSuccess Response Object
Yes

Attribute
Data Type-
Identifier 4
Integeryes
Identifier 5Integeryes
error
StringInternal error object for the given inputs
Yes
Body
{
    "response": true,
    "data": [
        {
            "pan": "string",
            "aadhar": "string",
            "passport": "string",
            "dedupe_type": "",
            "dedupe_subtype": null,
            "dedupe_key": "",
            "dedupe_percent": 0.0,
            "property_address": "string",
            "property_distance": "string",
            "chasis_no": "string",
            "engine_number": "string",
            "customer_name": "string",
            "mobile_number": "string",
            "global_customer_id": "string",
            "source_application_number": "string",
            "loan_application_number": "string",
            "customer_guardian_name": "string",
            "customer_dob": "string",
            "voter_id": "string",
            "driving_license": "string",
            "collateral_id": "string",
            "global_collateral_id": "string",
            "registration_number": "string",
            "owner_name": "string",
            "customer_id": "string",
            "customer_type": "string",
            "current_address": "string",
            "permanent_address": "string",
            "loan_id": 0,
            "ifsc_code": "string",
            "customer_father_name": "string",
            "bank_account_number": "string",
            "property_pincode": "string",
            "khasra_number": "string",
            "property_long": 0,
            "property_lat": 0
        },
    ],
    "error": null
}

Unauthorized: 401

Note: If the API is not authorized with the Token or if the authorization token has expired, this error is going to show up.

Body
{
    "code": 401,
    "message": "auth fail, you can retry!"
}