Skip to main content

Loan Action : Payment Status

POST Get Payment Status

This is the SynoFin API which is used to retrieve the status of the E - Payment.

 

URL: {{base_url}}/loan-modification/v1/source-identifier

Request: 

Request Type: POST
Authorization: Bearer Token
Query Params:
Schema
Attribute Data Type Description Mandatory
payment_bank_account Number Payment bank account number Yes
payment_mode String Mode of payment (Like IMPS, RTGS, etc.) Yes
unique_batch_id Number Unique Identification for particular batch Yes
breakup_details { Array Of Objects This Can contain multiple objects Yes

disbursal_breakup_id Integer Unique disbursal breakup id for which e-payment needs to be added. Yes
unique_reference_identifier Integer Unique Identifier for each of the disbursal breakup. Yes
}


Body
{
  "payment_bank_account": "number",
  "payment_mode": "String",
  "unique_batch_id": "number",
  "breakup_details": [
    {
      "disbursal_breakup_id": 0,
      "unique_reference_identifier": 0
    },
    {
      "disbursal_breakup_id": 1,
      "unique_reference_identifier": 1
    }
  ]
}


Response:

Success: 200 OK
Schema
Attribute
Type Description
Mandatory
response
Boolean true Yes
data
Object Success Response Object
Yes



String unique_request_id Yes
String response_code Yes
String response_message Yes
error
String Internal error object for the given inputs
Yes
Body
{
   "response": true,
   "data": {
      "unique_batch_id": "0",
      "response_code": "00",
      "response_message": "Success"
   },
   "error": null
}

Success(Internal Error): 200 OK
Schema
Attribute
Type Description
Mandatory
response
Boolean false Yes
data
Object Success Response Object
Yes
error
Object Internal error object for the given inputs
Yes

String unique_request_id Yes
String code Yes
String text Yes
Body
{
    "response": false,
    "data":null,
    "error": {
 		"unique_request_id":0,
        "code": 0,
        "text": "Inavlid System id or This service id not integrated for this client"
    }
}

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