anypay-cli
v0.3.3
Published
Anypay Enterprise Payments Platform CLI
Downloads
3
Readme
anypay-cli
Anypay Enterprise Payments Platform CLI
Usage
$ npm install -g anypay-cli
$ anypay COMMAND
running command...
$ anypay (--version)
anypay-cli/0.3.3 darwin-x64 node-v16.13.1
$ anypay --help [COMMAND]
USAGE
$ anypay COMMAND
...
Commands
anypay help [COMMAND]
Display help for anypay.
USAGE
$ anypay help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for anypay.
See code: @oclif/plugin-help
anypay invoice create
Request Payment for a Specific Coin to a Single Address
USAGE
$ anypay invoice create -v <value> [--json] [--log-level debug|info|warn|error] [-a <value>] [-w <value>] [-r
<value>] [-m <value>]
FLAGS
-a, --api=<value> [default: https://api.anypayx.com] API Base URL
-m, --memo=<value> Memo to be displayed in supported wallets
-r, --redirect_url=<value> URL to redirect paying user in the web checkout
-v, --value=<value> (required) Amount to collect in terms of denomination
-w, --webhook_url=<value> URL to send invoice update webhook events
GLOBAL FLAGS
--json Format output as json.
--log-level=(debug|info|warn|error) Specify level for logging.
DESCRIPTION
Request Payment for a Specific Coin to a Single Address
EXAMPLES
$ anypay request simple --chain MATIC --currency USDC --denomination=USD --amount=52.00 --address=0xA77547a3fB82a5Fa4DB408144870B69c70906989
anypay login
Authenticates with an anypay server and save your account access tokens
USAGE
$ anypay login [--json] [--log-level debug|info|warn|error] [-a <value>] [-e <value>] [-p <value>]
FLAGS
-a, --api=<value> [default: https://api.anypayx.com] API Base URL
-e, --email=<value> Existing Anypay Account Email Address
-p, --password=<value> Anypay Account Password
GLOBAL FLAGS
--json Format output as json.
--log-level=(debug|info|warn|error) Specify level for logging.
DESCRIPTION
Authenticates with an anypay server and save your account access tokens
EXAMPLES
$ anypay login [email protected]
See code: dist/commands/login.ts
anypay logout
Removes account access tokens from local config file
USAGE
$ anypay logout [--json] [--log-level debug|info|warn|error] [-a <value>]
FLAGS
-a, --api=<value> [default: https://api.anypayx.com] API Base URL
GLOBAL FLAGS
--json Format output as json.
--log-level=(debug|info|warn|error) Specify level for logging.
DESCRIPTION
Removes account access tokens from local config file
EXAMPLES
$ anypay logout
See code: dist/commands/logout.ts
anypay request simple
Request Payment for a Specific Coin to a Single Address
USAGE
$ anypay request simple -a <value> -c <value> -v <value> -t <value> [--json] [-d <value>] [-w <value>] [-r
<value>] [-m <value>] [-u <value>] [-k <value>]
FLAGS
-a, --asset=<value> (required) BSV, DASH, USDC, etc
-c, --chain=<value> (required) BSV, MATIC, SOL, etc
-d, --denomination=<value> [default: USD] USD, EUR, JPY, CNY, etc
-k, --apikey=<value> Anypay API Key
-m, --memo=<value> Memo to be displayed in supported wallets
-r, --redirect_url=<value> URL to redirect paying user in the web checkout
-t, --to=<value> (required) Address or script to receive payment
-u, --url=<value> URL of Anypay API for Self-Hosting or Development
-v, --value=<value> (required) Amount to collect in terms of denomination
-w, --webhook_url=<value> URL to send invoice update webhook events
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Request Payment for a Specific Coin to a Single Address
EXAMPLES
$ anypay request simple --chain MATIC --currency USDC --denomination=USD --amount=52.00 --address=0xA77547a3fB82a5Fa4DB408144870B69c70906989