ln_budget_set
Set spending limits in sats for a vendor per transaction, day, and month. Payments exceeding these limits are rejected.
Instructions
Set spending limits for a vendor.
Creates budget rules that the pre-flight gate enforces. Any payment exceeding these limits will be rejected.
Args: vendor: Vendor name or domain (e.g., "bitrefill.com"). max_sats_per_txn: Maximum sats allowed per single transaction. max_sats_per_day: Maximum total sats per day to this vendor. max_sats_per_month: Maximum total sats per month to this vendor.
Returns: The created/updated budget rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendor | Yes | ||
| max_sats_per_txn | No | ||
| max_sats_per_day | No | ||
| max_sats_per_month | No |