Quickstart

View as Markdown

Get from zero to a working crypto payment in about 10 minutes. You'll create a real BlockBee payment address, point it at a test webhook, and verify the integration end-to-end with a small Litecoin payment.

Already know which integration you want? Skip to Choose your integration.

1. Get an API key

  1. Sign up for a free BlockBee account.
  2. Configure a Litecoin receiving address on the Addresses page. BlockBee forwards confirmed payments to this wallet.
  3. Generate a key on the API Keys page and copy it.
Generate and copy your API key from the dashboard
Bash
export BLOCKBEE_KEY="your_api_key_here"

2. Create a payment address

Call the Create payment address endpoint to generate a fresh Litecoin address. Use a placeholder callback for now; you'll update it in step 3.

curl "https://api.blockbee.io/ltc/create/?callback=https://example.com/placeholder&apikey=$BLOCKBEE_KEY"

The response looks like this:

JSON
{
  "status": "success",
  "address_in": "LWHJgvkXuNcJ7pCxQ8Pj2oYjGZxKxcz...",
  "address_out": "LZj9QTqMR8K5y4rCtV1cLrLwZP9Q...",
  "callback_url": "https://example.com/placeholder",
  "priority": "default"
}

address_in is the address your customer pays. address_out is the wallet you configured in step 1, where BlockBee forwards confirmed funds. Save address_in — you'll use it in step 4.

3. Set up a webhook receiver

When a payment arrives at address_in, BlockBee POSTs to your callback URL. For testing, use webhook.site — a free tool that provides a public URL and displays incoming requests in real time. No signup required, no server to run.

  1. Open webhook.site. Copy the unique URL it generates (e.g. https://webhook.site/abc123...).
  2. Re-run the request from step 2 with that URL as your callback. You'll receive a new address_in.
  3. Keep the webhook.site tab open — the callback will appear there in step 4.
webhook.site gives you a public URL the moment the page loads — no signup needed

4. Send a test payment

Send a small amount of Litecoin (around $1, or about 0.005 LTC at recent prices) from any wallet to the address_in you generated in step 3.

Litecoin blocks confirm every ~2.5 minutes, so the webhook will fire shortly after you send the payment. The payload looks like this:

JSON
{
  "address_in": "LWHJgvkXuNcJ7pCxQ8Pj2oYjGZxKxcz...",
  "address_out": "LZj9QTqMR8K5y4rCtV1cLrLwZP9Q...",
  "txid_in": "f8e1d2...",
  "txid_out": "a3b9c4...",
  "confirmations": "1",
  "value": "500000",
  "value_coin": "0.005",
  "coin": "ltc",
  "result": "sent"
}
The webhook lands on webhook.site with the full payment details

BlockBee has confirmed the payment and forwarded it to your wallet. The integration is complete.

What's next

Pick the integration that fits your product:

Then harden the integration:

Stuck? Join us on Discord or contact support.