For API developers
Accept USDC payments on any HTTP endpoint. Five lines of code.
import { Mppx } from 'mppx';
import { solanaServer } from '@solobank/sdk/mpp';
const mppx = Mppx.create({
methods: [
solanaServer({
recipient: 'YOUR_SOLANA_WALLET',
}),
],
});Fast settlement
Payments confirm on Solana before the API response is sent.
Direct to wallet
USDC goes straight to your Solana address. No intermediary, no custodian.
Minimal gas
<$0.001 per transaction. Cheaper than a credit card swipe fee.
For AI agents
No API keys. No credit cards. Just money.
Autonomous payments
Agents pay APIs without human intervention. Just a wallet and USDC.
On-chain verification
Every payment is cryptographically provable via Solana transaction signatures.
Multi-account support
Aggregate balances across multiple SPL token accounts automatically.
import { Connection, Keypair } from '@solana/web3.js';
import { Mppx } from 'mppx/client';
import { solanaClient } from '@solobank/sdk/mpp';
const connection = new Connection(rpcUrl);
const signer = Keypair.generate();
const mppx = Mppx.create({
methods: [
solanaClient({
connection,
signer: { publicKey, signTransaction },
}),
],
});How MPP works
The HTTP 402 Payment Required flow
Request
Agent calls a paid API endpoint.
402 Response
Server responds with 402 Payment Required + payment challenge.
Pay on Solana
Agent signs a USDC transfer on Solana.
Retry with proof
Agent retries the request with the Solana signature as credential.
Why Solana
The fastest, cheapest settlement layer for machine payments.
Payments confirm in under a second. No waiting, no polling.
Thousands of payments for pennies. Cheaper than any card network.
Not bridged, not wrapped. Devnet USDC test mint today, mainnet-ready.