/

to search

Introducing Setu Changelog Check it out ↗

#Fetch dispute

The merchant will have to call the fetch dispute API with the correct set of parameters.

Staging hosthttps://umap.setu.co/api
MethodGET
Path/v1/merchants/disputes/{disputeId}
HeadermerchantId
Authorization: Bearer <insert_token_here>. Generate this token using OAuth.

Content-Type—will be application/json

#Sample response

{
"amount": 100,
"currency": "INR",
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantReferenceId": "1240689979139556557",
"reason": "Dispute accepted by merchant",
"rrn": "123456781234",
"status": "rejected",
"txnId": "SETmBZkQOV0M7wyyP1V4PIFhRSzW5eSjmYI"
}
In the above response—
  • id is a unique dispute ID that is associated with this dispute and can be used to track it later.

To know more about all the API params, please refer to the API documentation here.