RevKeen CLI

Install the RevKeen CLI, sign in, and make your first staging request, forward a test webhook, or check a Cart integration.

Use RevKeen from your terminal to look up resources, script API requests, forward webhooks to a local server, and check a Cart integration. For application code, use an SDK; for an AI assistant, use MCP.

The current release is v0.3.0 (30 September 2026). Browser and device sign-in, listen, trigger, webhooks, cart, doctor, terminal and dashboard first shipped in v0.2 (27 September 2026). The npm package, Homebrew formula, shell installer and GitHub release all publish the same version.

Install

npm install -g @revkeen/cli-binary

Download release assets and checksums. The shell installer and Homebrew support macOS and Linux; the release also publishes .deb and .rpm packages. The npm wrapper requires Node.js 16 or newer; use a maintained Node.js release.

Check the installed version and the commands it provides:

revkeen --version
revkeen --help

To pin a version, for example in CI, install @revkeen/cli-binary@<version> or download that release's assets.

Quickstart

Choose staging

revkeen config set environment staging

This sets the API origin to https://staging-api.revkeen.com. Use staging, with a staging merchant, until your integration is ready.

Sign in

revkeen login
revkeen auth status

revkeen login opens your browser to sign in and approve access. On a remote or headless machine, use revkeen login --device. To use a secret API key instead, run revkeen login --api-key and paste an rk_sandbox_* key at the prompt. See authentication for what each method can access.

List customers

revkeen customers list
revkeen api GET '/v2/customers?limit=10' --agent

An empty list is a valid result for a merchant with no customers. A 401 means you are not signed in or the credential is invalid; a 403 means the credential lacks the access the command needs.

Forward a test webhook

listen and trigger need webhook access, which browser sign-in does not grant. Sign in with a staging secret API key first (revkeen login --api-key, or set REVKEEN_API_KEY). Start your receiver on port 4242, then:

revkeen listen --forward-to http://127.0.0.1:4242/webhooks

In a second terminal:

revkeen trigger invoice.paid

trigger sends a test fixture to your running listen session only. It creates no invoice and moves no money. See test webhooks locally.

Update and troubleshoot

Check release notes before upgrading.

npm install -g @revkeen/cli-binary@latest
# Homebrew installations:
brew upgrade revkeen

If revkeen is not found, check PATH and open a new terminal. If a command is unknown, compare revkeen --version with the release notes: an older binary does not have newer commands. Run revkeen <command> --help for the exact flags of your installed version.

Resource command catalogue

Each API resource has a command group. The table below is generated from the API contract that the CLI embeds; run revkeen <resource> --help for the actions and flags in your installed version.

Generated from the API contract — 29 resource groups, 135 commands. Run revkeen <resource> --help for the exact actions and flags for your installed version.

GroupActions
billingoverview-get
cart-sessionscreate, get, add-line-item, update-line-item, remove-line-item, toggle-add-on, apply-discount-code, set-contact, convert
checkout-sessionscreate, get, expire
credit-noteslist, create, get, void, list-lines, preview
customer-meterslist, get
customer-portalsessions-create, customer-get, subscriptions-list, subscriptions-get, subscriptions-cancel, invoices-list, invoices-get, mandates-list, mandates-reauthorize, mandates-cancel, mandates-reauthorize-send-otp, mandates-reauthorize-verify-otp
customerscustomer-state-get, create, list, get, update, payment-methods-list
ddmandate-requests-get, validate, preview
entitlementslist, check
eventslist, get, resend
integrationsaccounting-invoice-payment-requests-create, accounting-invoice-payment-requests-get
invoice-line-itemslist-usage-events
invoicesinvoice-usage-explain, list, create, get, update, get-pdf, finalize, void, send, pay
mandateslist, get, cancel, suspend, reinstate, schedule-collection
meterslist, create, quantities, get, update
payment-intentscreate, list, get, confirm, capture, cancel
payment-linkscreate, list, get, expire, update, deactivate, activate, archive
payment-methodsdetach, set-default
priceslist, create, get, update, archive
product-collectionslist, create, get, update, delete
productslist, create, get, update
refundslist, create, get
storefrontproducts-list, products-get, origins-list, origins-create, origins-delete, status-get
subscriptionscreate, list, get, update, change-plan, preview-change-plan, pause, resume, cancel
transactionslist, get
usagebalance-get
usage-eventsingest, list, get
webhook-deliverieslist, get, retry
webhook-endpointslist, create, get, update, delete, rotate-secret, redeliver

Next steps

Owner: david · Reviewed 30 Sep 2026 · Next review 30 Oct 2026

On this page