Skip to main content
GET

Overview

Returns the user’s x402 spending limit configuration, including per-call maximum and optional daily spending cap. These limits control how much USDC can be spent on paid tool executions. The platform enforces a hard cap of $5.00 (5,000,000 atomic units) per tool call regardless of user settings. Authentication: Requires JWT token or API key.

Response

id
string
Settings record UUID.
user_id
string
The user’s UUID.
max_per_call_atomic
integer
Maximum USDC per tool call in atomic units (6 decimals). Default: 5,000,000 ($5.00).
daily_limit_atomic
integer | null
Daily spending limit in atomic units. null means no daily limit.
created_at
string
ISO 8601 timestamp of when the settings were created.
updated_at
string
ISO 8601 timestamp of the last update.

Example

MCP Tool

When using the Danube MCP Server, use the get_spending_limits tool:
Returns max_per_call_usdc and daily_limit_usdc in human-readable USDC amounts.