OwnPay Developer Platform ownpaylab.dev • Base 8453
TESTNET (84532) MAINNET (8453)
Retail POS Main Hub →

Developer & AI Agent Platform

Build non-custodial, sub-cent payment rails on Base for human shoppers and autonomous LLM agents.

Canonical API Endpoint Active: /api/v1
/api/v1 (Planned Domain: api.ownpay.dev)

One unified backend routing payment intents directly to Base L2.

Revenue Model 0 Subscriptions
$0/mo • $0/yr

Pure transaction-based fees (0.25% Starter • 0.10% Verified • 0.05% Enterprise).

Active AI Agents Loading...
0 Smart Accounts

Governed by centralized spending policies and human-in-the-loop gates.

Quickstart Matrix

1. Initialize TypeScript SDK

npm install @ownpay/sdk import { OwnPayClient } from '@ownpay/sdk'; const client = new OwnPayClient({ apiKey: 'own_test_...' });

2. Initialize Python SDK

pip install ownpay from ownpay import OwnPayClient client = OwnPayClient( api_key="own_test_..." )

Interactive API Explorer

Execute live queries against canonical OwnPay API endpoints with real-time payload feedback.

Live Response Inspector Waiting
// Response will appear here after execution...

Granular API Key Management

Scoped credentials isolated between sandbox (Base Sepolia) and live production (Base Mainnet).

Key Name Environment Prefix / Mask Scopes Created Status Action
Loading API keys...

Autonomous Agent Lifecycle

Deploy autonomous agent identities equipped with deterministic Smart Accounts on Base.

Agent Identity Status Smart Account Wallet USDC Balance Daily Limit Approval Threshold Kill-Switch
Loading agents...

Agent Smart Accounts & Gasless Sponsorship

EIP-4337 smart accounts derived per autonomous agent with gasless paymaster sponsorship on Base.

Paymaster Sponsorship Engine EIP-4337 Active

OwnPay automatically sponsors L2 execution gas for eligible autonomous payment intents via Paymaster policy.

Target Chain: Base (8453 / 84532) USDC Paymaster: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 Bundler: Non-custodial UserOp bundler
Deterministic Derivation Owner-Bound

Each agent wallet is cryptographically bound to its parent merchant owner and cannot be accessed across merchants.

Derivation: HMAC-SHA256(merchant_id + agent_id) Signature Format: EIP-712 / Scoped Session Key

Agent Spending Policies & Risk Engine

Centralized policy enforcement ensuring autonomous agents cannot drain funds or bypass limits.

Policy Governance Rules

1. Per-Transaction Limit

Hard cap on any individual transaction. Requests above this cap are strictly rejected with 403.

2. Daily Aggregate Limit

Rolling 24-hour spending ceiling across all payments initiated by the agent.

3. Human Approval Gate

Payments exceeding autonomous allowance are paused in the approval queue pending human authorization.

Human-in-the-Loop Approvals Queue

High-value autonomous transactions that exceed automated spending policy thresholds require human consent.

Approval ID Agent Amount Destination Recipient Reason Status Review Action
Loading pending approvals...

Model Context Protocol (MCP) Server

Standardized LLM integration for Claude Desktop, Cursor, and autonomous agent frameworks.

Claude Desktop Config
{ "mcpServers": { "ownpay": { "command": "node", "args": ["packages/mcp-server/dist/server.js"], "env": { "OWNPAY_BASE_URL": "https://ownpaylab.dev", "OWNPAY_API_KEY": "own_test_your_key_here" } } } }
10 Standard MCP Tools Ready
  • create_payment_intent — Base payment intent QR
  • check_intent_status — Real-time onchain status
  • request_agent_payment — Autonomous session spend
  • check_wallet_balance — Smart account USDC balance
  • request_x402_quote — HTTP 402 challenge quote
  • verify_wallet — EVM validation & readiness
  • check_limits — Query remaining daily allowance
  • list_agents — Active registered agents
  • get_agent_policy — Detailed spending rules
  • create_agent_payment_request — Policy-gated payment

HTTP 402 Machine Paywall Protocol

Autonomous micro-billing for AI compute, APIs, and data feeds without subscriptions.

Interactive 402 Challenge Demo
// Click button above to inspect 402 machine challenge response...

Official SDK Ecosystem

Type-safe clients for Node.js, Next.js, and Python backend services.

TypeScript / Node.js SDK @ownpay/sdk
npm install @ownpay/sdk import { OwnPayClient, OwnPayWebhook } from '@ownpay/sdk'; const client = new OwnPayClient({ apiKey: process.env.OWNPAY_API_KEY }); // Create payment intent const intent = await client.intents.create({ orderId: 'order_123', amount: 49.99, currency: 'USD' });
Python SDK packages/python-sdk
pip install ownpay from ownpay import OwnPayClient, OwnPayWebhook client = OwnPayClient( api_key="own_test_..." ) intent = client.intents.create( order_id="order_123", amount=49.99, currency="USD" )

Base Sepolia Sandbox & Faucet

Test complete checkout and agent workflows without real capital. Strictly isolated from live financial ledgers.

Testnet Intent Simulator Base Sepolia

SSRF-Protected Webhook Tester

Dispatch signed test webhook events to your destination endpoint with real-time SSRF defense.

Dispatch Test Event
SSRF Protection Policy Guarded
  • 🔒 Localhost Blocked: 127.0.0.1 and [::1] rejected.
  • 🔒 RFC1918 Blocked: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.
  • 🔒 Cloud Metadata Blocked: 169.254.169.254 protected.
  • 🔒 DNS Rebinding Protected: Target host verified before dispatch.
// Delivery status will appear here...

Live Transaction Ledger & Stream

On-chain transaction logs on Base with verified transaction hashes and instant WebSocket broadcast.

● Connecting... Public Demo
Live Broadcast Channel: /ws/live-stream Base L2 Settlement

Subscribed clients receive immediate event emissions when payments settle on Base. Isolated by merchant tenant credentials.

Awaiting incoming payment confirmation events...
Order / Intent Source USDC Amount Network Status Explorer
Loading transactions...

Security & Operational Audit Trail

Immutable event log of key creations, agent freezes, policy modifications, and payments.

Action Entity Actor Timestamp
Loading audit logs...

Canonical API Documentation

Reference guide for authentication, idempotency, machine payments, and Base settlement.

OpenAPI 3.1 Specification

Download or integrate our machine-readable OpenAPI specification directly into Swagger or Postman:

Open GET /api/v1/openapi.json →

Authentication Header Standard

# Live Base Mainnet (8453) Authorization: Bearer own_live_xxxxxxxxxxxxxxxxxxxxxxxx # Testnet Base Sepolia (84532) Authorization: Bearer own_test_xxxxxxxxxxxxxxxxxxxxxxxx # Autonomous Agent Protocol Authorization: Bearer own_agent_xxxxxxxxxxxxxxxxxxxxxxxx