offsets__buy_offset_budget
Buy verified carbon offsets within a budget, retiring the cheapest credits first without overspending. Supports idempotent purchases and dry run preview.
Instructions
[offsets — verified-credit carbon offset clearinghouse] Money-denominated offset purchase: retire the maximum cheapest-first verified mass whose exact cost fits inside budget_minor (never overspends). Built for callers whose restoration obligation is a currency amount — e.g. a revenue share accrued in a ledger. Idempotent on purchase_id; dry_run=true previews without mutating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | Yes | ||
| dry_run | No | ||
| purchase_id | Yes | ||
| budget_minor | Yes |