Docs
Checking Raims account

Command reference

Look up syntax and options for Raims CLI commands.

Look up syntax, arguments, and options for each command. Use raims COMMAND --help to read the help in your terminal.

API commands

raims accounts

Inspect account details and configure checkout appearance

raims

Raims command-line interface

Shell
raims [flags]
  • --color string default: auto
    • Terminal colors: auto, on or off (JSON and completion stay uncolored)
  • --debug bool default: false
    • Write diagnostic JSON events to stderr without credentials or command arguments
  • --environment string default: empty
    • Select sandbox or production for OAuth or an OAuth dry run; API keys determine their own environment
  • --help, -h bool default: false
    • help for raims
  • --map string default: empty
    • List the command tree without executing a command: tree, compact, paths or json
  • --no-input bool default: false
    • Disable interactive prompts (also enforced in CI and without a terminal)
  • --output, -o string default: text
    • Output format: text or json
  • --profile string default: empty
    • Use a profile for this command (overrides RAIMS_PROFILE and the saved default)
  • --version, -v bool default: false
    • version for raims

Command example

Shell
raims --map
  raims charges --map=compact
  raims --map=json

Subcommands: raims accounts, raims auth, raims balances, raims charges, raims completion, raims config, raims customers, raims disputes, raims docs, raims doctor, raims help, raims licenses, raims login, raims logout, raims mcp, raims open, raims payment-links, raims profile, raims refunds, raims simulations, raims statements, raims update, raims version, raims webhook-event-types, raims webhooks, raims withdrawal-destinations, raims withdrawals.

raims auth

Check API authentication for the selected profile

Shell
raims auth [flags]
  • --help, -h bool default: false
    • help for auth

Subcommands: raims auth check, raims auth status.

raims auth check

Validate the selected credential with a read-only account request

Shell
raims auth check [flags]
  • --help, -h bool default: false
    • help for check
  • --show-headers bool default: false
    • Show public response headers without credentials or cookies
  • --timeout duration default: 1m0s
    • Total request timeout, including retries and waits

raims auth status

Inspect local authentication metadata without reading credentials or using the network

Shell
raims auth status [flags]
  • --help, -h bool default: false
    • help for status

raims completion

Generate the autocompletion script for the specified shell

Shell
raims completion [flags]
  • --help, -h bool default: false
    • help for completion

Subcommands: raims completion bash, raims completion fish, raims completion powershell, raims completion setup, raims completion zsh.

raims completion bash

Generate the autocompletion script for bash

Shell
raims completion bash
  • --help, -h bool default: false
    • help for bash
  • --no-descriptions bool default: false
    • disable completion descriptions

raims completion fish

Generate the autocompletion script for fish

Shell
raims completion fish [flags]
  • --help, -h bool default: false
    • help for fish
  • --no-descriptions bool default: false
    • disable completion descriptions

raims completion powershell

Generate the autocompletion script for powershell

Shell
raims completion powershell [flags]
  • --help, -h bool default: false
    • help for powershell
  • --no-descriptions bool default: false
    • disable completion descriptions

raims completion setup

Plan shell completion setup or save a new completion script

Shell
raims completion setup [flags]
  • --dry-run bool default: false
    • Show the completion setup plan without writing a file
  • --help, -h bool default: false
    • help for setup
  • --save string default: empty
    • Save a new completion script to PATH without changing shell profiles
  • --shell string default: auto
    • Shell for completion: auto, powershell, bash, zsh or fish

Command example

Shell
raims completion setup
  raims completion setup --shell powershell --save raims-completion.ps1 --dry-run
  raims completion setup --shell bash --save raims-completion.bash
  raims --output json completion setup --shell zsh

raims completion zsh

Generate the autocompletion script for zsh

Shell
raims completion zsh [flags]
  • --help, -h bool default: false
    • help for zsh
  • --no-descriptions bool default: false
    • disable completion descriptions

raims config

Inspect local CLI configuration

Shell
raims config [flags]
  • --help, -h bool default: false
    • help for config

Subcommands: raims config path.

raims config path

Show the configuration file path without creating it

Shell
raims config path [flags]
  • --help, -h bool default: false
    • help for path

raims docs

Read public Raims documentation in the terminal

