﻿<head><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4357510538660394"
     crossorigin="anonymous"></script></head># Payment is required

> Canonical HTML: https://screenrig.ai/problems/payment-required

HTTP 402 · `payment_required`

## What it means

The API answers with HTTP 402 Payment Required and an `application/problem+json` document when the condition is Payment is required. The document's `type` member is `https://screenrig.ai/problems/payment-required`, the address of this page, and its `code` member is `payment_required`.

## What to do

The project is deleted, or an advertising purchase is larger than the credit held for it. Requests, uploads, listen streams and webhook deliveries are never charged and never answer this. Do not retry; stored content and screens keep working.

## Should you retry?

The `retryable` member appears only on HTTP 5xx problems, so this one has none. Follow the steps under What to do before sending the request again.

## Example response

Most routes answer with the error in the first entry of `errors`, and the document members `instance` and `request_id` beside it. The `type`, `code`, `title` and `status` of this problem type are fixed; `detail` varies per request, and `hint` is the registry default unless the handler sets a more specific one.

~~~http
HTTP/1.1 402 Payment Required
Content-Type: application/problem+json

{
  "errors": [
    {
      "status": 402,
      "code": "payment_required",
      "type": "https://screenrig.ai/problems/payment-required",
      "title": "Payment is required",
      "detail": "What went wrong in this request.",
      "hint": "The project is deleted, or an advertising purchase is larger than the credit held for it. Requests, uploads, listen streams and webhook deliveries are never charged and never answer this. Do not retry; stored content and screens keep working."
    }
  ],
  "instance": "INSTANCE",
  "request_id": "REQUEST_ID",
  "server_time": "2026-01-01T00:00:00Z",
  "action": "hold_lkg"
}
~~~

Player-facing routes (the screen and media routes, the pairing streams and the probe routes) answer with the same members flat at the top level:

~~~http
HTTP/1.1 402 Payment Required
Content-Type: application/problem+json

{
  "type": "https://screenrig.ai/problems/payment-required",
  "title": "Payment is required",
  "status": 402,
  "detail": "What went wrong in this request.",
  "instance": "INSTANCE",
  "code": "payment_required",
  "request_id": "REQUEST_ID",
  "action": "hold_lkg",
  "server_time": "2026-01-01T00:00:00Z",
  "errors": [],
  "hint": "The project is deleted, or an advertising purchase is larger than the credit held for it. Requests, uploads, listen streams and webhook deliveries are never charged and never answer this. Do not retry; stored content and screens keep working."
}
~~~

## Operations that name this problem

These operations name this problem in the API reference:

- [Receive Trigger Overlay](https://screenrig.ai/docs/api/triggers#op-receiveTriggerOverlay) — `POST /api/triggers/{id}/overlay`
- [List Trigger Deliveries](https://screenrig.ai/docs/api/triggers#op-listTriggerDeliveries) — `GET /api/triggers/{id}/deliveries`
- [List Card KVWebhook Deliveries](https://screenrig.ai/docs/api/card-data#op-listCardKVWebhookDeliveries) — `GET /api/cards/{id}/kv-webhooks/{webhook_id}/deliveries`
- [Receive Card KVWebhook](https://screenrig.ai/docs/api/card-data#op-receiveCardKVWebhook) — `POST /api/cards/{id}/kv-webhooks/{webhook_id}/write`
- [Put Runtime Status](https://screenrig.ai/docs/api/runtime#op-putRuntimeStatus) — `PUT /screen/status`
- [Create Organization Plan Checkout](https://screenrig.ai/docs/api/projects#op-createOrganizationPlanCheckout) — `POST /api/organizations/{org_id}/billing/plan-checkouts`

## Player action

The Player action class is `hold_lkg`: Keep playing the last-known-good content and poll slowly.

## Reference

| Field | Value |
| --- | --- |
| Code | `payment_required` |
| HTTP status | `402 Payment Required` |
| Type | `https://screenrig.ai/problems/payment-required` |
| Player action | `hold_lkg` |

- [All problem types](https://screenrig.ai/problems)
- [API reference](https://screenrig.ai/docs/api#problems)
- [Problem registry YAML](https://screenrig.ai/docs/api/problems.yaml)
