guides
intermediatedeveloper15 minutes

set up agent payments with x402 or MPP

let your AI agent pay per launch with x402 crypto or MPP Stripe - no account, no API key, no human in the loop.

steps

1

understand the two protocols

x402 uses USDC on Base (crypto) at $0.55/launch. MPP uses Stripe (card) at $0.60/launch. x402 includes 5 free launches/month. no account or signup needed for either.

2

choose your protocol

x402 if your agent already has a crypto wallet. MPP if you prefer standard card payments. both produce the same result.

most agents default to MPP since it doesn't require managing crypto keys.

3

configure x402 payments

agent needs a wallet with USDC on Base. include the payment proof in the X-PAYMENT header. the x402 facilitator handles verification. see https://www.x402.org for the spec.

testnet available for development.

4

configure MPP payments

agent pays with a standard card via Stripe's machine payment protocol. include the MPP payment token in the request. see https://www.mppx.dev for the spec.

5

make your first paid launch

POST to api.dropspace.dev/launches with the payment header. the response includes post URLs for each platform. x402 wallets get 5 free launches/month.

use dropspace_platforms to post to official accounts - no OAuth setup needed.

6

buy credit packs (MPP only)

MPP agents can prepay with credit packs: 20 credits for $12.00 via POST /credits/purchase. credits are deducted automatically on launch creation - no payment credential needed for each request. check balance with GET /credits.

credit packs reduce Stripe fees from 53% to 8% by batching charges. x402 wallets don't need credits - crypto fees are already low.

7

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 launches 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 launches/month for x402 wallets.
  • $0.55 per launch via x402 (crypto) or $0.60 per launch via MPP (card) after that.
  • 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 20 credits for $12.00 ($0.60/credit) via POST /credits/purchase.
  • credits are deducted automatically when creating launches - no payment credential needed.
  • if credits run out, the next launch returns 402 - purchase another pack to continue.
  • credits never expire and are refunded automatically if launch creation fails.
  • x402 wallets cannot buy credits - crypto settlement already has low fees.

ready to launch?

launch across 10 platforms with AI-generated content. free to start, no credit card.