Skip to main content

loan Action : Auto E - Payment

POST Auto E - Payment

This is a SynoFin endpoint designed to facilitate the creation of automated electronic payments. This endpoint allows users or applications to initiate electronic payment transactions with ease. Users can send payment details and instructions to this endpoint, which will then process the request and execute the payment according to the provided parameters. This feature streamlines the payment process, enabling secure and efficient electronic fund transfers, making it a valuable tool for businesses, organizations, and individuals looking to automate and simplify their payment workflows.

URL: {{base_url}}/loan-modification/v1/auto-epayment

Request: 

Request Type: POST
Authorization: Bearer Token
Query Params:
Schema      
AttributeData TypeDescriptionMandatory
payment_bank_accountNumberPayment bank account  Yes
payment_modeStringMode of payment (Like IMPS, RTGS, etc)Yes
unique_request_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 the disbursal breakupYes
}

 
Body
{
  "payment_bank_account": "number",
  "payment_mode": "String",
  "unique_request_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_request_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!"
}