OAuth + JWT
💶 Revolut Business
Accounts, transactions, expenses and receipts, and payment drafts.
What you can do
- List accounts, balances and transactions, as text, JSON or CSV
- List expenses, and download their receipts into one folder for month-end
- Manage counterparties
- Prepare payments as drafts that a person approves in the Revolut Business app
- Move money between your own accounts, with a confirmation step
agentio cannot send money out of the business by itself. A payment to a counterparty is always a draft, and nothing leaves until someone approves it.
Setup
Upload an X.509 certificate in the Revolut Business API settings to get a Client ID. Then run:
agentio revolut profile add --client-id <id> --private-key <path>
The private key is stored inside the encrypted vault, so no plaintext copy needs to stay on disk.
Command reference
-
agentio revolut accountsList accounts and balances
--profile <name>--format <format> -
agentio revolut transactionsList transactions
--profile <name>--from <date>--to <date>--account <id>--counterparty <id>--type <type>--count <number>--format <format> -
agentio revolut transaction <id>Get one transaction with its legs
--profile <name>--format <format> -
agentio revolut expensesList expenses and their receipt counts
--profile <name>--from <date>--to <date>--count <number>--receipts <dir>--format <format> -
agentio revolut expense <id>Get one expense with its receipt IDs
--profile <name>--format <format> -
agentio revolut receipt <expense-id>Download the receipt files attached to an expense
--profile <name>--receipt <id>--output <dir> -
agentio revolut payDraft a payment to a counterparty, or move money between your own accounts
--from <account-id>--to <id>--amount <number>--currency <code>--reference <text>--to-account <id>--to-card <id>--title <text>--on <date>--charge-bearer <who>--reason-code <code>--request-id <id>--force--profile <name>--format <format> -
agentio revolut counterparties listList counterparties
--profile <name>--format <format> -
agentio revolut counterparties get <id>Get one counterparty
--profile <name>--format <format> -
agentio revolut counterparties addAdd a counterparty
--profile <name>--company-name <name>--first-name <name>--last-name <name>--bank-country <code>--currency <code>--iban <iban>--bic <bic>--account-no <number>--sort-code <code>--routing-number <number>--email <email>--phone <phone> -
agentio revolut counterparties delete <id>Delete a counterparty
--profile <name>--force -
agentio revolut drafts listList payment drafts awaiting approval
--profile <name>--source <source>--format <format> -
agentio revolut drafts get <id>Get one payment draft with its payments
--profile <name>--format <format> -
agentio revolut drafts delete <id>Delete a payment draft that has not been sent for processing
--profile <name>--force -
agentio revolut links listList payout links
--profile <name>--created-before <timestamp>--limit <number>--format <format> -
agentio revolut links get <id>Get one payout link
--profile <name>--format <format> -
agentio revolut links cancel <id>Cancel a payout link that has not been claimed
--profile <name>--force