data
Revolut CLI for AI Agents
Use the Revolut CLI from KosmoKrator to call Revolut tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.Revolut CLI Setup
Revolut can be configured headlessly with `kosmokrator integrations:configure revolut`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure revolut --set access_token="$REVOLUT_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor revolut --json
kosmokrator integrations:status --json Credentials
Authentication type: Bearer token bearer_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
access_token | REVOLUT_ACCESS_TOKEN | Secret secret | yes | Access Token |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call revolut.revolut_list_accounts '{}' --json kosmo integrations:revolut revolut_list_accounts '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs revolut --json
kosmo integrations:docs revolut.revolut_list_accounts --json
kosmo integrations:schema revolut.revolut_list_accounts --json
kosmo integrations:search "Revolut" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
revolut.revolut_list_accounts
List all Revolut business accounts. Returns account IDs, names, balances, and currency information.
read - Parameters
- none
kosmo integrations:call revolut.revolut_list_accounts '{}' --json kosmo integrations:revolut revolut_list_accounts '{}' --json revolut.revolut_get_account
Retrieve a Revolut account by ID. Returns full account details including balance, currency, and state.
read - Parameters
- id
kosmo integrations:call revolut.revolut_get_account '{"id":"example_id"}' --json kosmo integrations:revolut revolut_get_account '{"id":"example_id"}' --json revolut.revolut_get_account_bank_details
Retrieve full bank details for a Revolut account. Use this after list_accounts or get_account when an agent needs IBAN, BIC/SWIFT, routing, or supported transfer schemes.
read - Parameters
- account_id
kosmo integrations:call revolut.revolut_get_account_bank_details '{"account_id":"example_account_id"}' --json kosmo integrations:revolut revolut_get_account_bank_details '{"account_id":"example_account_id"}' --json revolut.revolut_list_transactions
List Revolut transactions with optional filters. Supports filtering by account, date range, type, and pagination with count.
read - Parameters
- account_id, from, to, count, type
kosmo integrations:call revolut.revolut_list_transactions '{"account_id":"example_account_id","from":"example_from","to":"example_to","count":1,"type":"example_type"}' --json kosmo integrations:revolut revolut_list_transactions '{"account_id":"example_account_id","from":"example_from","to":"example_to","count":1,"type":"example_type"}' --json revolut.revolut_get_transaction
Retrieve a Revolut transaction by ID. Returns full transaction details including amount, currency, legs, and state.
read - Parameters
- id, id_type
kosmo integrations:call revolut.revolut_get_transaction '{"id":"example_id","id_type":"example_id_type"}' --json kosmo integrations:revolut revolut_get_transaction '{"id":"example_id","id_type":"example_id_type"}' --json revolut.revolut_list_cards
List all Revolut business cards. Returns card IDs, last 4 digits, status, and cardholder information.
read - Parameters
- limit, created_before
kosmo integrations:call revolut.revolut_list_cards '{"limit":1,"created_before":"example_created_before"}' --json kosmo integrations:revolut revolut_list_cards '{"limit":1,"created_before":"example_created_before"}' --json revolut.revolut_get_card
Retrieve a Revolut card by ID. Returns full card details including status, limits, and cardholder information.
read - Parameters
- id
kosmo integrations:call revolut.revolut_get_card '{"id":"example_id"}' --json kosmo integrations:revolut revolut_get_card '{"id":"example_id"}' --json revolut.revolut_get_sensitive_card_details
Retrieve sensitive card details for a Revolut Business card. This requires Revolut's READ_SENSITIVE_CARD_DATA scope and IP whitelisting; prefer get_card unless PAN/CVV details are explicitly needed.
read - Parameters
- card_id
kosmo integrations:call revolut.revolut_get_sensitive_card_details '{"card_id":"example_card_id"}' --json kosmo integrations:revolut revolut_get_sensitive_card_details '{"card_id":"example_card_id"}' --json revolut.revolut_list_team_members
List Revolut Business team members. Use limit and created_before for pagination; Revolut returns members in reverse creation order.
read - Parameters
- limit, created_before
kosmo integrations:call revolut.revolut_list_team_members '{"limit":1,"created_before":"example_created_before"}' --json kosmo integrations:revolut revolut_list_team_members '{"limit":1,"created_before":"example_created_before"}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
revolut.revolut_list_accounts 0 parameters
kosmo integrations:schema revolut.revolut_list_accounts --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
revolut.revolut_get_account 1 parameters
kosmo integrations:schema revolut.revolut_get_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Revolut account ID. |
revolut.revolut_get_account_bank_details 1 parameters
kosmo integrations:schema revolut.revolut_get_account_bank_details --json | Parameter | Type | Required | Description |
|---|---|---|---|
account_id | string | yes | Revolut account UUID. |
revolut.revolut_list_transactions 5 parameters
kosmo integrations:schema revolut.revolut_list_transactions --json | Parameter | Type | Required | Description |
|---|---|---|---|
account_id | string | no | Filter transactions by account ID. Sent to Revolut as account. |
from | string | no | Start date for transactions (ISO 8601, e.g., "2026-01-01T00:00:00Z"). |
to | string | no | End date for transactions (ISO 8601, e.g., "2026-04-07T23:59:59Z"). |
count | integer | no | Number of transactions to return (max 1000). |
type | string | no | Filter by transaction type (e.g., "card_payment", "transfer", "exchange"). |
revolut.revolut_get_transaction 2 parameters
kosmo integrations:schema revolut.revolut_get_transaction --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Revolut transaction ID. |
id_type | string | no | Set to request_id when id is the request ID supplied at payment creation. |
revolut.revolut_list_cards 2 parameters
kosmo integrations:schema revolut.revolut_list_cards --json | Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | no | Maximum number of cards to return per page. Revolut allows 1-100. |
created_before | string | no | Return cards created before this ISO 8601 date/time for pagination. |
revolut.revolut_get_card 1 parameters
kosmo integrations:schema revolut.revolut_get_card --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Revolut card ID. |
revolut.revolut_get_sensitive_card_details 1 parameters
kosmo integrations:schema revolut.revolut_get_sensitive_card_details --json | Parameter | Type | Required | Description |
|---|---|---|---|
card_id | string | yes | Revolut card UUID. |
revolut.revolut_list_team_members 2 parameters
kosmo integrations:schema revolut.revolut_list_team_members --json | Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | no | Maximum number of team members to return per page. Revolut allows 1-1000. |
created_before | string | no | Return team members created before this ISO 8601 date/time for pagination. |
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.