The APP ID : APP-80W284485P519543T is the default APP ID for the Sandbox. But, you are making calls to live PayPAl. The Endpoint should be something like : https://svcs.sandbox.paypal.com/AdaptivePayments/Pay Also, check the if you have passed any space in your APPID.
Client ID is used for making REST API calls.