anypay-cli
Anypay Enterprise Payments Platform CLI

Usage
$ npm install -g anypay-cli
$ anypay COMMAND
running command...
$ anypay (--version)
anypay-cli/0.3.1 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=ops@anypayx.com
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 plugins
List installed plugins.
USAGE
$ anypay plugins [--core]
FLAGS
--core Show core plugins.
DESCRIPTION
List installed plugins.
EXAMPLES
$ anypay plugins
See code: @oclif/plugin-plugins
anypay plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ anypay plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ anypay plugins add
EXAMPLES
$ anypay plugins:install myplugin
$ anypay plugins:install https://github.com/someuser/someplugin
$ anypay plugins:install someuser/someplugin
anypay plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ anypay plugins:inspect PLUGIN...
ARGUMENTS
PLUGIN [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ anypay plugins:inspect myplugin
anypay plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ anypay plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ anypay plugins add
EXAMPLES
$ anypay plugins:install myplugin
$ anypay plugins:install https://github.com/someuser/someplugin
$ anypay plugins:install someuser/someplugin
anypay plugins:link PLUGIN
Links a plugin into the CLI for development.
USAGE
$ anypay plugins:link PLUGIN
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLES
$ anypay plugins:link myplugin
anypay plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ anypay plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ anypay plugins unlink
$ anypay plugins remove
anypay plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ anypay plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ anypay plugins unlink
$ anypay plugins remove
anypay plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ anypay plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ anypay plugins unlink
$ anypay plugins remove
anypay plugins update
Update installed plugins.
USAGE
$ anypay plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
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