Enable AI transactions with human oversight, budget controls, and zero friction.
No browser, no context switching, no headaches, it just works.
Our platform gives AI the ability to request payments without direct access to financial credentials or payment method details. Control always stays in your hands.
Enable your AI agents to pay for services without switching to a browser or complex setup
Set budgets, transaction limits, and approval workflows for your AI transactions
Human-in-the-loop oversight for all transactions that matter
import { Fewsats } from 'fewsats';
// Configure the SDK
const client = new Fewsats({
apiKey: process.env.FEWSATS_API_KEY,
});
// Make HTTP request to external service
const response = await fetch('https://some-api.com/endpoint');
// Handle HTTP 402 payment required error
if (response.status === 402) {
// The response contains information about available offers
const data = await response.json();
const offerId = data.offers[0].id; // Take first offer
const resp = await client.payOffer(offerId, data);
// resp.status == 'needs_review'
}
Reach users where they are: AI assistants, copilots, and agent networks
Enable micropayments and agent-to-agent transactions with minimal overhead
Simple API implementation with built-in payment processing and user authentication
// Express route handler
app.get('/paywalled-resource', async (req, res) => {
if (needsToPay(req.userId)) {
const offers = [
{
offerId: 'offer_123',
amount: 1, // USD Cents
currency: 'USD',
description: 'Test payment',
title: 'One Cent Offer',
}
];
const response = await client.createOffers(offers);
return res.status(402).json(response);
}
// Handle normal response
});
Support traditional and next-gen payment networks out of the box
Low-fee ACH and Wire transfers
Fast and universal payment methods with built-in consumer protections
Support for stablecoins enabling global, borderless transactions