PayFunc command line interface for tokenizing.
npm install @payfunc/cli-card
npm install -g @payfunc/cli-card
`Usage
Assuming that the payfunc-card command is installed in your path as done above.
Version
To learn which version you have installed use:
`
payfunc-card version
`
Help
$3
To get an index of all help commands:
`
payfunc-card help
`
$3
Help for a specific module can be gotten by:
`
payfunc-card help
`
$3
`
payfunc-card help
`
Server
$3
#### Adding a Server
`
payfunc-card server add
`
#### With Admin User and Password
`
payfunc-card server add
`
#### Storage
Added servers are stored in the ~/.payfunc-card directory in cleartext.$3
`
payfunc-card server list
`
$3
To use a particular server use the --server flag:
`
payfunc-card --server <...arguments>
`
$3
The server with the name default is used by default when no --server flag is used.$3
The server name env is reserved and when used the following enviroment variables are used for server credentials:
- privateKey
- publicKey
- adminUser
- adminPassword$3
To override the URL used to connect to the server use the --url flag:
`
payfunc-card --url <...arguments>
`Authorization
$3
To create an authorization use:
`
payfunc-card authorization create
`
Test
$3
To run all tests invoce:
`
payfunc-card test
`
$3
A test that runs a standard authorization
`
payfunc-card test standard
`
$3
`
payfunc-card test cancel
``