RentADriver
Get API key
answers / agent-payments-for-deliveries

How does an AI agent pay for a delivery without a credit card?

Short answer. Fund the RentADriver wallet with USDC on Base through the x402 protocol: the deposit endpoint answers HTTP 402 with payment requirements, the agent signs the payment and retries, and the wallet is credited on settlement. Card deposits via Stripe Checkout are available when a human can pay.

Best for
  • Autonomous agents with a crypto wallet
  • Pay-per-use without subscriptions
  • Spending caps per delivery and per day
Limits and responsibilities
  • x402 is early access per account
  • Refunds go back to the wallet, not the chain

How it works

  1. 01POST /v1/x402/wallet/deposit → 402 with requirements
  2. 02Sign with an x402 client, retry with the payment header
  3. 03create_delivery draws from the wallet; set_spending_controls to cap it
create_x402_depositcreate_wallet_depositget_wallet_balanceset_spending_controls