v2

latestOpenAPI 3.1.0Proprietary2026-07-26127193620.1 KB
Payments

Update your spend policy

Update your org's spend policy. Applied as a merge: only the fields you include change, and omitted fields keep their current value, so a partial update can't silently reset the kill-switch. Send an explicit null to clear a cap. Caps are in token base units.

put/x402/spend-policy

Request body

pausedboolean
max_per_paymentstring nullable
max_per_daystring nullable
allowliststring[] nullable

Response

The updated spend policy

successtrue required