New to the community? Welcome! Please read our Community Rules and Guidelines
If you want to report illegal content under the EU Digital Services Act, please do so here
I have spent several hours trying to figure out the PayPal API, but I still cannot get it to work. Here is the request I've been sending, minus the access token (I would like to retrieve data from the transaction 62G75922M9548980S)
curl -v -X GET https://api.paypal.com/v2/payments/authorizations/62G75922M9548980S \
-H "Content-Type: application/json" \
-H "Authorization: Bearer [REDACTED]"
and the response from PayPal:
{"name":"RESOURCE_NOT_FOUND","message":"The specified resource does not exist.","debug_id":"2eb29f5694219","details":[{"issue":"INVALID_RESOURCE_ID","description":"Specified resource ID does not exist. Please check the resource ID and try again."}],"links":[{"href":"https://developer.paypal.com/docs/api/payments/v2/#error-INVALID_RESOURCE_ID","rel":"informat(base)
What does this mean? I've tried checking the URL in the error response, but it doesn't help at all. I've also triple-checked that my request contains all the required information, in the correct format, and yet PayPal still refuses to process my request.