The new SDK is currently in public preview. Install it from the
next tag to
try it before the stable release.Installation
- npm
- yarn
- pnpm
Terminal
Quickstart
Create an organization access token for server-side use, keep it out of browser bundles, store it inPOLAR_ACCESS_TOKEN, and make your first request:
index.js
2026-04 API version.
Sandbox environment
The client uses production by default. Passenvironment: "sandbox" to use the isolated sandbox environment:

