voidReceipt not working

Hi there,

According to the API documentation we've got the voidReceipt method should receive two params:

apiToken &receiptId 

But it returns an error

Code snippet

  1.    postRequest({
  2.      method: 'posiosApi.voidReceipt',
  3.      params: [
  4.        token,
  5.        receiptId
  6.      ]
  7.    }, function (error, response) {
  8.      if (error) return console.log(error)
  9.      console.log('void receipt response: ', response)
  10.    })

Any ideas? Did the API change in the meantime?

Thanks

3 comments

Sign In or Register to comment.