cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to retrieve transaction data from PayPal

Options
SlotBot
New Community Member
Posted on

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.

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.