v1/reporting/transactions AUTHENTICATION_FAILURE

1a_salti
Contributor
Contributor

Hello,

i do the following curl request to get previous transactions.

 

exec('curl -v -X GET https://api.sandbox.paypal.com/v1/reporting/transactions?start_date=2020-04-06T00:00:00&end_date=2020-04-06T23:59:59&fields=all&page_size=100&page=1 -H "Content-Type:application/json" -H "Authorization: '.$this->token_type.' '.$this->access_token.'"', $transactions);

 

I always get this message: "Authentication failed due to invalid authentication credentials or a missing Authorization header."

 

For every other payment method the access token works but not here. Can you help me?


Thanks.

 

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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