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.
Check the file
Shellraims accounts checkout-settings logo-uploads create --upload-file logo.png --dry-runThe preview validates the local image. Review its type, size, and dimensions in the displayed body; no image has been uploaded.
Upload the reviewed image
Shellraims --profile sandbox --output json accounts checkout-settings logo-uploads create --upload-file logo.pngThis step prepares the upload and sends its bytes. Keep
data.id;upload.bytesconfirms the upload. The checkout still keeps its previous image.Apply the returned ID
Shellraims --profile sandbox --output json accounts checkout-settings update --logo-upload-id UPLOAD_IDReplace
UPLOAD_IDwithdata.idfrom the previous step. Application can return HTTP 202 and remain pending.Check the checkout
Shellraims --profile sandbox --output json accounts checkout-settings getInspect
data.logoto follow the result. For a favicon, usefavicon-uploads createand--favicon-upload-id. See scripted uploads.
Choose a command
| Command | Purpose |
|---|---|
raims accounts account-number | Get the account number |
raims accounts checkout-settings favicon-uploads create | Prepare a checkout favicon upload |
raims accounts checkout-settings get | Get checkout appearance settings |
raims accounts checkout-settings logo-uploads create | Prepare a checkout logo upload |
raims accounts checkout-settings update | Update checkout appearance settings |
raims accounts checkout-settings uploads delete | Discard a prepared checkout image upload |
raims accounts context | Get the authenticated account context |
raims accounts fees | Get 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
raims accounts [flags]Execution options
--help,-hbooldefault: 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
raims accounts account-number [flags]OAuth environments: Production. Success responses: 200.
Example
raims --profile PROFILE --output json accounts account-number --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Company branch and account number
{
"agency": "0001",
"account": "12345678"
}Execution options
--dry-runbooldefault: false- Validate and preview the request without credentials or network access
--help,-hbooldefault: false- help for account-number
--show-headersbooldefault: false- Show public response headers without credentials or cookies
--timeoutdurationdefault: 1m0s- Total request timeout, including retries (for example 30s or 2m)
See global options.
Get the account number.
GET /v1/accounts/account_number
Uses https://api.raims.com and the credential referenced by the selected profile. The API validates the credential's company, environment and permissions. API keys determine their own environment; --environment is available only with OAuth.
Use --dry-run to validate and preview the request without reading a profile, loading credentials or contacting the API. Add --environment to preview an OAuth request; without it, the preview uses API-key authentication and has no environment header.
OAuth environments accepted by this operation: Production.raims accounts checkout-settings
Manage checkout appearance settings and prepared image uploads
raims accounts checkout-settings [flags]Execution options
--help,-hbooldefault: 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
raims accounts checkout-settings favicon-uploads [flags]Execution options
--help,-hbooldefault: 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
raims accounts checkout-settings favicon-uploads create [flags]OAuth environments: Sandbox, Production. Success responses: 201.
Example 1
raims --profile PROFILE --output json accounts checkout-settings favicon-uploads create --data-file request.json --dry-runExample 2
raims accounts checkout-settings favicon-uploads create --content-type="image/png" --file-size=4567 --height=128 --width=128 --dry-runExample 3
raims accounts checkout-settings favicon-uploads create --upload-file image.png --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Temporary URL and upload conditions
{
"id": "cau_1AbXiWSrsCBoaTg47OcMzC",
"upload_url": "https://uploads.example.com/checkout/favicon?signature=example",
"method": "PUT",
"content_type": "image/png",
"file_size": 4567,
"expires_at": 1792186200
}Body fields
--content-typestringrequired in the body sent only when supplied- File content type: image/png or image/jpeg.
--file-sizeintegerrequired in the body sent only when supplied- File size in bytes.
--heightintegerrequired in the body sent only when supplied- Icon height in pixels. Must equal the width.
--widthintegerrequired in the body sent only when supplied- Icon width in pixels. Must equal the height.
Request headers
--idempotency-keystringsent only when supplied- Reuse this optional idempotency key when retrying the same request
Execution options
--data-filestringdefault: empty- Read the JSON request body from a UTF-8 file, or '-' for stdin
--dry-runbooldefault: false- Validate and preview the request without credentials or network access
--help,-hbooldefault: false- help for create
--show-headersbooldefault: false- Show public response headers without credentials or cookies
--timeoutdurationdefault: 1m0s- Total request timeout, including retries (for example 30s or 2m)
--upload-filestringdefault: 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.
Prepare a checkout favicon upload.
POST /v1/accounts/checkout_settings/favicon_uploads
Uses https://api.raims.com and the credential referenced by the selected profile. The API validates the credential's company, environment and permissions. API keys determine their own environment; --environment is available only with OAuth.
Use --dry-run to validate and preview the request without reading a profile, loading credentials or contacting the API. Add --environment to preview an OAuth request; without it, the preview uses API-key authentication and has no environment header.
OAuth environments accepted by this operation: Sandbox, Production.
Read the JSON request body with --data-file PATH, or --data-file - for standard input. You can also provide the body options listed below. Repeat array options for each item. Do not combine file input with body options. Only supplied fields are sent. When listed, --body-null FIELD sends an explicit null for a nullable field. Array size and uniqueness follow the endpoint contract. Objects without dedicated body options and arrays of objects use file input.
JSON body fields:
content_type string required; allowed: "image/png", "image/jpeg"
file_size integer required
height integer required
width integer required
Nested requirements apply when the parent object is present, or for each supplied array item. Omit an optional field to leave it unspecified; null is accepted only for nullable fields.
JSON body example (save as request.json):
{
"content_type": "image/png",
"file_size": 4567,
"width": 128,
"height": 128
}
Example values are illustrative. Replace resource IDs and review the request before sending it.
Without --upload-file, this operation prepares an upload using JSON metadata and returns the API's upload instructions. Use --upload-file PATH to read a PNG or JPEG, prepare its metadata and upload its bytes. Do not combine it with --data-file or body options. With --dry-run, the file is validated locally and only the metadata request is previewed. Uploading does not apply the image: update checkout settings with the returned upload ID in a separate request.
With --upload-file, image metadata is read from the same bytes that are uploaded. The file must be PNG or JPEG, up to 524288 bytes, with width 128..512 pixels and height 128..512 pixels. The favicon must be square. --dry-run validates the local file and previews only the preparation request; it does not upload bytes. Apply the returned upload ID separately to change the checkout image.raims accounts checkout-settings get
Get checkout appearance settings
raims accounts checkout-settings get [flags]OAuth environments: Sandbox, Production. Success responses: 200.
Example
raims --profile PROFILE --output json accounts checkout-settings get --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Colors and support contact configured
{
"support_email": "suporte@example.com",
"hex_primary_color": "#FF6D00",
"hex_secondary_color": "#FFFFFF",
"payment_method_types": [
1,
2
],
"logo": {
"url": null,
"status": "absent",
"error_code": null
},
"favicon": {
"url": null,
"status": "absent",
"error_code": null
}
}Execution options
--dry-runbooldefault: false- Validate and preview the request without credentials or network access
--help,-hbooldefault: false- help for get
--show-headersbooldefault: false- Show public response headers without credentials or cookies
--timeoutdurationdefault: 1m0s- Total request timeout, including retries (for example 30s or 2m)
See global options.
Get checkout appearance settings.
GET /v1/accounts/checkout_settings
Uses https://api.raims.com and the credential referenced by the selected profile. The API validates the credential's company, environment and permissions. API keys determine their own environment; --environment is available only with OAuth.
Use --dry-run to validate and preview the request without reading a profile, loading credentials or contacting the API. Add --environment to preview an OAuth request; without it, the preview uses API-key authentication and has no environment header.
OAuth environments accepted by this operation: Sandbox, Production.raims accounts checkout-settings logo-uploads
Prepare checkout logo uploads
raims accounts checkout-settings logo-uploads [flags]Execution options
--help,-hbooldefault: 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
raims accounts checkout-settings logo-uploads create [flags]OAuth environments: Sandbox, Production. Success responses: 201.
Example 1
raims --profile PROFILE --output json accounts checkout-settings logo-uploads create --data-file request.json --dry-runExample 2
raims accounts checkout-settings logo-uploads create --content-type="image/png" --file-size=12345 --height=128 --width=512 --dry-runExample 3
raims accounts checkout-settings logo-uploads create --upload-file image.png --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Temporary URL and upload conditions
{
"id": "cau_3AbHiWSrsZBoaTg47OcMzC",
"upload_url": "https://uploads.example.com/checkout/logo?signature=example",
"method": "PUT",
"content_type": "image/png",
"file_size": 12345,
"expires_at": 1792186200
}Body fields
--content-typestringrequired in the body sent only when supplied- File content type: image/png or image/jpeg.
--file-sizeintegerrequired in the body sent only when supplied- File size in bytes.
--heightintegerrequired in the body sent only when supplied- Image height in pixels.
--widthintegerrequired in the body sent only when supplied- Image width in pixels.
Request headers
--idempotency-keystringsent only when supplied- Reuse this optional idempotency key when retrying the same request
Execution options
--data-filestringdefault: empty- Read the JSON request body from a UTF-8 file, or '-' for stdin
--dry-runbooldefault: false- Validate and preview the request without credentials or network access
--help,-hbooldefault: false- help for create
--show-headersbooldefault: false- Show public response headers without credentials or cookies
--timeoutdurationdefault: 1m0s- Total request timeout, including retries (for example 30s or 2m)
--upload-filestringdefault: 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.
Prepare a checkout logo upload.
POST /v1/accounts/checkout_settings/logo_uploads
Uses https://api.raims.com and the credential referenced by the selected profile. The API validates the credential's company, environment and permissions. API keys determine their own environment; --environment is available only with OAuth.
Use --dry-run to validate and preview the request without reading a profile, loading credentials or contacting the API. Add --environment to preview an OAuth request; without it, the preview uses API-key authentication and has no environment header.
OAuth environments accepted by this operation: Sandbox, Production.
Read the JSON request body with --data-file PATH, or --data-file - for standard input. You can also provide the body options listed below. Repeat array options for each item. Do not combine file input with body options. Only supplied fields are sent. When listed, --body-null FIELD sends an explicit null for a nullable field. Array size and uniqueness follow the endpoint contract. Objects without dedicated body options and arrays of objects use file input.
JSON body fields:
content_type string required; allowed: "image/png", "image/jpeg"
file_size integer required
height integer required
width integer required
Nested requirements apply when the parent object is present, or for each supplied array item. Omit an optional field to leave it unspecified; null is accepted only for nullable fields.
JSON body example (save as request.json):
{
"content_type": "image/png",
"file_size": 12345,
"width": 512,
"height": 128
}
Example values are illustrative. Replace resource IDs and review the request before sending it.
Without --upload-file, this operation prepares an upload using JSON metadata and returns the API's upload instructions. Use --upload-file PATH to read a PNG or JPEG, prepare its metadata and upload its bytes. Do not combine it with --data-file or body options. With --dry-run, the file is validated locally and only the metadata request is previewed. Uploading does not apply the image: update checkout settings with the returned upload ID in a separate request.
With --upload-file, image metadata is read from the same bytes that are uploaded. The file must be PNG or JPEG, up to 524288 bytes, with width 128..2048 pixels and height 128..2048 pixels. --dry-run validates the local file and previews only the preparation request; it does not upload bytes. Apply the returned upload ID separately to change the checkout image.raims accounts checkout-settings update
Update checkout appearance settings
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
raims --profile PROFILE --output json accounts checkout-settings update --data-file request.json --dry-runExample 2
raims accounts checkout-settings update --favicon-upload-id="cau_1AbXiWSrsCBoaTg47OcMzC" --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Uploaded logo processing
{
"support_email": "suporte@example.com",
"hex_primary_color": "#FF6D00",
"hex_secondary_color": "#FFFFFF",
"payment_method_types": [
1,
2
],
"logo": {
"url": "https://images.example.com/checkout/previous-logo.png",
"status": "pending",
"error_code": null
},
"favicon": {
"url": null,
"status": "absent",
"error_code": null
}
}Body fields
--favicon-upload-idstringaccepts 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-colorstringsent only when supplied- Checkout primary color in #RRGGBB format. Omitting it preserves the value; null or empty text is not accepted.
--hex-secondary-colorstringsent only when supplied- Checkout background color in #RRGGBB format. Omitting it preserves the value; null or empty text is not accepted.
--logo-upload-idstringaccepts 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-emailstringaccepts 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-keystringsent only when supplied- Reuse this optional idempotency key when retrying the same request
Execution options
--body-nullstringArraydefault: []- Set a nullable JSON body field to null by its JSON name (repeat for each field; cannot be combined with --data-file)
--data-filestringdefault: empty- Read the JSON request body from a UTF-8 file, or '-' for stdin
--dry-runbooldefault: false- Validate and preview the request without credentials or network access
--help,-hbooldefault: false- help for update
--show-headersbooldefault: false- Show public response headers without credentials or cookies
--timeoutdurationdefault: 1m0s- Total request timeout, including retries (for example 30s or 2m)
See global options.
Update checkout appearance settings.
PATCH /v1/accounts/checkout_settings
Uses https://api.raims.com and the credential referenced by the selected profile. The API validates the credential's company, environment and permissions. API keys determine their own environment; --environment is available only with OAuth.
Use --dry-run to validate and preview the request without reading a profile, loading credentials or contacting the API. Add --environment to preview an OAuth request; without it, the preview uses API-key authentication and has no environment header.
OAuth environments accepted by this operation: Sandbox, Production.
Read the JSON request body with --data-file PATH, or --data-file - for standard input. You can also provide the body options listed below. Repeat array options for each item. Do not combine file input with body options. Only supplied fields are sent. When listed, --body-null FIELD sends an explicit null for a nullable field. Array size and uniqueness follow the endpoint contract. Objects without dedicated body options and arrays of objects use file input.
JSON body fields:
favicon_upload_id string optional, nullable
hex_primary_color string optional
hex_secondary_color string optional
logo_upload_id string optional, nullable
support_email string optional, nullable
Nested requirements apply when the parent object is present, or for each supplied array item. Omit an optional field to leave it unspecified; null is accepted only for nullable fields.
JSON body example (save as request.json):
{
"logo_upload_id": "cau_3AbHiWSrsZBoaTg47OcMzC",
"favicon_upload_id": "cau_1AbXiWSrsCBoaTg47OcMzC"
}
Example values are illustrative. Replace resource IDs and review the request before sending it.
HTTP 202 means the request is pending. Inspect the returned resource before repeating an operation; this command does not wait for completion.raims accounts checkout-settings uploads
Manage prepared checkout image uploads
raims accounts checkout-settings uploads [flags]Execution options
--help,-hbooldefault: 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
raims accounts checkout-settings uploads delete ID [flags]OAuth environments: Sandbox, Production. Success responses: 200.
Example
raims --profile PROFILE --output json accounts checkout-settings uploads delete ID --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Upload discarded
{
"id": "cau_3AbHiWSrsZBoaTg47OcMzC",
"deleted": true
}Request headers
--idempotency-keystringsent only when supplied- Reuse this optional idempotency key when retrying the same request
Execution options
--dry-runbooldefault: false- Validate and preview the request without credentials or network access
--help,-hbooldefault: false- help for delete
--show-headersbooldefault: false- Show public response headers without credentials or cookies
--timeoutdurationdefault: 1m0s- Total request timeout, including retries (for example 30s or 2m)
See global options.
Discard a prepared checkout image upload.
DELETE /v1/accounts/checkout_settings/uploads/{id}
Uses https://api.raims.com and the credential referenced by the selected profile. The API validates the credential's company, environment and permissions. API keys determine their own environment; --environment is available only with OAuth.
Use --dry-run to validate and preview the request without reading a profile, loading credentials or contacting the API. Add --environment to preview an OAuth request; without it, the preview uses API-key authentication and has no environment header.
OAuth environments accepted by this operation: Sandbox, Production.raims accounts context
Get the authenticated account context
raims accounts context [flags]OAuth environments: Sandbox, Production. Success responses: 200.
Example
raims --profile PROFILE --output json accounts context --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Retrieve account context
{
"company_id": "co_3AbHiWSrsZBoaTg47OcMzC",
"company_name": "Loja Exemplo Ltda.",
"company_status": "active",
"data_environment": "sandbox",
"checked_at": 1793289600,
"access_revision": "1111111111111111111111111111111111111111111111111111111111111111"
}Execution options
--dry-runbooldefault: false- Validate and preview the request without credentials or network access
--help,-hbooldefault: false- help for context
--show-headersbooldefault: false- Show public response headers without credentials or cookies
--timeoutdurationdefault: 1m0s- Total request timeout, including retries (for example 30s or 2m)
See global options.
Get the authenticated account context.
GET /v1/accounts/context
Uses https://api.raims.com and the credential referenced by the selected profile. The API validates the credential's company, environment and permissions. API keys determine their own environment; --environment is available only with OAuth.
Use --dry-run to validate and preview the request without reading a profile, loading credentials or contacting the API. Add --environment to preview an OAuth request; without it, the preview uses API-key authentication and has no environment header.
OAuth environments accepted by this operation: Sandbox, Production.raims accounts fees
Get account fees
raims accounts fees [flags]OAuth environments: Sandbox, Production. Success responses: 200.
Example
raims --profile PROFILE --output json accounts fees --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Percentage-based Pix fee and fixed boleto fee
{
"pix": {
"percentage_rate": 0.8,
"fixed_fee_cents": null,
"minimum_fee_cents": 50,
"maximum_fee_cents": 500
},
"boleto": {
"percentage_rate": null,
"fixed_fee_cents": 85,
"minimum_fee_cents": null,
"maximum_fee_cents": null
}
}Execution options
--dry-runbooldefault: false- Validate and preview the request without credentials or network access
--help,-hbooldefault: false- help for fees
--show-headersbooldefault: false- Show public response headers without credentials or cookies
--timeoutdurationdefault: 1m0s- Total request timeout, including retries (for example 30s or 2m)
See global options.
Get account fees.
GET /v1/accounts/fees
Uses https://api.raims.com and the credential referenced by the selected profile. The API validates the credential's company, environment and permissions. API keys determine their own environment; --environment is available only with OAuth.
Use --dry-run to validate and preview the request without reading a profile, loading credentials or contacting the API. Add --environment to preview an OAuth request; without it, the preview uses API-key authentication and has no environment header.
OAuth environments accepted by this operation: Sandbox, Production.