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
Maximum USDC per tool call in atomic units (6 decimals). Must be between 0 and 5,000,000. Default: 5,000,000 ($5.00).
Daily spending limit in atomic units. Set to
null to remove the daily limit. Must be >= 0.Response
Settings record UUID.
The user’s UUID.
Updated maximum USDC per tool call in atomic units.
Updated daily spending limit in atomic units.
ISO 8601 timestamp.
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.