raims withdrawals
Inspect and request withdrawals
From command to result
A withdrawal request moves Production funds. Check the balance, limits, and destination before sending; an accepted response does not confirm credit at the destination.
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 conditions
Shellraims --profile production --output json withdrawals limitsRead minimum amounts, fees, availability, and destination configuration. Use
withdrawal-destinationsto review the default.Review the request
Shellraims withdrawals create --amount-cents 25000 --expected-destination-id DESTINATION_ID --dry-runAmount and ID are illustrative. The preview neither reserves nor transfers funds. To send, use the Production credential and a stable idempotency key after review.
Follow the returned ID
Shellraims --profile production --output json withdrawals get WITHDRAWAL_IDAfter requesting, keep
data.idand read its status. HTTP 202 remains pending; an unknown result requires follow-up before another request.Inspect the schedule separately
Shellraims --profile production --output json withdrawals automatic-settings getTo edit automatic withdrawals, read the settings, prepare
automatic-settings update --time 10:00 --dry-run, and read again after the real request.
Choose a command
| Command | Purpose |
|---|---|
raims withdrawals automatic-settings get | Get automatic withdrawal settings |
raims withdrawals automatic-settings update | Update automatic withdrawal settings |
raims withdrawals create | Request a withdrawal to the company's default Pix key |
raims withdrawals get | Get a withdrawal |
raims withdrawals limits | Get withdrawal conditions and limits |
raims withdrawals list | List withdrawals |
raims withdrawals summary | Get a summary of withdrawals in progress |
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 withdrawals
Inspect and request withdrawals
raims withdrawals [flags]Execution options
--help,-hbooldefault: false- help for withdrawals
See global options.
Subcommands: raims withdrawals automatic-settings, raims withdrawals create, raims withdrawals get, raims withdrawals limits, raims withdrawals list, raims withdrawals summary.
raims withdrawals automatic-settings
Manage automatic withdrawal settings
raims withdrawals automatic-settings [flags]Execution options
--help,-hbooldefault: false- help for automatic-settings
See global options.
Subcommands: raims withdrawals automatic-settings get, raims withdrawals automatic-settings update.
raims withdrawals automatic-settings get
Get automatic withdrawal settings
raims withdrawals automatic-settings get [flags]OAuth environments: Production. Success responses: 200.
Example
raims --profile PROFILE --output json withdrawals automatic-settings get --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Automatic withdrawals enabled
{
"enabled": true,
"minimum_amount_cents": 50000,
"time": "18:30",
"next_execution_at": 1792186200
}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 automatic withdrawal settings.
GET /v1/withdrawals/automatic_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: Production.raims withdrawals automatic-settings update
Update automatic withdrawal settings
raims withdrawals automatic-settings update [flags]OAuth environments: Production. Success responses: 200.
Example 1
raims --profile PROFILE --output json withdrawals automatic-settings update --data-file request.json --dry-runExample 2
raims withdrawals automatic-settings update --time="10:00" --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Automatic withdrawals enabled
{
"enabled": true,
"minimum_amount_cents": 50000,
"time": "18:30",
"next_execution_at": 1792186200
}Body fields
--enabledboolsent only when supplied- Enables or disables new withdrawal attempts. Disabling does not cancel withdrawals already requested.
--minimum-amount-centsintegersent only when supplied- Minimum balance for attempting a withdrawal, in Brazilian real cents. The withdrawn amount depends on the available balance and remaining Pix limit.
--timestringsent only when supplied- Daily time in HH:mm format, in the São Paulo time zone.
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 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 automatic withdrawal settings.
PATCH /v1/withdrawals/automatic_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: 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:
enabled boolean optional
minimum_amount_cents integer optional
time string optional
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):
{
"time": "10:00"
}
Example values are illustrative. Replace resource IDs and review the request before sending it.raims withdrawals create
Request a withdrawal to the company's default Pix key
raims withdrawals create [flags]OAuth environments: 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 withdrawals create --data-file request.json --dry-runExample 2
raims withdrawals create --amount-cents=25000 --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Withdrawal awaiting processing
{
"id": "wd_3AbHiWSrsZBoaTg47OcMzC",
"status": "PENDING",
"amount_cents": 25000,
"fee_amount_cents": 100,
"net_amount_cents": 24900,
"failure_reason": null
}Body fields
--amount-centsintegerrequired in the body sent only when supplied- Total amount to withdraw, in Brazilian real cents, including the fee. Check the withdrawal conditions for the balance, fee, and limits before submitting a request.
--expected-destination-idstringaccepts null sent only when supplied- ID of the company's own destination that must remain selected as default. Copy the id returned by the destinations query. If the destination changes or becomes invalid, the withdrawal is rejected. Omitting this field or sending null uses the current default destination.
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 create
--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.
Request a withdrawal to the company's default Pix key.
POST /v1/withdrawals
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.
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:
amount_cents integer required
expected_destination_id 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):
{
"amount_cents": 25000
}
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 withdrawals get
Get a withdrawal
raims withdrawals get ID [flags]OAuth environments: Sandbox, Production. Success responses: 200.
Example
raims --profile PROFILE --output json withdrawals get ID --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Completed withdrawal
{
"id": "wd_3AbHiWSrsZBoaTg47OcMzC",
"status": "COMPLETED",
"amount_cents": 10000,
"fee_amount_cents": 100,
"net_amount_cents": 9900,
"failure_reason": 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 a withdrawal.
GET /v1/withdrawals/{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 withdrawals limits
Get withdrawal conditions and limits
raims withdrawals limits [flags]OAuth environments: Sandbox, Production. Success responses: 200.
Example
raims --profile PROFILE --output json withdrawals limits --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Withdrawal conditions in Production
{
"minimum_amount_cents": 200,
"fee_threshold_amount_cents": 50000,
"fee_below_threshold_cents": 100,
"available_amount_cents": 150000,
"destination_configured": true,
"limits": {
"day_limit_cents": 5000000,
"night_limit_cents": 1000000,
"period_limit_cents": 5000000,
"period_used_cents": 125000,
"period_remaining_cents": 4875000,
"request_maximum_amount_cents": 4875000,
"period": "day",
"period_ends_at": 1792054800
}
}Execution options
--dry-runbooldefault: false- Validate and preview the request without credentials or network access
--help,-hbooldefault: false- help for limits
--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 withdrawal conditions and limits.
GET /v1/withdrawals/limits
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 withdrawals list
List withdrawals
raims withdrawals list [flags]OAuth environments: Sandbox, Production. Success responses: 200.
Example
raims --profile PROFILE --output json withdrawals list --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Completed withdrawal
{
"list": [
{
"id": "wd_3AbHiWSrsZBoaTg47OcMzC",
"amount_cents": 10000,
"fee_amount_cents": 100,
"net_amount_cents": 9900,
"status": "COMPLETED",
"failure_reason": null,
"bank_account": null,
"pix_destination": {
"key_type": "CNPJ",
"key_masked": "**.***.***/0001-**",
"holder_name": "Empresa Exemplo",
"bank_ispb": "12345678"
},
"requested_at": 1791878400,
"completed_at": 1791878460,
"failed_at": null,
"canceled_at": null
}
],
"page": {
"page_size": 10,
"has_next": false,
"has_previous": false,
"next_after": null,
"previous_before": null
}
}Query filters
--afterstringsent only when supplied- Read after this opaque cursor (cannot be combined with --before)
--beforestringsent only when supplied- Read before this opaque cursor (cannot be combined with --after)
--page-sizeint64sent only when supplied- Results per page (the API normalizes the requested size)
--requested-gteint64sent only when supplied- Requested at or after this Unix timestamp (seconds)
--requested-lteint64sent only when supplied- Requested at or before this Unix timestamp (seconds)
--sort-orderstringsent only when supplied- Sort direction: asc or desc
--statusstringsent only when supplied- Filter by comma-separated withdrawal status names
Execution options
--allbooldefault: false- Read all pages as separate results (JSON Lines with --output json)
--dry-runbooldefault: false- Validate and preview the request without credentials or network access
--help,-hbooldefault: false- help for list
--max-pagesintdefault: 100- Maximum pages to read with --all (1-10000)
--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.
List withdrawals.
GET /v1/withdrawals
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 withdrawals summary
Get a summary of withdrawals in progress
raims withdrawals summary [flags]OAuth environments: Production. Success responses: 200.
Example
raims --profile PROFILE --output json withdrawals summary --dry-runThe excerpt below shows the CLI contents of data. The envelope also reports status_code and the received request_id.
Withdrawals awaiting completion
{
"processing_count": 3,
"processing_amount_cents": 175000
}Execution options
--dry-runbooldefault: false- Validate and preview the request without credentials or network access
--help,-hbooldefault: false- help for summary
--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 a summary of withdrawals in progress.
GET /v1/withdrawals/summary
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.