curl -v -X GET https://api.sandbox.paypal.com/v1/payments/payment?count=10&start_index=0&sort_by=create_time&sort_order=desc \ -H "Content-Type: application/json" \ -H "Authorization: Bearer Access-Token"copy

Read more of this post