Skip to main content

Loan Action : Payment Status

POST Get Payment Status

This is the SynoFin APIAPI, which is used to retrieve the status of the EE-Payment against the Unique Reference Identifier that you have provided while initiating the request for Auto E-Payment, i.e,

Sample Request Body for Auto E-Payment:
{
	disbursal_breakup_id:"1",
	unique_reference_identifier:"SAMPLE1"  -----> Payment.

Unique Refrence Identifier }

This Unique Reference Identifier is meant to be passed under 'source_reference_identifier' to get the payment status

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
source_reference_identifier
NumberPayment bank account numberYes
payment_modeStringMode of payment (Like IMPS, RTGS, etc.)Yes
unique_batch_idNumberLong Unique IdentificationReference forIdentifier particulargiven batchby you at the time of Generating Auto E Payment Request. Yes
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
{
  source_reference_identifier:"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
    }
  ]12345"
}


Response:

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



String unique_request_idYes
Stringresponse_codeYes
Stringresponse_messagepayment_status Yes
error
String Internal error object for the given inputs
Yes
Body
{
    "response": true,
    "data": {
        "unique_batch_id"payment_status": "0",
      "response_code": "00",
      "response_message": "Success"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!"
}