Skip to main content

Micropayments with x402 Protocol

GRIPLOCK integrates the x402 protocol—an open standard for internet-native payments. Pay for APIs, AI services, and content with micropayments as small as $0.001.

What is x402?

x402 uses the HTTP 402 “Payment Required” status code to enable machine-to-machine payments. When a service requires payment, it responds with payment details. Your wallet automatically handles the transaction.

Why Micropayments?

Pay-Per-Use

Only pay for what you actually use. No subscriptions, no minimums.

AI Agent Ready

Autonomous agents can transact without human approval for small amounts.

Near-Zero Fees

Solana’s low fees make micropayments economically viable.

Instant Settlement

Transactions settle in seconds, not days.

Use Cases

API Access

Pay per API call instead of monthly subscriptions:
Service TypeTypical CostExample
LLM Tokens$0.001/1K tokensChatGPT, Claude APIs
Data Queries$0.01/queryMarket data, analytics
Compute$0.001/secondServerless functions
Storage$0.001/MBFile hosting

AI Agents

Configure spending limits for autonomous agents:
// Agent spending configuration
{
  "maxPerTransaction": "0.10",  // Max $0.10 per transaction
  "dailyLimit": "5.00",         // Max $5 per day
  "approvedDomains": [          // Only pay these services
    "api.openai.com",
    "api.anthropic.com"
  ]
}

Content Access

Unlock articles, videos, and media with micropayments:
  • Pay $0.05 to read an article (no subscription needed)
  • Pay $0.10 for a song or video
  • Pay $0.25 for premium features

Dashboard Features

MICROPAY Menu

Access micropayment controls from the navigation bar:
FeatureDescription
Transaction HistoryView all x402 payments with details
Spending LimitsConfigure daily/per-transaction limits
Auto-Pay SettingsSet thresholds for automatic approval
Approved ServicesWhitelist domains for seamless payments

Auto-Approve Thresholds

Set amounts that auto-approve without confirmation:
Transactions under $0.05 approve automatically. Ideal for API calls.
Single tap to confirm. No PIN required.
Requires NFC card + PIN verification for security.

Technical Integration

For Developers

GRIPLOCK wallets support x402 natively. Services can request payment:
// Service responds with 402
HTTP/1.1 402 Payment Required
X-Payment-Amount: 0.01
X-Payment-Currency: USDC
X-Payment-Address: YOUR_SOLANA_ADDRESS
X-Payment-Network: solana

// GRIPLOCK wallet handles payment automatically
// Then resends request with payment proof

Supported Networks

NetworkCurrencyStatus
SolanaUSDCActive
BaseUSDCActive
EthereumUSDCComing Soon

Privacy & Control

Micropayments are made from your ephemeral wallet. Transaction history is only visible when authenticated with NFC + PIN.
  • Spending limits: Cap daily and per-transaction amounts
  • Domain whitelists: Only pay approved services
  • Transaction logs: Full visibility into all payments
  • Instant disable: Turn off auto-pay anytime

Next Steps