set up agent payments with x402 or MPP
let your AI agent pay with x402 crypto or MPP Stripe credit packs - no account, no API key, no human in the loop.
steps
understand the two protocols
x402 uses USDC on Base (crypto) at $0.30 a post. MPP uses Stripe and sells credit packs only: 40 credits for $10 ($0.25 a post). x402 includes 5 free posts per wallet a month. no account or signup needed for either.
choose your protocol
x402 if your agent already has a crypto wallet. MPP if you prefer Stripe and prepaid credit packs. both produce the same result.
x402 pays per post with no setup beyond a funded wallet. MPP needs a credit pack bought first, and needs no crypto keys.
configure x402 payments
agent needs a wallet with USDC on Base. include the payment proof in the PAYMENT-SIGNATURE header. the x402 facilitator handles verification. see https://www.x402.org for the spec.
testnet available for development.
configure MPP payments
agent pays through Stripe's machine payment protocol. buy a credit pack first, then include the MPP payment credential in the request. see https://www.mppx.dev for the spec.
make your first paid post
POST to api.dropspace.dev/launches with the payment header. the response includes post URLs for each platform. x402 wallets get 5 free posts/month.
use dropspace_platforms to post to official accounts - no OAuth setup needed.
buy credit packs (MPP only)
MPP agents pay with credit packs: 40 credits for $10 via POST /credits/purchase. credits are deducted automatically on post creation - no payment credential needed for each request. check balance with GET /credits.
x402 wallets don't need credits - crypto fees are already low.
handle errors and monitor usage
402 means payment required (free tier exhausted and no credits). 400 means invalid payment proof. track usage via the response headers.
the /usage endpoint shows remaining free posts and credit balance.
protocol comparison
x402 is crypto-native - no intermediary, USDC on Base. MPP is card-native - Stripe-backed, any card. both are open protocols designed for machine-to-machine payments. pick whichever fits your agent's existing payment infrastructure.
pricing
- 5 free posts/month for x402 wallets.
- $0.30 a post via x402 (crypto) after that.
- MPP (Stripe) sells credit packs only: 40 credits for $10 ($0.25 a post).
- no subscription, no API key, no account needed.
- agents get access to all 7 auto-post platforms via official dropspace accounts.
credit packs
- MPP agents can buy 40 credits for $10 ($0.25/credit) via POST /credits/purchase.
- credits are deducted automatically when creating posts - no payment credential needed.
- if credits run out, the next post returns 402 - purchase another pack to continue.
- credits never expire and are refunded automatically if post creation fails.
- x402 wallets cannot buy credits - crypto settlement already has low fees.
ready to post?
post across 10 platforms with AI-generated content. free to start, no credit card.