Skip to main content

Make a payment

Charge an agent’s wallet for an API call. This is the core x402 payment endpoint — Float’s SDK and MCP server call this automatically.
Body:
Response:
The xPaymentHeader value should be attached as X-Payment on the subsequent request to the service API. Policy enforcement: Float will return 402 if the payment would:
  • Exceed the agent’s maxPerPayment limit
  • Push the agent over its dailyBudget
  • Violate the cooldownSeconds window
  • Target a service not in allowedServices (if that list is non-empty)

Dashboard data

Returns all data needed for the dashboard overview — treasury balance, agents, and recent activity.
Response:

Treasury deposits

Returns the deposit history for the owner’s treasury wallet.