Docs
Checking Raims account
Raims CLIAPI commands

raims accounts

Inspect account details and configure checkout appearance

From command to result

To change the checkout logo, prepare an image within the limits, upload the file, and apply the returned ID. Uploading bytes and applying the image are separate steps.

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. Check the file

    Shell
    raims accounts checkout-settings logo-uploads create --upload-file logo.png --dry-run

    The preview validates the local image. Review its type, size, and dimensions in the displayed body; no image has been uploaded.

  2. Upload the reviewed image

    Shell
    raims --profile sandbox --output json accounts checkout-settings logo-uploads create --upload-file logo.png

    This step prepares the upload and sends its bytes. Keep data.id; upload.bytes confirms the upload. The checkout still keeps its previous image.

  3. Apply the returned ID

    Shell
    raims --profile sandbox --output json accounts checkout-settings update --logo-upload-id UPLOAD_ID

    Replace UPLOAD_ID with data.id from the previous step. Application can return HTTP 202 and remain pending.

  4. Check the checkout

    Shell
    raims --profile sandbox --output json accounts checkout-settings get

    Inspect data.logo to follow the result. For a favicon, use favicon-uploads create and --favicon-upload-id. See scripted uploads.

Choose a command

CommandPurpose
raims accounts account-numberGet the account number
raims accounts checkout-settings favicon-uploads createPrepare a checkout favicon upload
raims accounts checkout-settings getGet checkout appearance settings
raims accounts checkout-settings logo-uploads createPrepare a checkout logo upload
raims accounts checkout-settings updateUpdate checkout appearance settings
raims accounts checkout-settings uploads deleteDiscard a prepared checkout image upload
raims accounts contextGet the authenticated account context
raims accounts feesGet account fees

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 accounts

Inspect account details and configure checkout appearance

Shell
raims accounts [flags]

Execution options

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

See global options.

Subcommands: raims accounts account-number, raims accounts checkout-settings, raims accounts context, raims accounts fees.

raims accounts account-number

Get the account number

Shell
raims accounts account-number [flags]

OAuth environments: Production. Success responses: 200.

Example

Shell
raims --profile PROFILE --output json accounts account-number --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 account-number
  • --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 accounts checkout-settings

Manage checkout appearance settings and prepared image uploads

Shell
raims accounts checkout-settings [flags]

Execution options

  • --help, -h bool default: false
    • help for checkout-settings

See global options.

Subcommands: raims accounts checkout-settings favicon-uploads, raims accounts checkout-settings get, raims accounts checkout-settings logo-uploads, raims accounts checkout-settings update, raims accounts checkout-settings uploads.

raims accounts checkout-settings favicon-uploads

Prepare checkout favicon uploads

Shell
raims accounts checkout-settings favicon-uploads [flags]

Execution options

  • --help, -h bool default: false
    • help for favicon-uploads

See global options.

Subcommands: raims accounts checkout-settings favicon-uploads create.

raims accounts checkout-settings favicon-uploads create

Prepare a checkout favicon upload

Shell
raims accounts checkout-settings favicon-uploads create [flags]

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

Example 1

Shell
raims --profile PROFILE --output json accounts checkout-settings favicon-uploads create --data-file request.json --dry-run

Example 2

Shell
raims accounts checkout-settings favicon-uploads create --content-type="image/png" --file-size=4567 --height=128 --width=128 --dry-run

Example 3

Shell
raims accounts checkout-settings favicon-uploads create --upload-file image.png --dry-run

Body fields

  • --content-type string required in the body sent only when supplied
    • File content type: image/png or image/jpeg.
  • --file-size integer required in the body sent only when supplied
    • File size in bytes.
  • --height integer required in the body sent only when supplied
    • Icon height in pixels. Must equal the width.
  • --width integer required in the body sent only when supplied
    • Icon width in pixels. Must equal the height.

Request headers

  • --idempotency-key string sent only when supplied
    • Reuse this optional idempotency key when retrying the same request

Execution options

  • --data-file string default: empty
    • Read the JSON request body from a UTF-8 file, or '-' for stdin
  • --dry-run bool default: false
    • Validate and preview the request without credentials or network access
  • --help, -h bool default: false
    • help for create
  • --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)
  • --upload-file string default: empty
    • Prepare and upload a local PNG or JPEG; cannot be combined with JSON body options and does not apply the image to checkout

See global options.

raims accounts checkout-settings get

Get checkout appearance settings

Shell
raims accounts checkout-settings get [flags]

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

Example

Shell
raims --profile PROFILE --output json accounts checkout-settings get --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 accounts checkout-settings logo-uploads

