#Fetch dispute
The merchant will have to call the fetch dispute API with the correct set of parameters.
| Staging host | https://umap.setu.co/api |
|---|---|
| Method | GET |
| Path | /v1/merchants/disputes/{disputeId} |
| Header | merchantIdAuthorization: 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"}
idis 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.
