Skip to content

payment_required

Payment required. HTTP status 402.

The action needs a payment before it can run.

What to do

Pay the invoice named in the response with POST /api/v2/billing/invoices/{id}/actions/pay, then retry. For private networking, find the setup invoice with GET /api/v2/private-networks/access. For a critical ticket, buy a credit with POST /api/v2/support/critical-credits or send the ticket with a lower priority.

What the message says

  • Private networking has a one-time setup fee that is not paid for this account. Read `GET /api/v2/private-networks/access`, pay the setup invoice, then retry.
  • Critical alerts require a pre-purchased support credit. Please purchase a credit first.

Example

Response 402
{
"type": "https://developer.hostup.se/errors/payment_required",
"title": "Payment required",
"status": 402,
"detail": "Private networking has a one-time setup fee that is not paid for this account. Read `GET /api/v2/private-networks/access`, pay the setup invoice, then retry.",
"code": "payment_required",
"requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3"
}

Branch on code, not on title or detail. When you contact support about it, include the requestId. More in Errors and retries.

Endpoints that return it