Hi am running paypal sample application it runs perfetct (Version 2.0 paypal sdk) i used my sandbox client id in application after successfulle payment it gives me json output
but i want to confirm that payment am confused how i can confirm it i got some docs where they mention to use REST api of sandbox paypal and chek with it but i dont know how to do it below is the link
my problem is i dont know how to call below api on browser i have access token and payment id
https://api.sandbox.paypal.com/v1/payments/payment/PAYMENT ID\ -H "Content-Type: application/json" \ -H "Authorization: Bearer {accessToken}"
when am trying to run it as it is on browser with my input parameter it shows me
{"name":"INTERNAL_SERVICE_ERROR","message":"An internal service error has occurred","information_link":"https://api.sandbox.paypal.com/docs/api/#INTERNAL_SERVICE_ERROR"}
this message please help me out please