Guide

Sell your product

From an API key to a live checkout, fulfilled by webhooks. Every step checks out in test mode.

What you'll build

  1. Your server → QBitFlow API: Creates a checkout for the order
  2. QBitFlow API → Your server: Its link and pay@… id
  3. Your server → Customer wallet: Sends your customer to the link
  4. QBitFlow API → Customer wallet: Prepares the transaction
  5. Customer wallet → Payment contract, on-chain: Pays, signed once
  6. Payment contract → Your wallet, on-chain: Your share, QBitFlow's fee split off
  7. QBitFlow API → Your server: payment.completed
  8. Your server → Customer wallet: Fulfils the order
Blue mark: money, on-chain. The rest moves no funds.
  • A checkout for your product, fulfilled when payment.completed arrives, never on a redirect
  • Payments, refunds and an accounting export, with errors and retries handled safely
  • The same integration in live, with nothing left behind in test

For a store, an app or a game selling its own goods once: an order, a licence, a lifetime plan. Billing every month too? The subscriptions guide builds on the same set-up.

The steps

Before you start

  • A server that keeps a secret (your API key) and receives HTTPS requests from the internet (your webhooks).
  • A wallet of your own on a network QBitFlow supports (Ethereum, Base and Solana), and the same wallet on its test network.
  • One of the four SDKs (TypeScript, Python, Go and PHP), or plain HTTP: every example has its cURL.