Add a note to a dispute

Adding notes to a dispute

You can add a note to a single dispute to provide more detail and information to the dispute you are challenging or accepting

const request = require('request');

const options = {
  method: 'POST',
  url: 'https://prod.emea.api.fiservapps.com/sandbox/exp/v1/disputes/20220602835125/notes',
  headers: {
    accept: 'application/json',
    'content-type': 'application/json',
    'Api-Key': 'Z4tEl9GjbL0IRvMUIfFW5UlJPNF9pcmk'
  },
  body: {tcn: '-1662613832', content: 'Oh what a lovely note!'},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
{
  "id": "37044081281",
  "content": "Oh what a lovely note!",
  "createdBy": "My Application Name",
  "created": "2022-09-21T16:06:41.702Z",
  "updated": "2022-09-21T16:06:41.702Z"
}

Want a quick overview?