Reputation: 4144
I am trying to pull a list of payments from my PayPal account. Here is a screenshot of the payments:
My request returns zero payments. I can confirm that my client id and secret are correct, since I can pull a list of invoices. What is wrong with my request?
Upvotes: 2
Views: 477
Reputation: 1095
The correct request would be:
https://api.paypal.com/v1/payments/payment?count=10&start_index=5&start_time=2016-09-19T18:08:44Z&end_time=2016-10-19T18:08:44Z
I replaced start_date with start_time and end_date with end_time
Upvotes: 2