Solana payment channels: refunds and merchant risks

Share This Post


A customer using a Solana payment channel can stop buying AI services before the channel has finished paying for them. If the operator goes silent in between, the customer needs a way to recover the remaining deposit, while the merchant needs its last bill to reach the blockchain before the recovery window closes.

That division of risk sits behind Solana Foundation’s Sept. 3 payment-channel announcement, which reported more than one million payments per second through a proxy using 100,000 unique wallets. The system lets agents spend against a prepaid ceiling through signed messages, reducing the need for a separate blockchain transaction for every delivery.

The customer funds the channel, the merchant supplies the service, and the operator runs the payment process. Each finances a different part of the interval between authorization and collection: customer deposits, operator advances of SOL for fees and refundable account rent, and merchant service awaiting on-chain payment.

A warning in the Foundation-linked benchmark template makes that interval consequential: restarting its default in-memory store can forfeit vouchers accepted but not yet settled.

The benchmark template reports about 1.09 million verified vouchers per second on a 128-core AVX-512 host during a sustained 10-minute run. It measures the payment gate returning a response without an upstream service. The result does not measure a million AI completions or independently settled mainnet transactions each second.

The gateway checks a signature and advances the channel’s cumulative spending record off-chain. That arrangement lets many small authorizations share the cost of on-chain operations. But the template says a deployment with durable session storage must be benchmarked separately because a durable write becomes part of the request path.

For a merchant, that distinction connects speed to recoverability. A fast acceptance record is useful for deciding whether to serve the next request. A surviving voucher is needed to support collection after a restart. The headline throughput figure does not establish the performance of both together.

The Foundation said Alibaba Cloud API endpoints were live at launch, and the program repository lists a mainnet deployment. The benchmark describes a test workload rather than measured commercial demand.

Related Reading

AI agents employ $24M market to act smarter as agentic crypto payments spread online

A refund has two routes

A payment channel starts with the customer depositing a ceiling into escrow held by the on-chain program. The program controls the balance and enforces its payment rules. Spending authorizations accumulate against that deposit, and closure provides a route back for the portion not recorded as settled.

When both sides cooperate, the designated payee, whose signature authorizes final closure, can submit final settlement, seal the channel and distribute the funds in a single transaction. Sealing freezes the settled total; distribution transfers the tokens. Merchant payout and customer refund can land together without a forced-close grace wait.

The September 3 session draft, a work-in-progress specification, describes the alternative for an unresponsive server: the customer requests forced close and starts a grace period. It recommends 900 seconds, or 15 minutes, configured per channel. The clock starts when the request is recorded on-chain, not when the customer first notices a stalled service.

In a sponsored stablecoin session, the operator pays normal fees and rent. A customer holding no SOL must therefore obtain SOL or a fee-paying submitter to initiate escape if that operator is unavailable. Permissionless recovery allows another party to help; a replacement submitter still has to be available and willing to pay the transaction fees.

After grace expires, anyone can submit the sealing instruction. The customer can then withdraw the deposit minus the on-chain settled amount. Alternatively, anyone can submit a distribution transaction that pays recorded merchant shares and the pending refund, using the payout split committed in the public opening transaction.

These recovery paths assume a functioning network and usable token accounts. The program documentation warns that an issuer-frozen escrow can block transfers and that distribution can redirect an unusable beneficiary or refund account’s share to the treasury. Those are separate limits on recovery, even when no operator signature is needed.

For the customer, practical delay includes arranging and landing the transactions as well as the configured timer. The fee burden depends on who submits them. The 15-minute recommendation describes one possible protocol wait; the per-authorization benchmark cost measures a different operation.