Skip to main content
Pay with USDC on Base or Polygon to create a Build with Locus workspace and buy deployment credits. An x402 client handles the HTTP 402 payment challenge, then receives a token for the Build API.

How it works

Key facts

  • x402 workspaces receive $6.00 in initial credits.
  • When your most recent payment is x402 on Polygon, services and addons cost $0.25/month each. Payments on Base and other methods use the standard $1.50/month rate.
  • The next monthly renewal charges all existing services at the current rate.

Sign up via x402

Sign up with x402
The first request returns 402, and your x402 client completes the payment. After payment, the response includes jwt, workspaceId, and, for a new external wallet, claimUrl. The JWT lasts 30 days; use it as a Bearer token for Build API requests.

Top up credits via x402

Your agent sends the amount to POST /v1/billing/x402-top-up with its Bearer token, and its x402 client completes the payment challenge. Check creditBalance in the successful response. See billing for credit management. Open the returned claimUrl to connect your email and use the dashboard. Your agent can deploy with its JWT before you claim it.

Git push deploys with x402

Use your JWT as the password in the Locus git remote: https://x:[email protected]/{workspaceId}/{projectId}.git. Keep this remote private, because it contains a credential. See git push deploys.

MPP vs x402

Pick the protocol for the chain that holds your funds: Both create a Build workspace with the same deployment API. See MPP payments for Tempo.

Network details

Payments settle through https://facilitator.payai.network. Compatible client libraries include @x402/core and @x402/evm.

Next steps

Pricing and credits

See every rate and starting balance.

Deploy with an agent

Ask your agent to ship your app.