Error when integrating new API

I am testing in production, I however cannot get a call back due to that invalid JSON error, I have tracked all through code and cannot figure out where the bad json is coming from.

Please see this…

https://nac-issa.org/squareecom2/

I am at the end of my development budget and am running out of ideas.