Refund Transaction

A refund transaction is the process where money is returned to a customer for a purchase they previously made. In the context of fraud detection, refund transactions can be flagged for investigation if they exhibit suspicious or unusual patterns, such as an unusually high frequency of refunds, refunds of large amounts, or discrepancies between the refund request and the original purchase details. These flags help identify potential fraudulent activity, ensuring the integrity and security of the transaction process.

Refund Transaction

post
Body
statusstring · enumRequired

It is used to request the status of a refund for a transaction. The value should be one of the following: 'requested': Indicates that the refund has been requested but not yet processed. 'processed': Indicates that the refund has been processed.

Example: requestedPossible values:
orderIdstringRequired

This key represents the Transaction Order ID. It is a unique identifier for the transaction associated with the order for which the refund is being requested.

Example: ORD_10726
reasonstringRequired

This key is used to provide the reason for the refund. It explains why the refund is being requested, such as due to a product issue, service dissatisfaction, or any other relevant reason.

Example: Product Defective
Responses
200
Refund status updated successfully
application/json
post
POST /api/v1/fraud-detector/transaction/refund HTTP/1.1
Host: secctrl.tutelar.io
Content-Type: application/json
Accept: */*
Content-Length: 73

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

Last updated