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.
Global options
CLI commands inherit these options. A command-specific option with the same name keeps the definition shown on that command.
--colorstringdefault: auto- Terminal colors: auto, on or off (JSON and completion stay uncolored)
--debugbooldefault: false- Write diagnostic JSON events to stderr without credentials or command arguments
--environmentstringdefault: empty- Select sandbox or production for OAuth or an OAuth dry run; API keys determine their own environment
--mapstringdefault: empty- List the command tree without executing a command: tree, compact, paths or json
--no-inputbooldefault: false- Disable interactive prompts (also enforced in CI and without a terminal)
--output,-ostringdefault: text- Output format: text or json
--profilestringdefault: empty- Use a profile for this command (overrides RAIMS_PROFILE and the saved default)
API commands
raims accounts
raims balances
raims charges
raims customers
raims disputes
raims payment-links
raims refunds
raims simulations
raims statements
raims webhook-event-types
raims webhooks
raims withdrawal-destinations
raims withdrawals
raims
Raims command-line interface
raims [flags]Example 1
raims --mapExample 2
raims charges --map=compactExample 3
raims --map=jsonExecution options
--help,-hbooldefault: false- help for raims
--version,-vbooldefault: false- version for raims
Use the Raims public API, manage local profiles and inspect the installed version and automatic updates.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
raims auth [flags]Execution options
--help,-hbooldefault: false- help for auth
See global options.
Subcommands: raims auth check, raims auth status.
raims auth check
Validate the selected credential with a read-only account request
raims auth check [flags]Execution options
--help,-hbooldefault: false- help for check
--show-headersbooldefault: false- Show public response headers without credentials or cookies
--timeoutdurationdefault: 1m0s- Total request timeout, including retries and waits
See global options.
Validate the selected profile's API key or OAuth session with GET /v1/accounts/fees at https://api.raims.com. A successful check confirms access to this endpoint; other requests retain their own authorization and eligibility rules.raims auth status
Inspect local authentication metadata without reading credentials or using the network
raims auth status [flags]Execution options
--help,-hbooldefault: false- help for status
See global options.
raims completion
Generate the autocompletion script for the specified shell
raims completion [flags]Execution options
--help,-hbooldefault: false- help for completion
See global options.
Generate the autocompletion script for raims for the specified shell.
See each sub-command's help for details on how to use the generated script.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
raims completion bashExecution options
--help,-hbooldefault: false- help for bash
--no-descriptionsbooldefault: false- disable completion descriptions
See global options.
Generate the autocompletion script for the bash shell.
This script depends on the 'bash-completion' package.
If it is not installed already, you can install it via your OS's package manager.
To load completions in your current shell session:
source <(raims completion bash)
To load completions for every new session, execute once:
#### Linux:
raims completion bash > /etc/bash_completion.d/raims
#### macOS:
raims completion bash > $(brew --prefix)/etc/bash_completion.d/raims
You will need to start a new shell for this setup to take effect.raims completion fish
Generate the autocompletion script for fish
raims completion fish [flags]Execution options
--help,-hbooldefault: false- help for fish
--no-descriptionsbooldefault: false- disable completion descriptions
See global options.
Generate the autocompletion script for the fish shell.
To load completions in your current shell session:
raims completion fish | source
To load completions for every new session, execute once:
raims completion fish > ~/.config/fish/completions/raims.fish
You will need to start a new shell for this setup to take effect.raims completion powershell
Generate the autocompletion script for powershell
raims completion powershell [flags]Execution options
--help,-hbooldefault: false- help for powershell
--no-descriptionsbooldefault: false- disable completion descriptions
See global options.
Generate the autocompletion script for powershell.
To load completions in your current shell session:
raims completion powershell | Out-String | Invoke-Expression
To load completions for every new session, add the output of the above command
to your powershell profile.raims completion setup
Plan shell completion setup or save a new completion script
raims completion setup [flags]Example 1
raims completion setupExample 2
raims completion setup --shell powershell --save raims-completion.ps1 --dry-runExample 3
raims completion setup --shell bash --save raims-completion.bashExample 4
raims --output json completion setup --shell zshExecution options
--dry-runbooldefault: false- Show the completion setup plan without writing a file
--help,-hbooldefault: false- help for setup
--savestringdefault: empty- Save a new completion script to PATH without changing shell profiles
--shellstringdefault: auto- Shell for completion: auto, powershell, bash, zsh or fish
See global options.
Detect a supported shell and show completion setup instructions. Use --shell to select one explicitly. Without --save, no file is written. With --save PATH, write a new script generated from the current command tree; the parent directory must exist and the destination must not exist. The command never edits shell profiles or loads the script. --dry-run shows the plan without writing a file.raims completion zsh
Generate the autocompletion script for zsh
raims completion zsh [flags]Execution options
--help,-hbooldefault: false- help for zsh
--no-descriptionsbooldefault: false- disable completion descriptions
See global options.
Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you will need
to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions in your current shell session:
source <(raims completion zsh)
To load completions for every new session, execute once:
#### Linux:
raims completion zsh > "${fpath[1]}/_raims"
#### macOS:
raims completion zsh > $(brew --prefix)/share/zsh/site-functions/_raims
You will need to start a new shell for this setup to take effect.raims config
Inspect local CLI configuration
raims config [flags]Execution options
--help,-hbooldefault: false- help for config
See global options.
Subcommands: raims config path.
raims config path
Show the configuration file path without creating it
raims config path [flags]Execution options
--help,-hbooldefault: false- help for path
See global options.
raims docs
Read public Raims documentation in the terminal
raims docs [PATH] [flags]Example 1
raims docsExample 2
raims docs cli/configurationExample 3
raims docs /en/cli --language enExample 4
raims --output json docs cli/automation --offlineExample 5
raims docs search webhooksExecution options
--help,-hbooldefault: false- help for docs
--languagestringdefault: br- Documentation language: br or en
--offlinebooldefault: false- Read only an existing documentation cache, including an older copy
--refreshbooldefault: false- Download fresh public documentation instead of reading the cache
--timeoutdurationdefault: 1m0s- Documentation request timeout (for example 30s or 2m)
See global options.
Read a public Raims documentation page without an API key. Use a path such as cli/configuration or /br/cli/configuration. Without a path, read the CLI guide in the selected language. The public source is cached for 24 hours. --offline reads an existing cache, including an older copy, and reports its age. --refresh downloads a new copy and fails if the download is unavailable. Markdown is printed as plain text; commands and links are not executed.Subcommands: raims docs search.
raims docs search
Search public Raims documentation
raims docs search QUERY... [flags]Example 1
raims docs search webhooksExample 2
raims docs search "chaves de API" --offlineExample 3
raims --output json docs search checkout --language en --limit 5Execution options
--help,-hbooldefault: false- help for search
--limitintdefault: 10- Maximum documentation search results (1-50)
See global options.
--languagestringdefault: br- Documentation language: br or en
--offlinebooldefault: false- Read only an existing documentation cache, including an older copy
--refreshbooldefault: false- Download fresh public documentation instead of reading the cache
--timeoutdurationdefault: 1m0s- Documentation request timeout (for example 30s or 2m)
Search public Raims documentation by title, path and content in the selected language. Results include the page URL and a plain text excerpt. Searches ignore case and accents. The search runs locally after reading the public source or its cache; your search terms are not sent to a search service. Use --limit to control how many results are shown.raims doctor
Check local configuration, permissions, installation and update policy
raims doctor [flags]Execution options
--help,-hbooldefault: false- help for doctor
See global options.
raims help
Help about any command
raims help [command] [flags]Execution options
--help,-hbooldefault: false- help for help
See global options.
Help provides help for any command in the application.
Simply type raims help [path to command] for full details.raims licenses
Read the third-party notices included in this executable
raims licenses [flags]Execution options
--help,-hbooldefault: false- help for licenses
See global options.
Read the original third-party license, notice and patent texts included in this version. This local command does not require a profile or network access.raims login
Connect a profile through browser sign-in
raims login [flags]Example 1
raims login --profile personal --environment sandboxExample 2
raims login --profile personal --environment sandbox --no-browserExecution options
--help,-hbooldefault: false- help for login
--no-browserbooldefault: false- Print the sign-in URL instead of launching a browser; keep this terminal open for the local callback
See global options.
Sign in through the Raims browser and authorize the CLI. Choose an environment explicitly. OAuth credentials are encrypted with a key held by the system credential store. Requires an interactive terminal; use API-key profiles in CI. Repeating login verifies and reuses an active authorization, or opens a new consent when it has expired or been revoked. A profile backed by an API key is never overwritten.raims logout
Revoke an OAuth connection and remove its local profile
raims logout [flags]Execution options
--help,-hbooldefault: false- help for logout
See global options.
Revoke the selected OAuth connection, then remove its encrypted credentials and local profile. A failed revocation preserves the local session so you can retry. API-key profiles remain managed by 'profile remove'.raims mcp
Configure an AI client for the Raims MCP server
raims mcp [flags]Execution options
--help,-hbooldefault: false- help for mcp
See global options.
Show connection instructions and safe configuration snippets for the Raims remote MCP server. Your MCP client handles browser sign-in and consent. This group does not read an API profile, load credentials, contact the server or change an installed client's settings.Subcommands: raims mcp setup.
raims mcp setup
Show MCP setup instructions or save a new configuration snippet
raims mcp setup [flags]Example 1
raims mcp setupExample 2
raims mcp setup --client codexExample 3
raims mcp setup --client cursor --save raims-mcp.json --dry-runExample 4
raims mcp setup --client claude-codeExample 5
raims --output json mcp setup --client codexExecution options
--clientstringdefault: all- MCP client: all, codex, claude-code or cursor
--dry-runbooldefault: false- Validate and show the setup plan without writing a file
--help,-hbooldefault: false- help for setup
--savestringdefault: empty- Save a new standalone configuration snippet to PATH
See global options.
Show setup instructions for Codex, Claude Code or Cursor. OAuth uses the Raims browser sign-in and consent flow. Without --save, no file is written. With --save PATH and one --client, save a new standalone snippet; the destination must not exist and its parent directory must already exist. Merge the snippet into your client settings yourself, preserving other servers. The command never runs another client or edits an existing configuration. --dry-run validates the plan without writing a file.raims open
Open Raims documentation and Dashboard pages
raims open [shortcut] [flags]Example 1
raims open docsExample 2
raims open apiExample 3
raims open webhooksExample 4
raims --no-input --output json open docsExecution options
--help,-hbooldefault: false- help for open
See global options.
Open a known Raims page in the default browser. Without a shortcut, list the available destinations. Non-interactive execution prints the URL without opening a browser.raims profile
Manage local profiles without storing API keys
raims profile [flags]Execution options
--help,-hbooldefault: false- help for profile
See global options.
Subcommands: raims profile list, raims profile remove, raims profile set, raims profile show, raims profile use.
raims profile list
List configured profiles
raims profile list [flags]Execution options
--help,-hbooldefault: false- help for list
See global options.
raims profile remove
Remove a local profile without revoking its API key
raims profile remove NAME [flags]Example 1
raims profile remove old-projectExample 2
raims --output json profile remove old-projectExecution options
--help,-hbooldefault: false- help for remove
See global options.
Remove a named profile from local configuration. If it is the saved default, clear that selection without choosing another profile. The key and its environment variable remain unchanged. Repeating the command succeeds when the profile is already absent.raims profile set
Save a profile using an API key environment variable name
raims profile set NAME --api-key-env VARIABLE [flags]Execution options
--api-key-envstringrequired default: empty- API key environment variable name (uppercase letters, digits and underscores)
--help,-hbooldefault: false- help for set
See global options.
raims profile show
Show a profile, or the selected profile when no name is given
raims profile show [name] [flags]Execution options
--help,-hbooldefault: false- help for show
See global options.
raims profile use
Select the default local profile
raims profile use NAME [flags]Execution options
--help,-hbooldefault: false- help for use
See global options.
raims update
Inspect automatic updates
raims update [flags]Execution options
--help,-hbooldefault: false- help for update
See global options.
Subcommands: raims update status.
raims update status
Show the automatic update policy and installed versions
raims update status [flags]Execution options
--help,-hbooldefault: false- help for status
See global options.
raims version
Show the CLI version and build information
raims version [flags]Execution options
--help,-hbooldefault: false- help for version
See global options.