Nothing for the buyer to set up
No account with you, no API key, no invoice. The price travels with the response, and the payment with the next request.
Lotvs Pay is the seller’s side of agent payments. Install @lotvs/pay, put a price on a route, and AI agents pay for each request in digital dollars (USDC), straight to your address. Lotvs Pay never holds the money.
import { lotvsPay } from "@lotvs/pay";
app.get("/report", lotvsPay({ price: "0.10" }), (req, res) => { res.json(report);});That route now costs ten cents. A request without payment is answered 402 Payment Required with the price. An agent pays and asks again, your code runs, and the money moves from the agent’s wallet to your address.
Nothing for the buyer to set up
No account with you, no API key, no invoice. The price travels with the response, and the payment with the next request.
Priced per request
A cent, ten cents, two dollars fifty. You write the price in dollars, and it can depend on the request.
The money never passes through Lotvs
It goes from the agent’s wallet to your address. There is no balance of yours anywhere to wait for or withdraw.
Nobody pays for a failed request
By default the payment is checked before your code runs and collected only after it succeeds.
402 Payment Required. Any client that speaks x402 can pay you, in version 1 or 2 of the protocol.See How Lotvs Pay works for the full exchange.
Any x402 buyer: an agent or client that speaks x402 and holds USDC on a network you take. It pays you directly, and Lotvs holds nothing on the way.
You do not need a Lotvs account. Any Solana or Base address works. A Lotvs account is one way to hold the dollars you earn and withdraw them to a bank.