Transactions list using reporting API

cxxxv1
Contributor
Contributor

The following is not returning any records. I've used it on other apps and works fine.

 

$post_url = "https://api.paypal.com/v1/reporting/transactions?start_date=".$START."&end_date=".$END."&fields=payer_info&page_size=100&page=1";

 

I can see transactions directly on PP. So I am at a loss. Any ideas.

 

Login to Me Too
2 REPLIES 2

gsm4
Contributor
Contributor

Are you sending a POST request or GET request?

Login to Me Too

Kavyar
Moderator
Moderator

Good day @cxxxv1 

 

Thank you for posting to the PayPal community.

 

I believe that the error you encountered is a result of using an invalid method in the payload of your request.

 

I would suggest you to please use the GET method to perform new "transaction search" API.

 

To assist you further, I kindly request that you refer to the detailed guide provided in the link below:

 

https://developer.paypal.com/docs/api/transaction-search/v1/#search_get

 

If your still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detailed information and error details.

 

Sincerely,

Kavya

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

 

Login to Me Too

Haven't Found your Answer?

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