A simple command line tool to make API requests to the GoCardless platform using their Node-JS library.
Clone the GitHub project using:
git clone https://github.com/simondotws/gocardless-node-tool.gitRun npm install:
npm installCreate a .env file with your GoCardless access token:
GC_ACCESS_TOKEN=yourAccessTokenRun npm start:
npm startnode app.js --getPayment id="gocardlessPaymentId"node app.js --helpPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.