Uploading existing payments to PayPal with vacation api

I need to download all existing payment information from my PayPal account in order to analyze it, so I set up paypal ruby ​​rest sdk, which included creating a new application with its own API keys and something else. I can make a successful request with the following:

payment_history = Payment.all( :count => 10 )

However

payment_history.payments

It's empty.

I'm not sure if this application can only access payments created with it? Can I get pre-existing payments with the rest of the api? I would prefer to use ruby, if possible, since I would like to save all this in a simple script, I need to analyze similar payments on the strip.

Some recommendations will be highly appreciated, as the paypal labrinth of documentation and overlapping APIs is very perplexing to me.

+2
source share
1 answer

You can only request payments that were created or created using the Rest API, and not for classic APIs. You can use the Classic Ruby SDK for the corresponding product to get transaction information about the classic APIs.

+4
source

All Articles