#Check refund status
PREREQUISITES
🌟 Create refund ↗The merchant will have to call the check refund status API with the correct set of parameters.
Staging host | https://umap.setu.co/api |
---|---|
Method | GET |
Path | /v1/merchants/refunds/{id} |
Header | merchantId Authorization : Bearer <insert_token_here>. Generate this token using OAuth.Content-Type —will be application/json |
#Sample response
{"amount": 10000,"createdAt": "2023-09-04T12:08:20+0530","currency": "INR","id": "01ARZ3NDEKTSV4RRFFQ69G5FAV","merchantReferenceId": "BILL12345","paymentId": "01HKSEWQ509Z56CVQNQ2XHGJZ1","remarks": "Services not rendered","status": "success","type": "online"}
To know more about all the API params, please refer to the API documentation here.