node-paypal-api
This is a example which of made to test how to recive payment using paypal rest sdk
//configuration , you should use your own keys
paypal.configure({
'mode': 'sandbox', //sandbox or live
'client_id': keys.clientKey, // client key
'client_secret': keys.secretKey // secrect key
});