# payment_required

HTTP 402 · `code`: `payment_required` · `title`: Payment required

The organisation has no valid payment method, so this operation is refused: a create, a server’s approval or reactivation, a custom metric’s approval, switching monitoring back on (an update that sets `active` to `true`, or a resume), and a scan run through the API. This is about the organisation’s billing, not about the key. A scan refused this way bills nothing and starts no cooldown.

## What the answer carries

Every [problem document](https://developer.watchtower15.com/api/errors/) carries `type`, `title`, `status`, `code`, `detail` and `request_id`. This code adds nothing to them.

## What to do

Add a payment method under **Organisation → Billing**. See [billing](https://docs.watchtower15.com/platform/billing/). Retrying cannot succeed before that.

## This page's address

The API's answer names this page in `type` as `https://docs.watchtower15.com/api/errors/payment_required/`, an identifier that never changes within `v1`. That address answers with a permanent redirect to this page, so a link in a log still opens it, and a client comparing `type` as a string never breaks.

**Response (402 Payment Required)**

```http
HTTP/1.1 402 Payment Required
Content-Type: application/problem+json
X-Request-Id: 4d1e8b7a-2c9f-4a3e-b6d5-7f0c1a2e3b4d

{
  "type": "https://docs.watchtower15.com/api/errors/payment_required/",
  "title": "Payment required",
  "status": 402,
  "code": "payment_required",
  "detail": "A payment method must be set before adding resources for monitoring.",
  "request_id": "4d1e8b7a-2c9f-4a3e-b6d5-7f0c1a2e3b4d"
}
```

Source: https://developer.watchtower15.com/api/errors/payment_required/
