Providers / Polar

Payments

Polar API keys and credentials

What every Polar credential a founder holds does, whether it expires, and what tends to break. Each fact links to Polar's own docs.

Last checked 2026-11-08 · polar.sh

At a glance

CredentialExpiryPermissions
Polar dashboard loginNot documented–
Organization access token (OAT)You chooseCan be scoped
Webhook endpoint secretNot documentedFull access only

Each credential

Polar dashboard login

Dashboard login. Session and 2FA policy not documented on the pages reviewed.

Polar docs

Organization access token (OAT)

Created under Settings > Access Tokens for one organization. When creating, you name the token, set an expiration date and select scopes. The docs give no presets, default, maximum or never option, so the lifetime range is unconfirmed. Tokens are bearer tokens and must stay server-side. Scope names are not listed on the page reviewed. Rotation and revocation are not covered on the page reviewed.

Polar docs

Webhook endpoint secret

You either supply your own secret or Polar generates one. Polar signs requests with it. Secrets generated on or after 2026-09-08 00:00 UTC use Standard Webhooks headers (webhook-id, webhook-timestamp, webhook-signature); older secrets use Polar's HMAC scheme with the full whsec_ string as key. Polar SDKs 1.0.0-alpha.19 and later try both keys. Rotation and expiry are not documented.

Polar docs

What usually goes wrong

Renewals and billing

Metrics endpoint (GET /v1/metrics/) gives revenue and subscriber metrics per interval (day, week, month, year, hour), with start_date and end_date. Orders endpoint (GET /v1/orders/) has amounts, platform fees and refunds per order, and includes customer name and email.

What Polar's docs don't say

We couldn't confirm these from official docs, so don't rely on them either way:

Rotating or replacing a Polar key

The steps are the same for most providers: make the new key, deploy it everywhere the old one is used, check it works, then revoke the old one. Our guides walk through it:

Sources

Related providers

Keep track of every Polar key

StackHangar stores your Polar keys in an encrypted vault, grouped by the product they belong to, warns you before they expire, and walks you through rotating them. We can't read your secrets.