Developer Hub

    Everything you need to integrate CigalPay crypto payments into your application — REST APIs, SDKs, and interactive documentation.

    Quick Start

    1. Register & Get API Keys

    Create an account and retrieve your API keys from the dashboard.

    2. Install SDK

    Install our SDK for your preferred programming language.

    3. Integrate & Test

    Follow our documentation to implement and test the integration.

    REST APIs

    CigalPay exposes two independent OpenAPI 3.1 services. Both are browsable via the interactive API explorer below.

    Core API

    REST · OpenAPI 3.1

    Handles payments, wallets, transactions, webhooks, and merchant configuration.

    Base URL

    https://core-api.cigalpay.com

    Coins API

    REST · OpenAPI 3.1

    Provides real-time cryptocurrency rates, supported coins metadata, and conversion utilities.

    Base URL

    https://coins-api.cigalpay.com

    Interactive API Explorer

    Browse, try, and test every endpoint in our live Scalar-powered API reference — no extra tooling required.

    Unified API Reference

    Includes both Core API and Coins API — powered by Scalar.

    • Core APIhttps://core-api.cigalpay.com
    • Coins APIhttps://coins-api.cigalpay.com

    Code Samples

    Copy-paste examples hitting production endpoints. Replace YOUR_API_KEY with your key from the dashboard.

    JavaScript
    // Initialize CigalPay
    const cigalPay = new CigalPay({
      apiKey: 'YOUR_API_KEY',
      baseUrl: 'https://core-api.cigalpay.com'   // Core API
    });
    
    // Create a payment
    async function createPayment() {
      try {
        const payment = await cigalPay.createPayment({
          amount: '100.00',
          currency: 'USD',
          description: 'Order #1234',
          callbackUrl: 'https://your-website.com/payment-callback'
        });
    
        window.location.href = payment.checkoutUrl;
      } catch (error) {
        console.error('Payment creation failed:', error);
      }
    }
    
    // Fetch supported coins (Coins API)
    async function getSupportedCoins() {
      const res = await fetch('https://coins-api.cigalpay.com/coins');
      return res.json();
    }

    Documentation & Resources

    Core API Reference

    Payments, wallets, webhooks, and merchant endpoints — full OpenAPI 3.1 docs.

    Coins API Reference

    Live crypto rates, supported coin metadata, and conversion utilities.

    Webhooks Guide

    Set up and handle webhooks for real-time payment status updates.

    SDK Documentation

    Detailed guides for installing and using our SDKs in JavaScript, Python, and PHP.

    Join Our Developer Community

    Connect with other developers building on CigalPay, share knowledge, and get help with your integration.