Skip to main content

Strike Account Setup

Strike is a payments platform that supports Bitcoin Lightning and on-chain payments. Lightning Enable uses your Strike API key to create invoices and track their payment status.

Default provider

Strike is the default payment provider: merchants who make no explicit choice are served by Strike. It returns payment preimages (needed for L402) and creates invoices in USD, EUR, GBP, or BTC.

Lightning Enable does not hold funds; Strike facilitates custody and settlement. You bring your own Strike API key.

Create Strike Account​

Step 1: Sign Up​

  1. Visit dashboard.strike.me
  2. Create an account or sign in
  3. Complete identity verification if prompted

Step 2: Generate an API Key​

  1. Go to API Keys in the Strike dashboard
  2. Click Create API Key
  3. Name your key (e.g., "Lightning Enable Production")
  4. Enable the following scopes:
    • partner.receive-request.read — Read receive requests (invoices)
    • partner.receive-request.create — Create receive requests
    • partner.webhooks.manage — Manage webhook subscriptions
  5. Click Create and copy your API key
Not sure? We'll set it up with you

Scopes are the step people most often get wrong, and a key missing one fails quietly at your first real payment. If anything here is unclear, email support@lightningenable.com before you go live — a real person reads it, and we're happy to walk through the setup with you.

Save Your API Key

Strike only shows the full API key once at creation. Copy it immediately and store it securely. If lost, you'll need to create a new key.

Step 3: Configure in Lightning Enable​

  1. Log in to the Lightning Enable dashboard
  2. Go to Settings
  3. Under Payment Provider, select Strike
  4. Paste your Strike API key
  5. Click Save Key
  6. Click Validate to verify the key works

API Key Scopes​

All three scopes above are required. Validate (Dashboard, or POST /api/merchant/validate-strike) reads a receive request and then creates a 1-sat Lightning invoice that expires after 60 seconds, so a key that passes can create invoices. A key that can read but not create fails validation with the missing scope named.

partner.webhooks.manage is not checked by Validate. Lightning Enable uses it to register a Strike webhook subscription the first time it creates an invoice for you. See API Keys for scope details and key rotation.

Environments​

Lightning Enable's hosted platform connects to Strike's production environment:

Details
API URLhttps://api.strike.me/v1
Dashboardhttps://dashboard.strike.me
BitcoinReal mainnet Bitcoin
Testing on the Hosted Platform

Strike does offer a sandbox environment (https://api.dev.strike.me/v1), but the Strike API base URL on Lightning Enable's hosted platform is a platform-wide setting pointed at production — it is not selectable per merchant. The practical way to test your integration is to create a small real invoice (e.g., $1 USD) and pay it with a Lightning wallet.

How Payments Work with Strike​

When a customer pays through Lightning Enable with Strike as the provider:

  1. Lightning Enable calls Strike's receive-requests API to create an invoice
  2. Strike returns both a Lightning invoice (BOLT11) and an on-chain Bitcoin address
  3. The customer chooses to pay via Lightning or on-chain
  4. Strike sends a webhook when payment is received
  5. Lightning Enable updates the payment status and notifies your platform

Payment Methods​

MethodSpeedBest For
LightningInstant (~1 second)Small-to-medium payments
On-chain~10+ minutes (1 confirmation)Larger payments, fallback

Both methods are presented on the payment page; the customer chooses.

Refunds with Strike​

Strike has no refund API, so Lightning Enable sends a refund as a new outgoing payment (Lightning or on-chain) from your Strike balance. Refunds are enabled per account; email support@lightningenable.com to turn them on.

Account Security​

  • Never share your API key publicly. Keep any copy in a password manager or secret store; Lightning Enable encrypts the saved key at rest (AES-256-GCM).
  • Rotate keys periodically and revoke unused keys in the Strike dashboard.

Troubleshooting​

API Key Validation Failed​

  1. Check the key was copied without extra spaces.
  2. Check the key hasn't been revoked in the Strike dashboard.
  3. If the message names a missing scope, create a new key with all three scopes.

Webhooks Not Arriving​

  1. Confirm the key has partner.webhooks.manage.
  2. Check your Strike dashboard for a webhook subscription.
  3. Re-save your Strike key, then create a new payment. Saving a key clears the stored subscription so the next invoice registers a fresh one.

Next Steps​

Once your Strike account is configured: