Skip to main content

Loan Action : Payment Request

POST Payment Creation

This SynoFin API retrieves all the essential loan information using this Loan Viewer API using Loan Id.

Screenshot 2023-04-20 at 3.17.25 PM.png

URL: {{base_url}}/loan-management/modification/v1/getBasicLoanDetailsservice-request/save

Run in Postman: GETSave LoanPayment BasicRequest Details

Request: 

Request Type: GETPOST
Authorization: Bearer Token

Request Body Attribute Description

This table includes the Attributes fetched using the Payment Request and offers a thorough view of the attribute, such as default Value, Mandatory, and Data Value, for the API's convenience.

JSON Decription Parameter:
QueryAttribute DescriptionDefault ValueMandatory 
service_request_typeAction to be perform by Service RequestpaymentYes
service_request_subtypeSubtype or action type fetched from master-Yes
loan_idUnique Identification Key-Yes
- paid_toBeneficiary User id fetched by Master-Yes
- payment_modeMode of Payment (Cash, Cheque, etc) Fetched from Masters-Yes
- payment_accountAccount number of from which transaction need to be initiated-Yes
- payment_dateDate of payment (yyyy-MM-dd)-No
- payment_amountAmount need to be paid0No
- inFavourOfAmount to be received in Favour of -No
- transaction_dateDate of Transaction (yyyy-MM-dd)-No
- payment_bankPayment bank Id fetched from Maters-Yes
- fund_transfer_numberUTR no.-No
- bank_recon_ref_identifierBank Identifies-No
- instrument_dateDate of instrument (Cheque, Demand Draft)-No
- instrument_numberInstrument Number (Cheque, Demand Draft)-No
- beneficiary_account_typeType of beneficiary Account (Cash Credit, Current Account) fetched from masters-Yes
- beneficiary_account_numberBeneficiary Account Number-Yes
- ifscBank IFSC code-Yes
- uploadFileReference File for the payment-Yes
- - charge_idUnique Id for Charge Need to added in Master-Yes
- - charge_labelCharge label Fetch by charge_id from Masters-No
- - total_outstanding_amountOutstanding Amount0No
- - typeType of charge amount -No
- - original_amountOriginal Amount0No
- - disbursal_schedule_idUnique Disbursal Schedule Id-Yes
- - outstanding_amountTotal Outstanding Amount0No
- - amount_in_processAmount to be used in Process0

No

- - payment_statusPayment Status fetched from masters-No
- - paid_amountPaid amount0No
- - total_paid_amountTotal Paid Amount0No
- - total_paid_amount_in_process--No
- - paid_amount_in_process--No
- - allocated_amountAllocated Amount to the payables0Yes
- - reason--No
- - payment_dateDate of Payment (yyyy-MM-dd)-Yes
- - balance_payableRemaining amount to be paid-No
- remarks-
No
service_request_idUnique Id generated by System post Request is generated (For System Use)
No
KeyData TypeDescriptionValidationsDefault ValueRequired
loanIdIntegerUnique identity constraint N/A-Yes


Response:

Success:Query 200 OKParameter:
Schema Date Date Date
Attribute
Typeservice_request_type DescriptionMandatoryString
response
Stringservice_request_subtype Internal status code that denotes the status of requestYes
data

Object Data

ObjectResponse Object for the given inputsYesinteger

dpdservice_type


IntegerNo of Day Past Due for the LoanYes

email

StringApplicant Email AddressYes

address

StringApplicants Complete AddressYes

tenure

IntegerLoan Tenure or Loan period

Yes

