How to get the PayPal access-token needed to leverage the REST Api by using node?
You could use PayPal-Node-SDK to make calls to PayPal Rest APIs. It handles all the authorization and authentication for you.