Prepare checkout logo uploads

Shell
raims accounts checkout-settings logo-uploads [flags]

Execution options

  • --help, -h bool default: false
    • help for logo-uploads

See global options.

Subcommands: raims accounts checkout-settings logo-uploads create.

raims accounts checkout-settings logo-uploads create

Prepare a checkout logo upload

Shell
raims accounts checkout-settings logo-uploads create [flags]

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

Example 1

Shell
raims --profile PROFILE --output json accounts checkout-settings logo-uploads create --data-file request.json --dry-run

Example 2

Shell
raims accounts checkout-settings logo-uploads create --content-type="image/png" --file-size=12345 --height=128 --width=512 --dry-run

Example 3

Shell
raims accounts checkout-settings logo-uploads create --upload-file image.png --dry-run

Body fields

  • --content-type string required in the body sent only when supplied
    • File content type: image/png or image/jpeg.
  • --file-size integer required in the body sent only when supplied
    • File size in bytes.
  • --height integer required in the body sent only when supplied
    • Image height in pixels.
  • --width integer required in the body sent only when supplied
    • Image width in pixels.

Request headers

  • --idempotency-key string sent only when supplied
    • Reuse this optional idempotency key when retrying the same request

Execution options

  • --data-file string default: empty
    • Read the JSON request body from a UTF-8 file, or '-' for stdin
  • --dry-run bool default: false
    • Validate and preview the request without credentials or network access
  • --help, -h bool default: false
    • help for create
  • --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)
  • --upload-file string default: empty
    • Prepare and upload a local PNG or JPEG; cannot be combined with JSON body options and does not apply the image to checkout

See global options.

raims accounts checkout-settings update

Update checkout appearance settings

Shell
raims accounts checkout-settings update [flags]

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

HTTP 202 means the request is pending. Query the returned resource before repeating a write; the command does not wait for completion.

Example 1

Shell
raims --profile PROFILE --output json accounts checkout-settings update --data-file request.json --dry-run

Example 2

Shell
raims accounts checkout-settings update --favicon-upload-id="cau_1AbXiWSrsCBoaTg47OcMzC" --dry-run

Body fields

  • --favicon-upload-id string accepts null sent only when supplied
    • ID returned when preparing the icon upload. Upload the file before associating it. Omitting it preserves the current image; null removes it.
  • --hex-primary-color string sent only when supplied
    • Checkout primary color in #RRGGBB format. Omitting it preserves the value; null or empty text is not accepted.
  • --hex-secondary-color string sent only when supplied
    • Checkout background color in #RRGGBB format. Omitting it preserves the value; null or empty text is not accepted.
  • --logo-upload-id string accepts null sent only when supplied
    • ID returned when preparing the logo upload. Upload the file before associating it. Omitting it preserves the current image; null removes it.
  • --support-email string accepts null sent only when supplied
    • Support email displayed in the checkout. Omitting it preserves the value; null or empty text removes the contact.

Request headers

  • --idempotency-key string sent only when supplied
    • Reuse this optional idempotency key when retrying the same request

Execution options

  • --body-null stringArray default: []
    • Set a nullable JSON body field to null by its JSON name (repeat for each field; cannot be combined with --data-file)
  • --data-file string default: empty
    • Read the JSON request body from a UTF-8 file, or '-' for stdin
  • --dry-run bool default: false
    • Validate and preview the request without credentials or network access
  • --help, -h bool default: false
    • help for update
  • --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 accounts checkout-settings uploads

Manage prepared checkout image uploads

Shell
raims accounts checkout-settings uploads [flags]

Execution options

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

See global options.

Subcommands: raims accounts checkout-settings uploads delete.

raims accounts checkout-settings uploads delete

Discard a prepared checkout image upload

Shell
raims accounts checkout-settings uploads delete ID [flags]

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

Example

Shell
raims --profile PROFILE --output json accounts checkout-settings uploads delete ID --dry-run

Request headers

  • --idempotency-key string sent only when supplied
    • Reuse this optional idempotency key when retrying the same request

Execution options

  • --dry-run bool default: false
    • Validate and preview the request without credentials or network access
  • --help, -h bool default: false
    • help for delete
  • --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 accounts context

Get the authenticated account context

Shell
raims accounts context [flags]

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

Example

Shell
raims --profile PROFILE --output json accounts context --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 context
  • --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 accounts fees

Get account fees

Shell
raims accounts fees [flags]

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

Example

Shell
raims --profile PROFILE --output json accounts fees --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 fees
  • --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.