← Back to x402

Test Paywall Builder

Generate custom x402 paywall endpoints for testing agent payment flows. Configure the network, amount, and recipient to create a paywall URL that returns 402 Payment Required.

Payments are settled by the Primer facilitator.

Address that receives the USDC payment. Use your own address to test the flow without losing funds.
Amount in USDC. Minimum 0.000001 (1 micro-USDC).

PAYWALL ENDPOINT

How to use this paywall with Primer's Agent Manifold:

  1. Configure an AI agent to request this URL
  2. The agent receives 402 Payment Required with x402 headers
  3. The agent requests a payment signature from the Agent Manifold
  4. If necessary, manually approve the payment
  5. The agent sends the signed payment to the facilitator
  6. The facilitator settles on-chain and returns a receipt
  7. The agent retries with the payment header and gets the content

USDC Contract Addresses:

Base: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Base Sepolia: 0x036CbD53842c5426634e7929541eC2318f3dCF7e
SKALE Base: 0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20
SKALE Base Sepolia: 0x2e08028E3C4c2356572E096d8EF835cD5C6030bD