Docs
Checking Raims account
Raims CLIAPI commands

raims statements

Inspect account statement entries

From command to result

Find entries for a resource and retrieve one using its returned ID. Codes and units follow the public statement reference.

Configure the profile and credential before running real reads. With an API key, the key determines the company and environment. --environment selects an environment only for OAuth.

  1. Filter by resource

    Shell
    raims --profile sandbox --output json statements list --reference-id REFERENCE_ID --page-size 20

    Use the desired reference identifier. Read data.list and data.page; the cursor belongs to this query and its filters.

  2. Read an entry

    Shell
    raims --profile sandbox --output json statements get STATEMENT_ID

    Review reference_id, statement_type, and amount_cents in the entry. To save all pages while handling failures, follow scripted pagination.

Choose a command

CommandPurpose
raims statements getGet an account statement entry
raims statements listList account statement entries

The previews below use --dry-run and do not send the request. Replace placeholders and review the result before sending a write.

Body fields, filters, and headers are sent only when supplied. Execution option defaults do not fill API fields.

raims statements

Inspect account statement entries

Shell
raims statements [flags]

Execution options

  • --help, -h bool default: false
    • help for statements

See global options.

Subcommands: raims statements get, raims statements list.

raims statements get

Get an account statement entry

Shell
raims statements get ID [flags]

OAuth environments: Sandbox, Production. Success responses: 200.

Example

Shell
raims --profile PROFILE --output json statements get ID --dry-run

Execution options

  • --dry-run bool default: false
    • Validate and preview the request without credentials or network access
  • --help, -h bool default: false
    • help for get
  • --show-headers bool default: false
    • Show public response headers without credentials or cookies
  • --timeout duration default: 1m0s
    • Total request timeout, including retries (for example 30s or 2m)

See global options.

raims statements list

List account statement entries

Shell
raims statements list [flags]

OAuth environments: Sandbox, Production. Success responses: 200.

Example

Shell
raims --profile PROFILE --output json statements list --dry-run

Query filters

  • --after string sent only when supplied
    • Read after this opaque cursor (cannot be combined with --before)
  • --before string sent only when supplied
    • Read before this opaque cursor (cannot be combined with --after)
  • --created-gte int64 sent only when supplied
    • Created at or after this Unix timestamp (seconds)
  • --created-lte int64 sent only when supplied
    • Created at or before this Unix timestamp (seconds)
  • --page-size int64 sent only when supplied
    • Results per page (the API normalizes the requested size)
  • --reference-id string sent only when supplied
    • Filter by the referenced resource ID
  • --sort-order string sent only when supplied
    • Sort direction: asc or desc
  • --statement-type string sent only when supplied
    • Filter by comma-separated statement type codes

Execution options

  • --all bool default: false
    • Read all pages as separate results (JSON Lines with --output json)
  • --dry-run bool default: false
    • Validate and preview the request without credentials or network access
  • --help, -h bool default: false
    • help for list
  • --max-pages int default: 100
    • Maximum pages to read with --all (1-10000)
  • --show-headers bool default: false
    • Show public response headers without credentials or cookies
  • --timeout duration default: 1m0s
    • Total request timeout, including retries (for example 30s or 2m)

See global options.