Get a checkout URL
CallGET /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:
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 a402 status when you try to add more agents, channels, or KB articles than your plan allows.
HTTP 402 — feature locked
You’ll receive afeature_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 a429 status.