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 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"  -----> Source Refrence Identifier
}

This Unique Reference Identifier (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
source_reference_identifier
Long Unique Reference Identifier given by you at the time of Generating Auto E Payment Request. Yes
Body
{
  source_reference_identifier:"12345"
}


Response:

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

String payment_status Yes
error
String Internal error object for the given inputs
Yes
Body
{
    "response": true,
    "data": {
        "payment_status": "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!"
}