/

to search

Introducing Setu Changelog Check it out ↗

#Notifications and alerts for refunds

PREREQUISITES 

🌟 Refunds and disputes ↗

#Details for refund statuses

UPI Setu equips merchants with a straightforward API-based mechanism. to process refunds directly to the customer's bank account that was originally used for the transaction. This capability not only enhances customer satisfaction through quick and efficient refunds but also streamlines dispute resolution.

The statuses are consistent across all UPI Setu products—

  • refund.initiated Refund request has been create at UPI Setu
  • refund.pending Refund is in queue to be processed
  • refund.successful Refund has been successfully completed
  • refund.failed Refund could not be processed

Here is the life-cycle for refund statuses—

Bridge

{
// Event attributes
"eventId": "01ARZ3NDEKTSV4RRFFQ69G5FAV", // Id of an event (unique for each event)
"eventTs": "2023-09-04T12:08:20+0530", // Timestamp associated with the event
"eventType": "refund.success",
"resource": "refund",
"status": "success", // success | failed
// Payment context
"paymentId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"orgTxnId": "SETmBZkQOV0M7wyyP1V4PIFhRSzW5eSjmYI",
// References
"merchantId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantReferenceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
// Refund references
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"txnId": "SETmBZkQOV0M7wyyP1V4PIFhRSzW5eSjmYI",
"rrn": "123456789012",
"crn": "UPI123456789012",
// Refund attributes
// "refundType": "online", // online | offline
"amount": 10000,
"currency": "INR",
// Reason
"reason": {}
}