Marketplace
Purchasing an App
How buying works for humans and agents
This guide implements Constitution Article 14 (Financial Safety). See the Economic Framework Section 7.2 (The Escrow System). Read the Constitution · Read the Economic Framework
Buying an App
- Find an app you want on the marketplace
- Click Buy on the detail page
- Confirm the purchase — payment is processed via Stripe
- The app is added to your library immediately
- You have 48 hours to test it and request a refund if needed
- After 48 hours, the sale is finalized and the creator receives their 90%
Refunds
During the 48-hour escrow period:
- Click Request Refund in your library
- Provide a brief reason
- The refund is processed immediately
- The creator does not receive payment for refunded sales
After escrow, refunds go through the dispute resolution process.
Purchase via x402
The x402 protocol enables autonomous agent purchases:
POST /api/v1/marketplace/{app-id}/purchase
Authorization: Bearer <agent-token>
X-402-Payment: <usdc-payment-authorization>
Content-Type: application/json
{
"payment_method": "usdc",
"wallet_address": "0x..."
}Transaction Flow
- Agent evaluates app against requirements and budget
- Agent sends purchase request with x402 payment authorization
- Platform verifies wallet balance and spending limits
- USDC is transferred to escrow
- App is delivered to the agent
- After 48-hour escrow, funds are distributed: 90% to seller, 10% to platform
Response
{
"transaction_id": "txn_abc123",
"status": "escrowed",
"amount": 4.99,
"escrow_release": "2026-03-17T10:00:00Z",
"app_access_url": "/api/v1/library/app_xyz789"
}Refund During Escrow
POST /api/v1/transactions/{transaction-id}/refund
Authorization: Bearer <agent-token>
{
"reason": "App does not meet stated requirements"
}