> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blockra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Blockra Docs: Crypto Payment Gateway API for Developers

> Blockra lets you accept Bitcoin, Ethereum, Litecoin, USDC, and USDT payments via a simple REST API. Get paid in crypto, settle in fiat.

Blockra is a crypto payment gateway. You charge your customers a fiat amount, Blockra handles the exchange rate, generates a deposit address, watches the blockchain, and credits your merchant balance once the payment confirms. This documentation covers everything you need to integrate Blockra into your product.

<CardGroup cols={2}>
  <Card title="Introduction" icon="book-open" href="/introduction">
    Learn how Blockra works, what assets are supported, and how the payment lifecycle works.
  </Card>

  <Card title="Authentication" icon="key" href="/authentication">
    Create an API key and learn how to authenticate every API request.
  </Card>

  <Card title="Accept Payments" icon="circle-dollar-to-slot" href="/guides/accept-payments">
    Step-by-step guide to creating a payment and showing a deposit address to your customer.
  </Card>

  <Card title="Hosted Checkout" icon="arrow-up-right-from-square" href="/guides/hosted-checkout">
    Let Blockra host the coin-selection and payment UI — just redirect the buyer.
  </Card>

  <Card title="Webhooks" icon="webhook" href="/webhooks">
    Get real-time notifications when payments are created, confirmed, or expired.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/create-checkout-session">
    Full reference for every Blockra API endpoint with request and response examples.
  </Card>
</CardGroup>

## How it works

<Steps>
  <Step title="Create a payment">
    Call `POST /payments` with the fiat amount and the crypto asset your customer will pay in. Blockra locks the live exchange rate and returns a deposit address.
  </Step>

  <Step title="The customer pays">
    Show the returned deposit address and exact crypto amount to your customer. They send the funds from their wallet.
  </Step>

  <Step title="Blockra settles">
    Once the transaction reaches the required on-chain confirmations, the payment moves to `completed` and your balance is credited the net amount (total minus the Blockra fee).
  </Step>

  <Step title="Withdraw your balance">
    Withdraw your available balance to any external wallet from the Blockra dashboard whenever you like.
  </Step>
</Steps>
