Banking & fintech
Revolut Business mock API
Revolut Business API: accounts, counterparties, transfers, payments, transactions and v2 webhooks with signed delivery.
At a glance
- Operations
- 101
- Stateful operations
- 18
- Stateful resources
- 6
- Webhook events
- 2
- Vendor API version
- 1.0
- Verification
- Spec-verified
How it works
Use Revolut Business without calling Revolut Ltd
- Install the mock from the library into a workspace. It runs as a virtual service.
- Point your client's base URL at the virtual service instead of the vendor.
- Authenticate the way you already do. The mock accepts the same credential shape:
Authorization: Bearer sand_YourAccessToken State
Resources that remember
Writes persist per caller, so a create followed by a read returns what you created.
| Resource | Operations |
|---|---|
| Accounts | 3 |
| Counterparties | 4 |
| Transfers | 1 |
| Payments | 1 |
| Transactions | 3 |
| Webhooks (v2) | 6 |
Webhooks
Events your handlers can receive
- TransactionCreated
- TransactionStateChanged
Deliveries are signed with the hmac scheme, so your verification code runs unchanged.
Coverage
101 operations
18 of them are stateful. The largest groups:
| Group | Operations |
|---|---|
| Other operations | 83 |
| Webhooks (v2) | 6 |
| Counterparties | 4 |
| Accounts | 3 |
| Transactions | 3 |
| Payments | 1 |
Verification
Spec-verified
Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.
5 operations cannot be checked against the specification.
Source and limits
License, source and limits
- Generated from the Revolut Ltd API description, licensed under No licence published (revolut-engineering/revolut-openapi has no LICENSE file); schemas are fetched at test time, never committed.
- Revolut Ltd API documentation
- Source specification
Each collection (accounts, counterparties, transactions, webhooks) holds up to 1 MiB of objects per access token; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Accounts are seeded in GBP, EUR and USD and balances move on transfers, payments and sandbox top-ups without currency conversion. Transfers complete immediately; payments start pending and settle after about 2 seconds (state derived on read). A transfer or payment above the source account's current balance answers 422 (insufficient balance); an unknown source, target or counterparty id answers 404 (code 3006). request_id is the idempotency key: the same request_id and body replays the original result, the same request_id with another amount, currency or request_id answers 400 code 3020. created_before and to are exclusive cursors that must equal the created_at of a previous item; transaction lookup by request_id (id_type) and the state filter are not supported. Webhooks (v2) are served at /api/2.0 and /api/1.0; deliveries carry Revolut-Signature (v1= HMAC-SHA256 hex over v1.<timestamp ms>.<raw body>) and Revolut-Request-Timestamp, one signature per delivery. Cards, payment drafts, payout links, team members, expenses, tax rates, labels, departments and the v1 webhook API are schema-valid stateless samples.
MaxoPerf is not affiliated with, endorsed by, or sponsored by Revolut Ltd. Revolut Business is a trademark of its owner.