Vacuari Platform API
The API is JSON over HTTPS at https://api.vacuari.com/api/v1. Authenticated endpoints take your key as a bearer token, and every amount is an integer in minor units, so 2500 is €25.00. The same reference is available to machines at /api/openapi.json.
Sandbox key
A sandbox key is an API key for the test environment. You do not need an account to get one: each key is created with two EUR accounts of its own, holding €5,000.00 of test money each, and it can only move money between those accounts and payees you create with it.
The button below makes the same request as the first line of the quickstart and shows you the key it returns.
Quickstart
Four requests take you from a new key to a payout you can read back.
# 1. Create a sandbox key
curl -X POST https://api.vacuari.com/api/v1/sandbox/keys
# 2. List your accounts
curl https://api.vacuari.com/api/v1/accounts -H "Authorization: Bearer $KEY"
# 3. Add a payee and send a transfer
curl -X POST https://api.vacuari.com/api/v1/payees -H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" -d '{"name": "Supplier", "iban": "GB84TLMR76871000007311"}'
curl -X POST https://api.vacuari.com/api/v1/transfers -H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"from_account": "<account id>", "to": "<payee id>", "amount_minor": 2500, "reference": "test"}'
# 4. Read it back; after about thirty seconds its status is "completed"
curl https://api.vacuari.com/api/v1/transfers/<transfer id> -H "Authorization: Bearer $KEY"To pay a wallet instead of a bank account, create the payee with an address in place of the iban. Transfers above the partner limit are held until approved in the partner console. Sandbox keys move sandbox funds only; partners use their live key.
Live access
Live keys are issued to registered businesses only. Becoming a partner starts with a call with our partnerships team, followed by a KYB review of the company, its directors and its beneficial owners, which usually takes five to ten business days. Once it is approved you receive a live key, a console login for each person you name and your accounts with their IBANs.
Your customers do not sign up with Vacuari themselves: their accounts are opened through you, and they sign in to their own account with the details you send them.
Accounts
An account holds euros under its own IBAN. A sandbox key owns two of them; a partner key owns the accounts of that partner's customers. Balances are in minor units, like every amount in the API.
GET/api/v1/accounts
List your accounts
GET/api/v1/accounts/{account_id}
Get an account
GET/api/v1/accounts/{account_id}/transactions
List an account's transactions
Payees
A payee is somewhere a payout can go: a bank account, given as an IBAN, or a wallet, given as an address. Give exactly one of the two. The id that comes back is what a transfer is sent to.
GET/api/v1/payees
List payees
POST/api/v1/payees
Create a payee
| name | string, required | What you call this payee; it is shown back to you, not to the recipient |
| iban | string | The IBAN of a bank account, for payouts in euros |
| address | string | A wallet address, for payouts in euro stablecoin |
Transfers
A transfer moves euros from one of your accounts to a payee or to another of your accounts. It is created as pending and becomes completed once it settles. Above the partner's per-transfer limit it is created as held instead, and stays held until someone approves it in the partner console.
GET/api/v1/transfers
List your transfers
POST/api/v1/transfers
Create a transfer
| from_account | string, required | The account to debit, which must be one of yours |
| to | string, required | The id of a bank or wallet payee, or of another of your accounts |
| amount_minor | integer, required | The amount in minor units, so 2500 is 25.00 |
| currency | string | Optional. A transfer is made in the currency of the account it leaves |
| reference | string | Free text that travels with the transfer |
GET/api/v1/transfers/{transfer_id}
Get a transfer
Cards
Cards issued on your accounts. The list is read-only.
GET/api/v1/cards
List cards
Webhooks
A webhook is a URL of yours registered for transfer events, such as `transfer.completed`.
GET/api/v1/webhooks
List webhooks
POST/api/v1/webhooks
Register a webhook
| url | string, required | The URL that events are sent to |
| events | string[] | The events to subscribe to |
Service
Whether the API is answering, and which version you are talking to. It needs no key.
GET/api/v1/status
Service status