Shell
raims docs [PATH] [flags]
  • --help, -h bool default: false
    • help for docs
  • --language string default: br
    • Documentation language: br or en
  • --offline bool default: false
    • Read only an existing documentation cache, including an older copy
  • --refresh bool default: false
    • Download fresh public documentation instead of reading the cache
  • --timeout duration default: 1m0s
    • Documentation request timeout (for example 30s or 2m)

Command example

Shell
raims docs
  raims docs cli/configuration
  raims docs /en/cli --language en
  raims --output json docs cli/automation --offline
  raims docs search webhooks

Subcommands: raims docs search.

Search public Raims documentation

Shell
raims docs search QUERY... [flags]
  • --help, -h bool default: false
    • help for search
  • --limit int default: 10
    • Maximum documentation search results (1-50)

Command example

Shell
raims docs search webhooks
  raims docs search "chaves de API" --offline
  raims --output json docs search checkout --language en --limit 5

raims doctor

Check local configuration, permissions, installation and update policy

Shell
raims doctor [flags]
  • --help, -h bool default: false
    • help for doctor

raims help

Help about any command

Shell
raims help [command] [flags]
  • --help, -h bool default: false
    • help for help

raims licenses

Read the third-party notices included in this executable

Shell
raims licenses [flags]
  • --help, -h bool default: false
    • help for licenses

raims login

Connect a profile through browser sign-in

Shell
raims login [flags]
  • --help, -h bool default: false
    • help for login
  • --no-browser bool default: false
    • Print the sign-in URL instead of launching a browser; keep this terminal open for the local callback

Command example

Shell
raims login --profile personal --environment sandbox
  raims login --profile personal --environment sandbox --no-browser

raims logout

Revoke an OAuth connection and remove its local profile

Shell
raims logout [flags]
  • --help, -h bool default: false
    • help for logout

raims mcp

Configure an AI client for the Raims MCP server

Shell
raims mcp [flags]
  • --help, -h bool default: false
    • help for mcp

Subcommands: raims mcp setup.

raims mcp setup

Show MCP setup instructions or save a new configuration snippet

Shell
raims mcp setup [flags]
  • --client string default: all
    • MCP client: all, codex, claude-code or cursor
  • --dry-run bool default: false
    • Validate and show the setup plan without writing a file
  • --help, -h bool default: false
    • help for setup
  • --save string default: empty
    • Save a new standalone configuration snippet to PATH

Command example

Shell
raims mcp setup
  raims mcp setup --client codex
  raims mcp setup --client cursor --save raims-mcp.json --dry-run
  raims mcp setup --client claude-code
  raims --output json mcp setup --client codex

raims open

Open Raims documentation and Dashboard pages

Shell
raims open [shortcut] [flags]
  • --help, -h bool default: false
    • help for open

Command example

Shell
raims open docs
  raims open api
  raims open webhooks
  raims --no-input --output json open docs

raims profile

Manage local profiles without storing API keys

Shell
raims profile [flags]
  • --help, -h bool default: false
    • help for profile

Subcommands: raims profile list, raims profile remove, raims profile set, raims profile show, raims profile use.

raims profile list

List configured profiles

Shell
raims profile list [flags]
  • --help, -h bool default: false
    • help for list

raims profile remove

Remove a local profile without revoking its API key

Shell
raims profile remove NAME [flags]
  • --help, -h bool default: false
    • help for remove

Command example

Shell
raims profile remove old-project
  raims --output json profile remove old-project

raims profile set

Save a profile using an API key environment variable name

Shell
raims profile set NAME --api-key-env VARIABLE [flags]
  • --api-key-env string required default: empty
    • API key environment variable name (uppercase letters, digits and underscores)
  • --help, -h bool default: false
    • help for set

raims profile show

Show a profile, or the selected profile when no name is given

Shell
raims profile show [name] [flags]
  • --help, -h bool default: false
    • help for show

raims profile use

Select the default local profile

Shell
raims profile use NAME [flags]
  • --help, -h bool default: false
    • help for use

raims update

Inspect automatic updates

Shell
raims update [flags]
  • --help, -h bool default: false
    • help for update

Subcommands: raims update status.

raims update status

Show the automatic update policy and installed versions

Shell
raims update status [flags]
  • --help, -h bool default: false
    • help for status

raims version

Show the CLI version and build information

Shell
raims version [flags]
  • --help, -h bool default: false
    • help for version