Skip to main content
Upgrading your PingBack plan takes two steps: fetch a checkout URL from the API, then complete payment in the Polar.sh checkout flow. Your plan upgrades automatically once payment is confirmed.

Get a checkout URL

Call GET /api/v1/billing/checkout-url with the plan query parameter set to mini or pro. The response returns a url you redirect the user to. Endpoint: GET https://api.pingback.live/api/v1/billing/checkout-url Query parameters:
Response:
Redirect the user to the returned url to complete payment in Polar.sh.
Plan changes take effect immediately after checkout completes. You don’t need to restart your session or re-authenticate.

After payment

PingBack receives a webhook from Polar.sh once your payment is confirmed. Your plan is upgraded automatically — no manual steps required. New limits for agents, channels, messages, and AI features become available right away.

Plan limit errors

When you reach a limit on your current plan, the API returns a structured error response so you know exactly what to upgrade.

HTTP 402 — limit exceeded

You’ll receive a 402 status when you try to add more agents, channels, or KB articles than your plan allows.

HTTP 402 — feature locked

You’ll receive a feature_locked error when you try to use a feature that isn’t available on your plan. This happens, for example, when a Free plan account tries to add a non-widget channel.

HTTP 429 — monthly message limit

When you reach your monthly message limit, the API returns a 429 status.

Common errors and resolutions

Downgrading is not currently supported through the API. Contact support to request a plan downgrade.