Skip to navigation

Betas and stability

New endpoints and fields reach https://api.paid.ai/v1 as betas before they become generally available (GA). A beta lets you build on something early, in exchange for a weaker promise: it can still change. Each stage below says who can use it and what Paid promises about it, so you can choose how much to depend on it.

Use this page to:

  • Decide what to build on. GA never changes without a new dated version. A beta can.
  • Opt in to a beta. Send its name and version in the Paid-Beta header.
  • Move off a beta that graduated. Upgrade to the version it joined, then drop the header.

Stability stages

StageWho can use itOpt inCan it change?In these docs
Private betaAccounts Paid has enrolledPaid-Beta headerYes, with a new beta version (=v2) and notice to enrolled accountsNot listed
Public betaEvery accountPaid-Beta headerYes, with a new beta version (=v2)Listed, with a badge
GAEvery accountNoneOnly in a new dated version, which your account chooses to upgrade toListed

Before a private beta, Paid builds and tries a feature on its own accounts. It isn’t part of the public API: it is left out of the API Reference and the OpenAPI document, and a request naming it from your account returns unknown_beta or beta_not_enabled.

Opt in to a beta

Each beta has a name and its own version, such as customers=v1. Send it in the Paid-Beta header on every request that uses the beta’s endpoints or fields. Separate several betas with commas.

curl https://api.paid.ai/v1/betas \
-H "Authorization: Bearer $PAID_API_KEY" \
-H "Paid-Beta: customers=v1"
  • The response names the betas it applied in its own Paid-Beta header.
  • GET /v1/betas lists the betas your account can use: the private betas it is enrolled in, every public beta, and every beta that graduated after the version your request uses.
  • A sandbox organization and its production organization are enrolled separately.

A beta’s version is separate from the dated API version. A breaking change during a beta ships as a new beta version, such as customers=v2, and leaves the dated version alone. Keep sending the beta version you built against until you move to the new one.

Graduation

When a beta becomes GA, it joins the next dated version. The changelog lists the betas each version made generally available.

What happens to the Paid-Beta header depends on the version your request uses:

Your request’s versionThe beta’s header
Earlier than the graduation versionStill required. The beta keeps working as a beta on that version.
The graduation version or later, during the grace periodAccepted. The response carries Paid-Beta-Deprecated: customers=v1; graduated-in=2027-02-01, so you can find code still sending it.
The graduation version or later, after the grace periodIgnored. The request behaves the same with or without it.

To move off a beta that graduated:

  1. Upgrade your pinned version to the version the beta graduated in, or later, after checking that version’s other changes.
  2. Watch for Paid-Beta-Deprecated in responses. Each one names a beta header you can now remove.
  3. Remove the header from those requests before the grace period ends.

Beta errors

StatusCodeWhen
400unknown_betaPaid-Beta names a beta that doesn’t exist, or an entry is malformed.
403beta_not_enabledYour account isn’t enrolled in the private beta.
400beta_header_requiredYou called a beta endpoint or sent a beta field without Paid-Beta.