Refund Transaction

A refund transaction is when money is returned to a customer for a purchase they previously made. In fraud detection, refund transactions can be flagged for investigation if they appear suspicious or unusual.

Refund Transaction

POST https://secctrl.tutelar.io/api/v1/fraud-detector/transaction/refund

Post parameters description is given below,

ParametersTypeIs MandatoryDescription

status

String

Yes

To Request a Refund Status for transaction send the status values are

orderId

Alphanumeric

Yes

Transaction Order ID

referenceNo

Alphanumeric

Yes

Transaction Reference No

reason

Alphanumeric

Yes

Refund reason

Sample Post Parameters

 {
    "status": "requested",
    "orderId": "ORD_10726",
    "referenceNo": "TXNREFxxxxxxxNqQ",
    "reason": "Refund created"
}

Post Response

If Refund Updates

{
    "success": true,
    "message": "Refund status updated successfully",
    "data": {
        "orderId": "ORD_10726",
        "referenceNo": "TXNREFxxxxxxxNqQ",
        "requestedDateTime": "2024-04-17T11:54:00.466Z",
        "responseDateTime": "2024-04-17T11:54:00.474Z",
        "processedTime": 8
    }
}

Last updated