0.3.3 • Published 1 year ago

anypay-cli v0.3.3

Weekly downloads
2
License
MIT
Repository
github
Last release
1 year ago

anypay-cli

Anypay Enterprise Payments Platform CLI

anypay Version CircleCI Downloads/week License

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=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 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
0.0.1

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.3

1 year ago

1.0.0

2 years ago

0.1.1

9 years ago

0.1.0

9 years ago