Dispute details

Fetch dispute

Get more details about a dispute.



    const myHeaders = new Headers();
    myHeaders.append("token", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
    eyJyb2xlaWQiOiI2NDEiLCJ1c2VySWQiOiJmNDdiY2VjNy1iYjJhL
    TRhNmUtYTBhZC04MjJjZTQxZGZkNTMiLCJpYXQiOjE3MDk5MDk2MDEsImV4
    cCI6MTcwOTk5NjAwMX0.VkC6-aK4hNk_vBM8ciqHOhWaNx
    n0MZ_lvqNMp4McdbM");
    
    const formdata = new FormData();
    formdata.append("ticket_no", "0000");
    formdata.append("topic", "Testing Testing");
    formdata.append("message", "lorem lorem lorem");
    formdata.append("dispute_file", fileInput.files[0], "[PROXY]");
    
    const requestOptions = {
      method: "GET",
      headers: myHeaders,
      body: formdata,
      redirect: "follow"
    };
    
    fetch("https://api.switch.tulupay.com/dispute/60133c7a-b2
    75-4021-8add-f14b7ab0983a",
     requestOptions)
      .then((response) => response.text())
      .then((result) => console.log(result))
      .catch((error) => console.error(error));
    

Request details

  • Endpoint:`https://api.switch.tulupay.com/dispute/disputeID`
  • Method:`GET`
  • Headers:
  • Content-Type:`application/json`
  • Authorization:`token`
  • Response details

    A successful response will contain a JSON object with dispute details. Here's a simplified example:

    
        {
            "statusCode": "00",
            "status": "success",
            "message": "Dispute List.",
            "data": {
                "dispute_id": "60133c7a-b275-4021-8add-f14b7ab0983a",
                "dev_id": "f47bcec7-bb2a-4a6e-a0ad-822ce41dfd53",
                "ticket_no": "23456",
                "businessname": null,
                "topic": "i want refund",
                "message": "refund my money now",
                "statuss": "0",
                "support_id": null,
                "created": "2024-03-08T15:01:41.000Z",
                "month": null,
                "img_url": "files/img3-6c6f328f5b71d54e.jpg",
                "dispute_status": "0",
                "dispute_comment": []
            },
            "datetime": "2024-03-08T15:27:08.000Z"
        }
        

    Contact Us for Developer Support

    Contact our dedicated developer support team for assistance, guidance, or any questions you have regarding Tuluswitch API integration. We're here to ensure your development experience is smooth and successful.

    Read Our Developer Blog for Insights

    Master the Tuluswitch API with our Developer Blog! Get expert insights, advanced tips, and industry trends beyond the documentation. Stay connected with the developer community to build exceptional payment platforms. Visit the blog now and unlock your full potential!