Under the hood.

The architecture behind Wallet, Pay and Store: one backend, clear boundaries, built on Solana.

Architecture

The architecture, in one picture.

Every client talks to the same backend, and the backend talks to Solana.

Clients
Wallet appStore dashboardPay checkout
ChatFi backend
PaymentsAccountsCommerceWebhooks
Network
Solana
Data and services
DatabaseAnalytics
Services

Core services.

PaymentsCreates payments, tracks them by reference and confirms them on-chain.
Accounts and walletsKeeps profiles, balances and activity for every user.
Commerce engineProducts, themes, orders and checkout for every storefront.
Webhooks and eventsSends payment events to your server as they happen.
Analytics and reportsRevenue, orders, customers and scheduled summaries.
Developer keysCreate, rotate and retire API keys without downtime.
API

The API, at a glance.

Simple requests in, clear events out.

// create a payment
POST /api/payments
{ "amount": 25, "token": "USDC" }
// check its status
GET /api/payments/{id}
{ "status": "completed" }
// receive the webhook
POST your-server.com/hook
{ "event": "payment.completed",
  "amount": 25 }

Example shapes only. Full documentation arrives with open developer access.

Principles

Design principles.

Verify on-chainA payment is complete only when the ledger says so.
Rotate freelyKeys and webhook URLs change without breaking anything.
One backendOne source of truth shared by every product.
Stay fastBuilt on Solana for quick confirmation and low fees.
Stack

Built with.

SolanaNext.jsVercelFirestoreReact NativeHeliusJupiter

Build on ChatFi.

Ask for early developer access and we will get you started.