{ 

foir

loan_id
DoubleFixed Obligation to Income Ratio (FOIR) is the eligibility of the applicantYesnumber($bigserial)

source_application_number

paid_to
StringUnique loan identity received from the sourceYesinteger

dealer_id

payment_mode
integerUnique Id constraint for Asset dealerYesstring

loan_application_id

payment_account
StringUnique Loan identification for the clientsYesstring

interest_rate

payment_date
DoubleApplied interest rate for the loanYesdate()

original_tenure

payment_amount
integerInitial tenure for the loanYesnumber($double)

ltv_ratio

inFavourOf
IntergerLoan to Value or loan against CollateralYesstring

loan_amount

transaction_date
Interger Loan Amount that is issuedYes(yyyy-MM-dd)

loan_tenure

payment_bank
IntergerLoan Tenure or the Loan durationYesinteger($int64)

installments_paid

fund_transfer_number
IntergerNumber The installment that are paid for by the customerYesstring

loan_marking

bank_recon_ref_identifier

Loan tag if applicableYesstring

installment_amount

dealer_code
Interger
Yesstring

principal_outstanding

instrument_date
Interger
Yes(yyyy-MM-dd)

customer_name

instrument_number
String
Yesinteger($int64)

phone_no

beneficiary_account_type
Interger
Yesstring

is_whatsapp_no

beneficiary_account_number
Interger
Yesstring

advance_installment_count

payment_account_code
IntergerAdvance Installment paid by the customerYesstring

advance_installment_amount

ifsc
Interger
Yesstring

total_overdue

Interger
Yes

emi_due

Interger
Yes

other_charges

Interger
Yes

disbursed_by

String
Yes

source_application_identifier

String
Yes

product

String
Yes

scheme

String
Yes

loan_type

String
Yes

loan_application_number

String
uploadFile

balance_principal

payables


[{

interest_rate_monthly

charge_id



number($bigserial)

no_of_disbursement

charge_label



string

customer_id

total_outstanding_amount



number($double)

lending_rate

type

Rate of Interest against loan
string

scheme_lending_rate

original_amount



number($double)

emi_amount

disbursal_schedule_id



number($bigserial)

utilized_limit

outstanding_amount

Limit utilized by the client against sanctioned amount
number($double)

dsa_name

amount_in_process



number($double)

unrealized_limit_amount

payment_status

Limit that is not initiated
string

applied_amount

paid_amount



number($double)

branch_manager

total_paid_amount



number($double)

sourcing_channel

total_paid_amount_in_process



number($double)

risk_category

paid_amount_in_process



number($double)

sourcing_channel_type

allocated_amount



number($double)

pd_location

reason

Applicant location for the asset classification 
string

account_classification

payment_date



(yyyy-MM-dd)

drawing_power

balance_payable



number($double)

lien_mark


The borrower has permitted the lender to do so in accordance with the recovery of money associated with the mutual fund.
}]

lien_amount


Locked or frozen amount available in your account that is not accessible for a specific time frame
remarks

tos




debit_freeze




total_freeze




pemi_count




loan_net_worth




start_principle_recovery




caf_number


Customer application form number

no_of_cheque_bounce




dealer_code




advance_interest




advance_emi




advance_emi_payment_mode




advance_interest_payment_mode




total_moratorium_count




next_emi_amount




grace_period




delinquency




moratorium_period




advance_amount_recovery_type




total_nach_bounce_count




total_count_of_repayment




whatsapp_no




aggregated_ltv




overline_amount




total_number_of_bounce_count




moratorium_type




moratorium_months




loan_purpose




account_type




remarks




customer_branch




customer_profile




disbursal_status




sourcing_rm




loan_status




credit_manager




sourcing_branch




disbursal_date




maturity_date




asset_classification




tenure_convention




interest_start_date




repayment_start_date




repayment_mode




disbursed_start_date




disbursed_final_date




agreement_date




string_interest_rate




string_interest_rate_monthly




rate_type




total_limit




remaining_limit




login_date




total_due_amount




irr




balance_tenure




recovery_type




recovery_sub_type




relationship_with_applicant




customer_nationality




segement




offer_amount




partial_tenure




subvention_amount




over_line




partner




subvention_tax_amount




subvention_type




state_head




branch_hierarcy




cost_of_asset




product_type




customer_irr




over_due

DoubleOverdue amount for the loan if appliedYes

sourcing_rm_name

StringFull Namr of the Sourcing Regional ManagerYes

sourcing_supervisor

StringFull name of the Sourcing SupervisorYes

cancellation_date

DateLoan cancellation dateYes

loan_closure_date

DateLoan Closing dateYes

dpd_effective_date

Date

Date starting for DPD

agreed_amount

DoubleLoan Sanction amountYes}
errorservice_request_id
ObjectInternal error object for the given inputsNo
Body
{
   "response"service_request_type": true,"payment",
   "data"service_request_subtype": "2",
   "service_type": "",
   "loan_id": 0,
   "request_data": {
      "dpd"paid_to": 0,
      "email"payment_mode": "string",
      "address"payment_account": "string",
      "tenure"payment_date": "2024-09-14",
      "payment_amount": 0,
      "foir": 0,
    "source_application_number"inFavourOf": "string",
      "dealer_id"transaction_date": null,
    "loan_application_id": 0,
    "interest_rate": 0,
    "original_tenure": 0,
    "ltv_ratio": 0,
    "loan_amount": 0,
    "loan_tenure": 0,
    "installments_paid": 0,
    "loan_marking": []2024-09-14",
      "installment_amount"payment_bank": 0,"1",
      "principal_outstanding": 0,
    "customer_name"fund_transfer_number": "string",
      "phone_no"bank_recon_ref_identifier": "string",
      "is_whatsapp_no": null,
    "advance_installment_count": 0,
    "advance_installment_amount": 0,
    "total_overdue": 0,
    "emi_due": 0,
    "other_charges": 0,
    "disbursed_by": null,
    "source_application_identifier": null,
    "product"dealer_code": "string",
      "scheme"instrument_date": "2024-09-14",
      "instrument_number": "number",
      "beneficiary_account_type": "string",
      "loan_type"beneficiary_account_number": null,"number",
      "loan_application_number"payment_account_code": "string",
      "balance_principal"ifsc": 0,"string",
      "interest_rate_monthly": null,
    "no_of_disbursement": 0,
    "customer_id": 0,
    "lending_rate": null,
    "scheme_lending_rate": null,
    "emi_amount": 0,
    "utilized_limit": 0,
    "dsa_name": null,
    "unrealized_limit_amount": null,
    "applied_amount": null,
    "branch_manager"uploadFile": "",
      "sourcing_channel"payables": null,[
         {
            "risk_category": null,
    "sourcing_channel_type": null,
    "pd_location": null,
    "account_classification": "",
    "drawing_power"charge_id": 0,
            "lien_mark"charge_label": "string",
            "lien_amount"total_outstanding_amount": 0,
            "tos": 0,
    "debit_freeze": "No",
    "total_freeze": "No",
    "pemi_count": 0,
    "loan_net_worth": null,
    "start_principle_recovery": true,
    "caf_number": null,
    "no_of_cheque_bounce": 0,
    "dealer_code": null,
    "advance_interest": null,
    "advance_emi": null,
    "advance_emi_payment_mode": null,
    "advance_interest_payment_mode": null,
    "total_moratorium_count": 0,
    "next_emi_amount": null,
    "grace_period": null,
    "delinquency": null,
    "moratorium_period": null,
    "advance_amount_recovery_type": null,
    "total_nach_bounce_count": 0,
    "total_count_of_repayment": 0,
    "whatsapp_no": null,
    "aggregated_ltv": null,
    "overline_amount": 0,
    "total_number_of_bounce_count": 0,
    "moratorium_type": null,
    "moratorium_months": null,
    "loan_purpose": null,
    "account_type": null,
    "remarks": null,
    "customer_branch": null,
    "customer_profile": "",
    "disbursal_status"type": "string",
            "sourcing_rm"original_amount": null,0,
            "loan_status"charge_definition_id": "number",
            "excess_money_id": "number",
            "disbursal_schedule_id": 0,
            "charge_code": "number",
            "outstanding_amount": 0,
            "amount_in_process": 0,
            "payment_status": "string",
            "credit_manager"paid_amount": "number",
            "total_paid_amount": "number",
            "total_paid_amount_in_process": "number",
            "paid_amount_in_process": "number",
            "allocated_amount": "number",
            "reason": null,
            "sourcing_branch"payment_date": "string"2024-09-06",
            "disbursal_date": "dd/MM/yyyy",
    "maturity_date": "dd/MM/yyyy",
    "asset_classification": null,
    "tenure_convention": null,
    "interest_start_date": "dd/MM/yyyy",
    "repayment_start_date": "dd/MM/yyyy",
    "repayment_mode": "DRE",
    "disbursed_start_date": "dd/MM/yyyy",
    "disbursed_final_date": "dd/MM/yyyy",
    "agreement_date": "dd/MM/yyyy",
    "string_interest_rate": "String",
    "string_interest_rate_monthly": "string",
    "rate_type": null,
    "total_limit": null,
    "remaining_limit": 0,
    "login_date": null,
    "total_due_amount": 0,
    "irr": 0,
    "balance_tenure": 0,
    "recovery_type": null,
    "recovery_sub_type": "0",
    "relationship_with_applicant": null,
    "customer_nationality": null,
    "segement": null,
    "offer_amount": null,
    "partial_tenure": null,
    "subvention_amount": null,
    "over_line": null,
    "partner": null,
    "subvention_tax_amount": null,
    "subvention_type": null,
    "state_head": "",
    "branch_hierarcy": null,
    "cost_of_asset": 0,
    "product_type": "string",
    "customer_irr": 0,
    "over_due": null,
    "sourcing_rm_name": null,
    "sourcing_supervisor": null,
    "cancellation_date": null,
    "loan_closure_date": "dd/MM/yyyy",
    "dpd_effective_date": null,
    "agreed_amount"balance_payable": 0
         }
      ],
      "error"remarks": null""
   },
   "service_request_id": ""
}


