Strike

App · 20 actions

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

Actions

ActionWhat it does
Cancel invoiceCancel invoice in Strike.
Create invoiceCreate invoice in Strike.
Get account limitsGet account limits in Strike.
Get depositGet deposit in Strike.
Get eventGet event in Strike.
Get invoiceGet invoice in Strike.
Get payoutGet payout in Strike.
Get payout originatorGet payout originator in Strike.
Get public profile by handleGet public profile by handle in Strike.
Get receive requestGet receive request in Strike.
Get webhook subscriptionGet webhook subscription in Strike.
List account balancesList account balances in Strike.
List depositsList deposits in Strike.
List eventsList events in Strike.
List exchange rate tickersList exchange rate tickers in Strike.
List invoicesList invoices in Strike.
List payout originatorsList payout originators in Strike.
List payoutsList payouts in Strike.
List receive requestsList receive requests in Strike.
List webhook subscriptionsList webhook subscriptions in Strike.

Cancel invoice

Cancel invoice in Strike.

Inputs

Invoice IDinvoice_idtextRequired
Invoice id.

Outputs

dataobject
The response from Strike.
Example output
{
  "data": {
    "amount": {
      "amount": "example",
      "currency": "example"
    },
    "correlationId": "example",
    "created": "example",
    "description": "example",
    "invoiceId": "example",
    "state": "example"
  }
}

Create invoice

Create invoice in Strike.

Inputs

AmountamounttextRequired
Decimal amount as text to preserve precision.
CurrencycurrencytextRequired
Currency.One of: BTC, USD, EUR, USDT, GBP, AUD.
Descriptiondescriptiontext
Description shown on the invoice.
Correlation IDcorrelation_idtext
Unique ID from your system, used to reconcile the invoice.

Outputs

dataobject
The response from Strike.
Example output
{
  "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

dataobject
The response from Strike.
Example output
{
  "data": {}
}

Get deposit

Get deposit in Strike.

Inputs

Deposit IDdeposit_idtextRequired
Deposit id.

Outputs

dataobject
The response from Strike.
Example output
{
  "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 IDevent_idtextRequired
Event id.

Outputs

dataobject
The response from Strike.
Example output
{
  "data": {
    "created": "example",
    "data": {},
    "eventType": "example",
    "id": "example"
  }
}

Get invoice

Get invoice in Strike.

Inputs

Invoice IDinvoice_idtextRequired
Invoice id.

Outputs

dataobject
The response from Strike.
Example output
{
  "data": {
    "amount": {
      "amount": "example",
      "currency": "example"
    },
    "correlationId": "example",
    "created": "example",
    "description": "example",
    "invoiceId": "example",
    "state": "example"
  }
}

Get payout

Get payout in Strike.

Inputs

Payout IDpayout_idtextRequired
Payout id.

Outputs

dataobject
The response from Strike.
Example output
{
  "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 IDpayout_originator_idtextRequired
Payout originator id.

Outputs

dataobject
The response from Strike.
Example output
{
  "data": {
    "created": "example",
    "details": {},
    "id": "example",
    "state": "example"
  }
}

Get public profile by handle

Get public profile by handle in Strike.

Inputs

HandlehandletextRequired
Handle.

Outputs

dataobject
The response from Strike.
Example output
{
  "data": {
    "canReceive": true,
    "currencies": [
      {}
    ],
    "handle": "example",
    "id": "example"
  }
}

Get receive request

Get receive request in Strike.

Inputs

Receive request IDreceive_request_idtextRequired
Receive request id.

Outputs

dataobject
The response from Strike.
Example output
{
  "data": {
    "bolt11": {},
    "created": "example",
    "onchain": {},
    "receiveRequestId": "example",
    "targetCurrency": "example"
  }
}

Get webhook subscription

Get webhook subscription in Strike.

Inputs

Webhook subscription IDwebhook_subscription_idtextRequired
Webhook subscription id.

Outputs

dataobject
The response from Strike.
Example output
{
  "data": {
    "eventTypes": [
      "example"
    ],
    "id": "example",
    "webhookUrl": "example"
  }
}

List account balances

List account balances in Strike.

Inputs

None.

Outputs

datalist
The response from Strike.
Example output
{
  "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

Limitlimitnumber
Limit.From 1 to 100.
Offsetoffsetnumber
Offset.At least 0.

Outputs

dataobject
The response from Strike.
Example output
{
  "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

Limitlimitnumber
Limit.From 1 to 100.
Offsetoffsetnumber
Offset.At least 0.

Outputs

dataobject
The response from Strike.
Example output
{
  "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

datalist
The response from Strike.
Example output
{
  "data": [
    {
      "amount": "example",
      "sourceCurrency": "example",
      "targetCurrency": "example"
    }
  ]
}

List invoices

List invoices in Strike.

Inputs

Limitlimitnumber
Limit.From 1 to 100.
Offsetoffsetnumber
Offset.At least 0.
Filterfiltertext
OData filter expression for invoice records.

Outputs

dataobject
The response from Strike.
Example output
{
  "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

Limitlimitnumber
Limit.From 1 to 100.
Offsetoffsetnumber
Offset.At least 0.

Outputs

dataobject
The response from Strike.
Example output
{
  "data": {
    "count": 1,
    "isCountUnknown": true,
    "items": [
      {
        "created": "example",
        "details": {},
        "id": "example",
        "state": "example"
      }
    ]
  }
}

List payouts

List payouts in Strike.

Inputs

Limitlimitnumber
Limit.From 1 to 100.
Offsetoffsetnumber
Offset.At least 0.

Outputs

dataobject
The response from Strike.
Example output
{
  "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

Limitlimitnumber
Limit.From 1 to 100.
Offsetoffsetnumber
Offset.At least 0.

Outputs

dataobject
The response from Strike.
Example output
{
  "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

datalist
The response from Strike.
Example output
{
  "data": [
    {
      "eventTypes": [
        "example"
      ],
      "id": "example",
      "webhookUrl": "example"
    }
  ]
}

On this page