Skip to content

Introduction

FlowPayra Lite is a self-hosted, self-custodial crypto payment system that a merchant deploys on its own infrastructure. One deployment serves one business. Payers pay from their own wallets at the checkout, and a smart contract moves the funds straight to the addresses the merchant registered, within the same on-chain transaction. The system never holds the funds.

Checkout with a connected wallet, token and network selected

  • Merchants who want to receive crypto directly at their own wallet addresses, without a third-party custodian.
  • Businesses that split a single payment between several recipients (platform, vendor, sales channel and so on).
  • Teams able to run one server process and a PostgreSQL database.

For multi-merchant or custodial requirements, see the Enterprise edition.

Feature Description
One-time payments The business system creates an order through the API, or an admin creates a payment link in the console; the payer picks a token and a network at the checkout and pays
Subscriptions The payer approves a capped allowance once; each period is then charged automatically according to the plan. Trials and an immediate first charge are supported
Atomic splits An order, or each subscription charge, can be split by ratio or by “fixed amount + ratio” between up to 10 payees, in the same on-chain transaction
Refunds Full or partial refunds of a confirmed payment are started in the console, sent from the receiving wallet back to the payer address, and booked once verified on chain
Gas sponsorship Per chain, an admin chooses whether payers pay the network fee or the system’s hot wallet sponsors it; with sponsorship the payer only signs
Risk address screening Optional payer screening against the merchant list, imported files, URL feeds, the OFAC SDN list and third-party risk providers; payee addresses are checked at registration and daily afterwards
Console Orders, subscriptions, refunds, payees and split rules, chains and tokens, gas and hot wallet, risk controls, alerts, reports, team and audit log
API and webhooks A REST business API (described in OpenAPI), HMAC-signed webhooks, an event stream, and a separate test mode (Sandbox)

The checkout and the console are available in Simplified Chinese and English, in light and dark themes.

Console overview page

  • Funds only move through contracts. A payment calls the merchant’s own payment contracts (the merchant contracts), which distribute the tokens to the payee addresses within that transaction. Neither the database nor the server touches the money.
  • None of the keys the system holds can move payer or merchant funds.
    • Quote signer key: signs every quote and subscription terms; its address is embedded in the merchant contracts. If it leaks, the damage is limited to forged quotes and subscription cancellations; it cannot transfer funds.
    • Hot wallet: holds a small amount of native coin, used to sponsor gas and to send subscription charges.
    • Master key: encrypts sensitive settings in the database (RPC URLs, webhook secrets, email addresses and so on) and lives only in the server configuration or environment.
  • Refunds do not pass through the system either. The receiving wallet sends the refund straight back to the payer address; the system verifies and records it.

The boundaries of each key and the contract security design are described in Security model.

FlowPayra Lite is a single binary, flowpayra-lite, plus PostgreSQL (15 or later). The checkout and console front ends, the contract code and the database migrations are compiled into the binary.

Component Role
Checkout The pages payers use: /pay/{orderId} (one-time payment), /pay/sub/{id} (subscription), /my/subscriptions (My subscriptions), /help (payment help)
API The business API (/v1/…), the checkout API and the console API
Indexer One per chain; reads the merchant contracts’ events, books payments once confirmed and handles chain reorganisations
Keeper Sends each subscription charge and on-chain cancellation according to the plan
Relayer With gas sponsorship, submits the transactions payers have signed, from the hot wallet
Notifier Delivers webhooks, emails and alerts
Console Served at /admin/; can be bound to its own listener
PostgreSQL Stores orders, subscriptions, configuration and events

By default every role runs in one process; multi-instance deployments can split roles, see Deployment.

Category Scope
EVM mainnets Ethereum, BNB Smart Chain, Polygon, Avalanche C-Chain, Arbitrum One, OP Mainnet, Base, X Layer, Linea, Scroll, Gnosis, Celo, Arc, Robinhood Chain
Other networks TRON, Solana
Testnets The public testnets of the networks above (Sepolia, Base Sepolia, TRON Nile, Solana Devnet and others)
Custom networks Admins can add other EVM-compatible networks from the console
Tokens Default stablecoins USDT, USDC, DAI, PYUSD and EURC; each network’s native coin; custom tokens listed by an admin

The full list, confirmations and token requirements are in Networks and tokens; wallet coverage is in Wallet support.

FlowPayra Lite targets the single-merchant, self-custodial case. Multi-merchant and custodial scenarios are served by the FlowPayra Enterprise edition.

  • Quickstart: complete a first payment locally or on a testnet.
  • Deployment: Docker deployment, configuration, backups and upgrades.
  • Integration guide: from creating an order to receiving webhooks.