Response:

StatusSuccess: Code:200 400 BAD REQUESTOK
Schema errorcodeforAPI
Attribute

Type Description Mandatory
response
String Internal status code that denotes the status of request Yes
data
ObjectResponse Object for the given inputsNo
error Object Data Object InternalSuccess errorResponse object for the given inputsObject Yes

coderesult integer Internal
No
statusStringStatus of service request Yes
textservice_request_id StringError message for the APINo
detailStringinteger Reason / Detail for the cause of error No
unique_transaction_numberStringUnique Transaction NumberNo
error
StringInternal error object for the given inputsYes
Body
{
    "response": true,
    "data": {
        "result": null,
        "status": "initiated",
        "service_request_id": 0,
        "unique_transaction_number": null
    },
    "error": null
}


Success: 200 OK (Internal Error)
Body
Expected messages as per Status API : occurredinsavingdata
ErrorS. CodeNo Description Error Message
1070011 If JSON Object doesn't have "payment_amount"AnInvalid ExceptionRequest
2 If JSON Object doesn't have "payment_mode"Payment Bank cannot be Empty
3If payment date After Business datePayment Date can be on or before Business date
4If payment date is before Disbursal Date Payment Date cannot be less than Disbursal Date.
5If allocated amount is greater than outstanding amount

Allocated amount greater than outstanding amount

6If total amount is not equal to total outstanding amount

Total amount is not equal to total allocated amount

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