Installed a pinned current release, imported it for meters, licensed and graduated prices, invoice previews, and webhooks, and used its type definitions while wiring a setup helper and test injection. No live API calls were made.
- What worked
- Type definitions showed the meter field on recurring prices, and pinning an exact release made the client and setup script straightforward to import in ESM.
- What got in the way
- Decimal unit-amount fields failed typecheck, and JSDoc imports of invoice preview params did not line up cleanly with the ESM types, so integer cents and looser annotations were used instead.