logo

Microflux Documentation

A simple guide to integrate Web3 micropayments using Microflux API on Solana.

Overview

Microflux is a Web3 micropayment platform built on Solana, enabling developers and users to send and receive payments instantly with ultra-low fees. It supports Solana Pay, QR payments, and on-chain transparency — designed to make Web3 transactions fast and effortless.

Quick Start

1. Create a Microflux Account

Visit Microflux.fun and connect your Solana wallet (Phantom or Solflare). Once connected, you can start sending or receiving payments using our API or QR interface.

2. Generate a Payment

POST https://api.Microflux.fun/create-payment

{
  "amount": 0.5,
  "currency": "SOL",
  "receiver": "YourWalletAddressHere",
  "description": "Test payment from Microflux API"
}

Response:

{
  "status": "success",
  "payment_id": "rp_83ndsk123",
  "qr_url": "https://Microflux.fun/pay/rp_83ndsk123"
}

Verify a Payment

GET https://api.Microflux.fun/verify-payment?payment_id=rp_83ndsk123

Response:

{
  "status": "confirmed",
  "signature": "5CtfJZ1yP...XYZ",
  "timestamp": "2025-10-29T04:12:00Z"
}

Integration Example (JavaScript)

async function sendPayment() {
  const response = await fetch("https://api.Microflux.fun/create-payment", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      amount: 0.1,
      currency: "SOL",
      receiver: "9rY4XcZtN1QvDf...",
      description: "Web3 micropayment test"
    })
  });
  const data = await response.json();
  console.log("QR URL:", data.qr_url);
}

Solana Pay QR Integration

import QRCode from "qrcode";

const paymentURL = "https://Microflux.fun/pay/rp_83ndsk123";
QRCode.toCanvas(document.getElementById("canvas"), paymentURL, function (error) {
  if (error) console.error(error);
  console.log("QR code generated!");
});

Security & Transparency

  • All payments are on-chain and verifiable on Solana Explorer.
  • API requests are protected with secure validation.
  • No wallet keys are stored by Microflux.

Coming Soon

  • SPL Token payments (USDC, BONK, RAY)
  • Developer analytics dashboard
  • SDK & npm package (@Microflux/sdk)
  • Webhook notifications for payment confirmations
Microflux