Wallet
Update Spending Limits
Update the current user’s USDC spending limit settings
PUT
Overview
Updates the user’s x402 spending limit configuration. Controls how much USDC can be spent on paid tool executions per call and per day. The platform enforces a hard cap of $5.00 (5,000,000 atomic units) per tool call. Themax_per_call_atomic cannot exceed this value.
Authentication: Requires JWT token or API key.
Body Parameters
integer
Maximum USDC per tool call in atomic units (6 decimals). Must be between 0 and 5,000,000. Default: 5,000,000 ($5.00).
integer | null
Daily spending limit in atomic units. Set to
null to remove the daily limit. Must be >= 0.Response
string
Settings record UUID.
string
The user’s UUID.
integer
Updated maximum USDC per tool call in atomic units.
integer | null
Updated daily spending limit in atomic units.
string
ISO 8601 timestamp.
string
ISO 8601 timestamp of the update.
Example
MCP Tool
When using the Danube MCP Server, use theupdate_spending_limits tool:
daily_limit_usdc to 0 to remove the daily limit.