# Strike

> Read Strike balances and payment activity, and create or cancel Bitcoin invoices.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/strike

## Actions

### Cancel invoice

Cancel invoice in Strike.

**Inputs**

- Invoice ID (`invoice_id`, text, required): Invoice id.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "amount": {
      "amount": "example",
      "currency": "example"
    },
    "correlationId": "example",
    "created": "example",
    "description": "example",
    "invoiceId": "example",
    "state": "example"
  }
}
```

### Create invoice

Create invoice in Strike.

**Inputs**

- Amount (`amount`, text, required): Decimal amount as text to preserve precision.
- Currency (`currency`, text, required): Currency. One of: `BTC`, `USD`, `EUR`, `USDT`, `GBP`, `AUD`.
- Description (`description`, text): Description shown on the invoice.
- Correlation ID (`correlation_id`, text): Unique ID from your system, used to reconcile the invoice.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "amount": {
      "amount": "example",
      "currency": "example"
    },
    "correlationId": "example",
    "created": "example",
    "description": "example",
    "invoiceId": "example",
    "state": "example"
  }
}
```

### Get account limits

Get account limits in Strike.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {}
}
```

### Get deposit

Get deposit in Strike.

**Inputs**

- Deposit ID (`deposit_id`, text, required): Deposit id.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "amount": {},
    "failureReason": "example",
    "fee": {
      "amount": "example",
      "currency": "example"
    },
    "id": "example",
    "state": "example",
    "totalAmount": {
      "amount": "example",
      "currency": "example"
    }
  }
}
```

### Get event

Get event in Strike.

**Inputs**

- Event ID (`event_id`, text, required): Event id.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "created": "example",
    "data": {},
    "eventType": "example",
    "id": "example"
  }
}
```

### Get invoice

Get invoice in Strike.

**Inputs**

- Invoice ID (`invoice_id`, text, required): Invoice id.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "amount": {
      "amount": "example",
      "currency": "example"
    },
    "correlationId": "example",
    "created": "example",
    "description": "example",
    "invoiceId": "example",
    "state": "example"
  }
}
```

### Get payout

Get payout in Strike.

**Inputs**

- Payout ID (`payout_id`, text, required): Payout id.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "amount": {},
    "completed": "example",
    "created": "example",
    "fee": {
      "amount": "example",
      "currency": "example"
    },
    "id": "example",
    "initiated": "example",
    "originatorId": "example",
    "paymentMethodId": "example",
    "reference": "example",
    "state": "example",
    "transactionId": "example"
  }
}
```

### Get payout originator

Get payout originator in Strike.

**Inputs**

- Payout originator ID (`payout_originator_id`, text, required): Payout originator id.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "created": "example",
    "details": {},
    "id": "example",
    "state": "example"
  }
}
```

### Get public profile by handle

Get public profile by handle in Strike.

**Inputs**

- Handle (`handle`, text, required): Handle.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "canReceive": true,
    "currencies": [
      {}
    ],
    "handle": "example",
    "id": "example"
  }
}
```

### Get receive request

Get receive request in Strike.

**Inputs**

- Receive request ID (`receive_request_id`, text, required): Receive request id.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "bolt11": {},
    "created": "example",
    "onchain": {},
    "receiveRequestId": "example",
    "targetCurrency": "example"
  }
}
```

### Get webhook subscription

Get webhook subscription in Strike.

**Inputs**

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

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "eventTypes": [
      "example"
    ],
    "id": "example",
    "webhookUrl": "example"
  }
}
```

### List account balances

List account balances in Strike.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Strike.

**Example output**

```json
{
  "data": [
    {
      "available": "example",
      "currency": "example",
      "current": "example",
      "outgoing": "example",
      "pending": "example",
      "reserved": "example",
      "stacks": [
        {
          "amount": "example",
          "name": "example"
        }
      ],
      "total": "example"
    }
  ]
}
```

### List deposits

List deposits in Strike.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Offset (`offset`, number): Offset. At least 0.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "count": 1,
    "isCountUnknown": true,
    "items": [
      {
        "amount": {},
        "failureReason": "example",
        "fee": {
          "amount": "example",
          "currency": "example"
        },
        "id": "example",
        "state": "example",
        "totalAmount": {
          "amount": "example",
          "currency": "example"
        }
      }
    ]
  }
}
```

### List events

List events in Strike.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Offset (`offset`, number): Offset. At least 0.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "count": 1,
    "isCountUnknown": true,
    "items": [
      {
        "created": "example",
        "data": {},
        "eventType": "example",
        "id": "example"
      }
    ]
  }
}
```

### List exchange rate tickers

List exchange rate tickers in Strike.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Strike.

**Example output**

```json
{
  "data": [
    {
      "amount": "example",
      "sourceCurrency": "example",
      "targetCurrency": "example"
    }
  ]
}
```

### List invoices

List invoices in Strike.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Offset (`offset`, number): Offset. At least 0.
- Filter (`filter`, text): OData filter expression for invoice records.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "count": 1,
    "isCountUnknown": true,
    "items": [
      {
        "amount": {
          "amount": "example",
          "currency": "example"
        },
        "correlationId": "example",
        "created": "example",
        "description": "example",
        "invoiceId": "example",
        "state": "example"
      }
    ]
  }
}
```

### List payout originators

List payout originators in Strike.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Offset (`offset`, number): Offset. At least 0.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "count": 1,
    "isCountUnknown": true,
    "items": [
      {
        "created": "example",
        "details": {},
        "id": "example",
        "state": "example"
      }
    ]
  }
}
```

### List payouts

List payouts in Strike.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Offset (`offset`, number): Offset. At least 0.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "count": 1,
    "isCountUnknown": true,
    "items": [
      {
        "amount": {},
        "completed": "example",
        "created": "example",
        "fee": {
          "amount": "example",
          "currency": "example"
        },
        "id": "example",
        "initiated": "example",
        "originatorId": "example",
        "paymentMethodId": "example",
        "reference": "example",
        "state": "example",
        "transactionId": "example"
      }
    ]
  }
}
```

### List receive requests

List receive requests in Strike.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Offset (`offset`, number): Offset. At least 0.

**Outputs**

- `data` (object): The response from Strike.

**Example output**

```json
{
  "data": {
    "count": 1,
    "isCountUnknown": true,
    "items": [
      {
        "bolt11": {},
        "created": "example",
        "onchain": {},
        "receiveRequestId": "example",
        "targetCurrency": "example"
      }
    ]
  }
}
```

### List webhook subscriptions

List webhook subscriptions in Strike.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Strike.

**Example output**

```json
{
  "data": [
    {
      "eventTypes": [
        "example"
      ],
      "id": "example",
      "webhookUrl": "example"
    }
  ]
}
```
