Skip to main content

Loan Viewer : Get Payments Data

GET Basic Loan Details for Loan Id

Using the Loan Management API and the Disbursal Breakup ID, this SynoFin API pulls all the necessary payment information.

URL: {{base_url}/loan-management/v1/getPaymentsData?disbursal_breakup_id=1741

Run in Postman: GET Loan Basic Details

Request: 

Request Type: GET
Authorization: Bearer Token
Query Parameter:
KeyData TypeDescriptionValidationsDefault ValueRequired
disbursal_breakup_idIntegerUnique identity constraint N/A-Yes

 

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-
utrStringyes
payment_date

Date

(yyyy-MM-dd)

yes
error
StringInternal error object for the given inputs
Yes
{
  "response": true,
  "data": {
    "utr": "utr-test-1238",
    "payment_date": "2023-09-14"
  },
  "error": null
}

 

Bad Request: 400

Note: If the API is unable to retrieve data for specific fields against the relevant Disbursal Breakup Id, then this error will occur.

Schema
Attribute

TypeDescriptionMandatory
response
StringInternal status code that denotes the status of requestYes
data
ObjectResponse Object for the given inputsNo
errorObject DataObjectInternal error object for the given inputsYes

codeintegerInternal error code for APIYes
textStringError message for the APINo
detailStringReason / Detail for the cause of errorNo
Body
{
    "response": false,
    "data": null,
    "error": {
        "code": 0,
        "text": "string",
        "detail": "string"
    }
}

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!"
}