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      
AttributeData TypeDescriptionMandatory
payment_bank_accountNumberPayment bank account numberYes
payment_modeStringMode of payment (Like IMPS, RTGS, etc.)Yes
unique_batch_idNumberUnique Identification for particular batchYes
breakup_details {Array Of ObjectsThis Can contain multiple objectsYes

disbursal_breakup_idIntegerUnique disbursal breakup id for which e-payment needs to be added.Yes
unique_reference_identifierIntegerUnique 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
TypeDescription
Mandatory
response
BooleantrueYes
data
ObjectSuccess Response Object
Yes



Stringunique_request_idYes
Stringresponse_codeYes
Stringresponse_messageYes
error
StringInternal 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
TypeDescription
Mandatory
response
BooleanfalseYes
data
ObjectSuccess Response Object
Yes
error
ObjectInternal error object for the given inputs
Yes

Stringunique_request_idYes
StringcodeYes
StringtextYes
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!"
}