AI Agents Pay. You Stay in Control.

Payment Infrastructure
for Autonomous Agents

The trustless foundation for AI agent payments on Solana. Fine-grained spending controls for users. Cryptographic payment verification for merchants.

Live on Solana Devnet
x402 Compatible

The Problem We're Solving

AI agents can think and act, but they can't pay safely

No Trust Boundary

Give an agent wallet access = they can drain everything. No spend limits, no revocation.

No Payment Proofs

Merchants must trust API calls. No cryptographic way to verify payment origin or intent.

HTTP 402 Incomplete

Payment Required status was never standardized. Agents lack a trustless payment handshake.

Three Critical Components

Everything agents need to pay securely

Infrastructure Layer

On-chain Solana program providing trustless foundation for delegated payments

  • Mandate System
  • Spending Allotments
  • Time-bound Access
  • Amount Limits

Full TypeScript SDK

Complete SDK enabling seamless integration for developers building with agents

  • Simple API
  • Event Listeners
  • Type Safety
  • Error Handling

x402 Trust Engine

Enables x402-compliant payments with blockchain-verified payment proofs

  • Payment Gating
  • Proof Verification
  • Order Hashing
  • Merchant Discovery

How It Works

Complete x402 Payment Challenge Flow

1

User Setup

Create mandate, deposit funds, create spending allotments for agents

2

Agent Requests Service

Agent posts order to merchant API

3

HTTP 402 Response

Merchant responds with Payment Required + payment data

4

On-Chain Payment

Agent executes payment via redeem(), creating verifiable ticket

5

Proof Submission

Agent submits payment proof (ticket/hash) to merchant

6

Verification & Unlock

Merchant verifies on-chain and grants API access

Simple Integration

Get started in minutes

import { AugenPayClient } from "augenpay-sdk";

// Initialize client
const client = new AugenPayClient(
  userKeypair, 
  "devnet", 
  AUGENPAY_PROGRAM_ID
);

// Create mandate with spending limits
const { mandate, vault } = await client.createMandate(
  userKeypair.publicKey,
  mintPublicKey,
  {
    perTxLimit: 100_000000,  // 100 tokens max per tx
    expiryDays: 30           // Valid for 30 days
  }
);

// Give agent spending power
const { allotment } = await client.createAllotment(
  mandate,
  agentPublicKey,
  userKeypair.publicKey,
  {
    allowedAmount: 200_000000,  // 200 tokens total
    ttlHours: 24                // Valid for 24 hours
  }
);

// Agent executes payment
const { ticket } = await client.redeem({
  allotment,
  mandate,
  agent: agentKeypair.publicKey,
  merchant: merchantPublicKey,
  amount: 20_000000,
  orderData
});

Ready to Build?

Start building trustless payment flows for your AI agents today

Program ID

6RAnxyQmKfsKxDfpFu2Axry4Hah7aFM8zb2oS3oG41qp