# Revolut Business

> Read balances, transactions, counterparties and other Revolut Business records.

App · 16 actions. Web page: https://docs.lodol.com/docs/integrations/revolut-business

## Actions

### Get account bank details

Get account bank details in Revolut Business.

**Inputs**

- Account (`account_id`, text, required): Account id.

**Outputs**

- `data` (list): The response from Revolut Business.

**Example output**

```json
{
  "data": [
    {
      "account_no": "example",
      "bic": "example",
      "country": "example",
      "iban": "example",
      "routing_number": "example"
    }
  ]
}
```

### Get an exchange rate

Get an exchange rate in Revolut Business.

**Inputs**

- From currency (`from_currency`, text, required): From currency.
- To currency (`to_currency`, text, required): To currency.
- Amount (`amount`, number): Amount.

**Outputs**

- `data` (object): The response from Revolut Business.

**Example output**

```json
{
  "data": {
    "from": {},
    "rate": 1,
    "to": {}
  }
}
```

### Get business account

Get business account in Revolut Business.

**Inputs**

- Account (`account_id`, text, required): Account id.

**Outputs**

- `data` (object): The response from Revolut Business.

**Example output**

```json
{
  "data": {
    "balance": 1,
    "currency": "example",
    "id": "example",
    "name": "example",
    "state": "example"
  }
}
```

### Get business card

Get business card in Revolut Business.

**Inputs**

- Card ID (`card_id`, text, required): Card id.

**Outputs**

- `data` (object): The response from Revolut Business.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "id": "example",
    "label": "example",
    "state": "example"
  }
}
```

### Get business webhook

Get business webhook in Revolut Business.

**Inputs**

- Webhook ID (`webhook_id`, text, required): Webhook id.

**Outputs**

- `data` (object): The response from Revolut Business.

**Example output**

```json
{
  "data": {
    "event_types": [
      "example"
    ],
    "id": "example",
    "url": "example"
  }
}
```

### Get counterparty

Get counterparty in Revolut Business.

**Inputs**

- Counterparty (`counterparty_id`, text, required): Counterparty id.

**Outputs**

- `data` (object): The response from Revolut Business.

**Example output**

```json
{
  "data": {
    "accounts": [
      {}
    ],
    "id": "example",
    "name": "example",
    "state": "example"
  }
}
```

### Get payment draft

Get payment draft in Revolut Business.

**Inputs**

- Draft ID (`draft_id`, text, required): Draft id.

**Outputs**

- `data` (object): The response from Revolut Business.

**Example output**

```json
{
  "data": {
    "id": "example",
    "state": "example",
    "title": "example"
  }
}
```

### Get team member

Get team member in Revolut Business.

**Inputs**

- Member ID (`member_id`, text, required): Member id.

**Outputs**

- `data` (object): The response from Revolut Business.

**Example output**

```json
{
  "data": {
    "email": "example",
    "first_name": "example",
    "id": "example",
    "last_name": "example",
    "state": "example"
  }
}
```

### Get transaction

Get transaction in Revolut Business.

**Inputs**

- Transaction ID (`transaction_id`, text, required): Transaction id.

**Outputs**

- `data` (object): The response from Revolut Business.

**Example output**

```json
{
  "data": {
    "completed_at": "example",
    "created_at": "example",
    "id": "example",
    "legs": [
      {}
    ],
    "reference": "example",
    "state": "example",
    "type": "example",
    "updated_at": "example"
  }
}
```

### List business accounts

List business accounts in Revolut Business.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Revolut Business.

**Example output**

```json
{
  "data": [
    {
      "balance": 1,
      "currency": "example",
      "id": "example",
      "name": "example",
      "state": "example"
    }
  ]
}
```

### List business cards

List business cards in Revolut Business.

**Inputs**

- Created after (`created_after`, date and time): Created after.
- Created before (`created_before`, date and time): Created before.
- Limit (`limit`, number): Limit. From 1 to 100.

**Outputs**

- `data` (list): The response from Revolut Business.

**Example output**

```json
{
  "data": [
    {
      "created_at": "example",
      "id": "example",
      "label": "example",
      "state": "example"
    }
  ]
}
```

### List business webhooks

List business webhooks in Revolut Business.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Revolut Business.

**Example output**

```json
{
  "data": [
    {
      "event_types": [
        "example"
      ],
      "id": "example",
      "url": "example"
    }
  ]
}
```

### List counterparties

List counterparties in Revolut Business.

**Inputs**

- Name (`name`, text): Name.
- Created before (`created_before`, date and time): Created before.
- Limit (`limit`, number): Limit. From 1 to 1000.

**Outputs**

- `data` (list): The response from Revolut Business.

**Example output**

```json
{
  "data": [
    {
      "accounts": [
        {}
      ],
      "id": "example",
      "name": "example",
      "state": "example"
    }
  ]
}
```

### List payment drafts

List payment drafts in Revolut Business.

**Inputs**

- Source (`source`, text): Source. One of: `api`.

**Outputs**

- `data` (list): The response from Revolut Business.

**Example output**

```json
{
  "data": [
    {
      "id": "example",
      "state": "example",
      "title": "example"
    }
  ]
}
```

### List team members

List team members in Revolut Business.

**Inputs**

- Created before (`created_before`, date and time): Created before.
- Limit (`limit`, number): Limit. From 1 to 100.

**Outputs**

- `data` (list): The response from Revolut Business.

**Example output**

```json
{
  "data": [
    {
      "email": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example",
      "state": "example"
    }
  ]
}
```

### List transactions

List transactions in Revolut Business.

**Inputs**

- Start time (`start_time`, date and time): Start time.
- End time (`end_time`, date and time): End time.
- Account (`account_id`, text): Account id.
- Counterparty (`counterparty_id`, text): Counterparty id.
- Count (`count`, number): Count. From 1 to 1000.
- Type (`type`, text): Type.

**Outputs**

- `data` (list): The response from Revolut Business.

**Example output**

```json
{
  "data": [
    {
      "completed_at": "example",
      "created_at": "example",
      "id": "example",
      "legs": [
        {}
      ],
      "reference": "example",
      "state": "example",
      "type": "example",
      "updated_at": "example"
    }
  ]
}
```
