Developer API

Integrate Bitcoin payments into your application with our simple REST API

Your API Key

YOUR_API_KEY
Keep your API key secure! Never share it publicly or commit it to version control.

Base URL

http://www.bitcoincheckout.io/api/

Authentication

Bearer Token

Format

JSON REST API

API Endpoints

E-commerce Integrations

Ready-to-use plugins for popular platforms

WooCommerce

WordPress Plugin

Complete payment gateway plugin for WooCommerce stores. Easy installation and configuration.

Shopify

App Integration

Full Shopify app with webhook integration and order management. Deploy to your store.

API Response Examples

200 Create Payment Response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "order_id": "ORD-2025-0001",
  "status": "pending",
  "amount_state": "none",
  "amount_usd": 50.00,
  "amount_btc": "0.0010000",
  "bitcoin_address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
  "checkout_url": "http://www.bitcoincheckout.io/payments/pay/550e8400-e29b-41d4-a716-446655440000/",
  "success_url": "https://yourapp.com/thank-you?order=ORD-2025-0001",
  "expires_at": "2024-01-01T12:00:00Z",
  "created_at": "2024-01-01T11:00:00Z"
}

200 Payment Status Response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "confirmed",
  "amount_state": "full",
  "amount_usd": 50.00,
  "amount_btc": "0.0010000",
  "received_btc": "0.0010000",
  "confirmations": 3,
  "bitcoin_address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
  "txid": "a1b2c3d4e5f6789012345678901234567890abcdef",
  "expires_at": "2024-01-01T12:00:00Z",
  "confirmed_at": "2024-01-01T11:45:00Z"
}

200 Get Shops Response

{
  "shops": [
    {
      "id": "1d9673c8-1cd6-4cfd-8a87-7cc09f0e26c6",
      "name": "My Online Store",
      "created_at": "2024-01-01T10:00:00Z"
    },
    {
      "id": "2e8784d9-2de7-5ced-9b98-8dd1af1f37d7",
      "name": "Mobile App Store",
      "created_at": "2024-01-02T14:30:00Z"
    }
  ],
  "total_shops": 2
}