The USDT payment gateway: add it in 20 lines, and customers pay with just an email, no gas.
Settle is the payment gateway for USDT on Whitechain. Cards take a percentage and settle in days. Crypto payments ask the customer for a wallet and gas. Settle removes both problems: a merchant gets USDT in their own account in seconds, and the customer only needs an email address.
There are three ways to get paid. On a website, a store installs our npm package, creates an order and opens Settle Checkout, the same way it would add a card gateway. It takes about 20 lines. With a link, a merchant creates an invoice or a subscription plan and shares it. From AI agents, a store puts a price on one route, and an agent can buy over standard x402 with no account, no API key and no gas.
The customer logs in with an email and signs one message. Our relayer sends the transaction and pays the gas, and the contract repays it from the merchant's share in the same transaction. That is about 0.055 USDT on any amount, and Settle adds no fee of its own. On a 1,000 sale, a card gateway at 3% takes about 30.
Every payment lands in one dashboard, with refunds, subscriptions, reminders, receipts, webhooks and a CSV export. Invoice details live on Arkiv with customer details encrypted, and PDF invoices are stored encrypted on Swarm. Settle is live on Whitechain Sepolia and Arkiv's Rabdi testnet, using test USDT.
Contracts: three Solidity contracts built with Foundry and deployed on Whitechain Sepolia, with 100% test coverage. InvoiceRegistry handles invoices, gasless payments and refunds. It holds no funds and has no owner. Subscriptions takes recurring payments from one signed allowance, capped by the customer. GaslessTransfer sends USDT with no gas for withdrawals.
Gasless payments: USDT on Whitechain supports EIP-3009, so a customer signs one message and anyone can submit it. We use receiveWithAuthorization so only our contract can use the signature, and its nonce is tied to one invoice and one payer. The relayer pays gas in WBT, and the contract repays it in USDT in the same transaction. The relayer can't change an amount or redirect money, because the signature fixes both.
App and SDK: Next.js, React and TypeScript on Vercel, with Privy for email login. The app also runs the relayer, an x402 facilitator and checkout.js. The SDK is published on npm as @akhr2405/settle-pay, with API keys, orders, a checkout script, webhooks and payment verification that reads the chain. Chai Point is a separate demo store that installs the package from npm and takes payment in 22 lines.
Partner technologies: Whitechain is where all the money moves, and its EIP-3009 USDT is what makes email-only checkout possible. Arkiv holds what the contract doesn't: business names, descriptions, encrypted customer details, webhook settings, delivery logs and agent sales, across six entity types. Every read filters on our writer wallet. Swarm stores PDF invoices, encrypted with AES-256-GCM before upload, and Arkiv keeps the swarm_reference that points to each file.
The hacky part: an agent has USDT but no WBT, so we run our own x402 facilitator. The store answers 402, the agent signs a standard x402 payment, and the relayer sends one Multicall3 transaction in which the agent pays the store and the store repays the gas. Both happen or neither does. We save each sale to Arkiv before paying, and check the token's record of used signatures, so a retry finds the payment and never charges twice. We tested this by killing the server with the payment already on-chain. Our demo agent is a cafe's restock agent run by Gemini.

