Skip to main content

Loan Action : Receipt Cancellation

POST Receipt Cancellation

This API facilitates the cancellation of a receipt for a loan transaction within the SynoFin platform. Users can submit a request for receipt cancellation, providing details such as the cancellation date, number of instruments, 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_typeStringType of service request.Yes
service_request_subtypeStringSubtype of service request.Yes
service_typeStringType of service.No
loan_idStringUnique identifier for the loan.Yes
request_dataObjectContains details related to the request.Yes
receipt_cancellationArrayArray containing details of receipt cancellation.No
receipt_cancellation_dateDateDate of receipt cancellation.Yes
number_of_instrumentsIntegerNumber of instruments associated with the cancellation.Yes
reasonStringReason for cancellation.Yes
total_amountIntegerTotal amount associated with the cancellation.Yes
uploadFileStringFile upload, if applicable.No
transaction_dateDateTransaction date.Yes
service_request_idStringUnique identifier for the service request.Yes
Body
{
    "service_request_type": "receipt_cancellation",
    "service_request_subtype": "2",
    "service_type": "junk",
    "loan_id": "1234567",
    "request_data": {
        "receipt_cancellation": [
            ],
        "receipt_cancellation_date": "2026-02-03",
        "number_of_instuments": 1,
        "reason": "1394",
        "total_amount": 100000,
        "uploadFile": "",
        "transaction_date": "2026-02-03"
    },
    "service_request_id": ""
}

Response:

Success: 200 OK
Schema
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
{
    "service_request_type": "receipt_cancellation",
    "service_request_subtype": "2",
    "service_type": "",
    "loan_id": "1234",
    "request_data": {
        "receipt_cancellation": [
        ],
        "receipt_cancellation_date": "2026-02-03",
        "number_of_instuments": 1,
        "reason": "1394",
        "total_amount": 400000,
        "uploadFile": "",
        "transaction_date": "2026-02-03"
    },
    "service_request_id": ""
}
Internal Server Error: 200
Schema
Error Response Code and Messages
S. NoCodeMessageDescription
1.101756Cannot cancel receipt. Charges is already allocatedAppears When receipt charges are already allocated for the respective receipt.
2.
1015000
Receipt Cancellation Date should be Business DateAppears when receipt cancellation ('receipt_cancellation_date') is not initiated in the current business date.
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
{
    "success": false,
    "error": {
        "code": 101913,
        "message": "Employee code is already present in db"
    }
}

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