Skip to main content

Loan Action: Drawdown Cancellation

POST Drawdown Cancellation

This API facilitates the cancellation of drawdown for a loan transaction within the SynoFin platform. Users can submit a request for drawdown cancellation, providing details such as the cancellation date, invoice date, reason for cancellation, total amount, and transaction date. After successful creation, the request undergoes validation by a checker, who takes appropriate action (Service Request Actions | SynoFin Docs) to either approve or reject it.

Attribute Priority: Attributes fetched from SynoFin master are prioritized for inclusion in SynoFin masters.

URL: {{base_url}}/loan-modification/v1/service-request/save

Run in Postman: Receipt Cancellation Request

Request: 

Request Type: POST
Authorization: Bearer Token

Query Params:
Schema
AttributeData TypeDescriptionMandatory
service_request_typeStringPass - payment_request_cancellationYes
service_request_subtypeStringPass - 2Yes
service_typeStringPass is as ""No
loan_idStringUnique identifier for the loan.Yes
request_dataObjectData ObjectYes
receipt_cancellation_dateDateValue date of drawdown cancellation.Yes
payment_request_cancellationArrayArray containing service_request_id created while creating a drawdownNo
amountDoubleDrawdown amountYes
service_request_idIntegerservice request id of drawdownYes
transaction_idIntegertransaction id of drawdown transcationYes
repay_due_dateStringPass is as ""No
reference_numberStringPass is as ""No
invoice_dateDateDate of invoiceYes
payment_idStringPass is as nullNo
paid_amountDoublePass is as nullNo
payment_modeStringPass is as nullNo
payment_dateDatePass is as nullNo
number_of_instrumentsStringNumber of installment of repaymentNo
transaction_dateDateBusiness DateYes
reasonStringReason for cancellation. (Fetched for masters)Yes
uploadFileStringFile upload, if applicable.No
service_request_idStringPass is as ""Yes
Body
{
  "service_request_type": "payment_request_cancellation",
  "service_request_subtype": "2",
  "service_type": "",
  "loan_id": "217",
  "request_data": {
    "receipt_cancellation_date": "2026-01-05",
    "payment_request_cancellation": [
      {
        "amount": 1000,
        "service_request_id": 397,
        "transaction_id": 146372,
        "repay_due_date": "",
        "reference_number": "",
        "invoice_date": "2026-01-05",
        "payment_id": null,
        "paid_amount": null,
        "payment_mode": null,
        "payment_date": null
      }
    ],
    "number_of_instruments": 1,
    "transaction_date": "2026-01-05"
  },
  "service_request_id": ""
}

 

Response:

Success: 200 OK
Attribute
TypeDescription
Mandatory
response
BooleantrueYes
data
ObjectSuccess Response Object
Yes
Success Response Attribute
AttributeData TypeDescription
resultStringResult of the service request.
statusStringCurrent status of the service request.
service_request_idIntegerUnique identifier for the service request.
unique_transaction_numberStringUnique transaction number, if applicable.
Yes
error
ObjectError Response Object (null)Yes
Body

{
    "response": true,
    "data": {
        "result": null,
        "status": "initiated",
        "service_request_id": 1353,
        "unique_transaction_number": null
    },
    "error": null
}

 

Internal Server Error: 200
Schema
Error Response Code and Messages
S. NoMessageDescription
1.Drawdown request not found.Appears when drawdown request which is passed in request is not found 
2.Disbursal schedule not foundAppears when disbursal schedule is not found for service request
Attribute
TypeDescription
Mandatory
response
BooleantrueYes
data
ObjectFail Response Object
Yes



Data : Fail Response Attribute
unique_transaction_number
null
Yes

error

Object
Error : Fail Response Attribute
codePlease Refer Error Response Code and Messages
text
Yes

 

Body

{
    "response": false,
    "data": {
        "unique_transaction_number": null
    },
    "error": {
        "code": 1015000,
        "text": "Drawdown request not found."
    }
}

 

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