var PayPal require paypal-classic-api var credentials username julepka

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
var PayPal = require('paypal-classic-api');
var credentials = {
username: 'julepka-seller_api1.gmail.com',
password: 'Q6NNSHNZMWHAA4A9',
signature: 'AhvoYqOIPzW4GW8nYIQp-A5Z412KAgc9M0oqrD6mIfDQWfrP6eVaq3JH'
};
var paypal = new PayPal(credentials);
paypal.call('TransactionSearch', { StartDate: '2015-01-28T02:27:44.681Z'}, function(error, transactions) {
return console.log(transactions);
});