Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 795 Bytes

readme.md

File metadata and controls

47 lines (31 loc) · 795 Bytes

Gocardless Node Yargs Tool

A simple command line tool to make API requests to the GoCardless platform using their Node-JS library.

Installation

Clone the GitHub project using:

git clone https://github.com/simondotws/gocardless-node-tool.git

Run npm install:

npm install

Create a .env file with your GoCardless access token:

GC_ACCESS_TOKEN=yourAccessToken

Run npm start:

npm start

Usage

node app.js --getPayment id="gocardlessPaymentId"
node app.js --help

Contributing

Pull 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.

License

MIT