---
title: "Billing gateway is temporarily unavailable (billing-unavailable)"
description: "PubNio billing-unavailable problem, HTTP 503: A call to the billing gateway failed while creating a customer, a checkout, or a portal session."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Billing gateway is temporarily unavailable (billing-unavailable)

HTTP 503 Billing gateway is temporarily unavailable. A call to the billing gateway failed while creating a customer, a checkout, or a portal session.

## When it happens

2 operations declare it: [`POST /api/v1/workspaces/{workspaceId}/billing/checkout`](https://pubnio.com/api/v1/docs#tag/billing/POST/api/v1/workspaces/{workspaceId}/billing/checkout) and [`POST /api/v1/workspaces/{workspaceId}/billing/portal`](https://pubnio.com/api/v1/docs#tag/billing/POST/api/v1/workspaces/{workspaceId}/billing/portal).

## Response body

```json
{
  "type": "https://pubnio.com/docs/problems/billing-unavailable/",
  "status": 503,
  "title": "Billing gateway is temporarily unavailable",
  "code": "billing_unavailable",
  "retryable": true,
  "nextAction": "Retry the billing request shortly.",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

| Field        | Type    | Always present |
| ------------ | ------- | -------------- |
| `retryable`  | boolean | Yes            |
| `nextAction` | string  | Yes            |

## Recovery for agents

- Retry shortly when `retryable` is true; otherwise the request itself must change.
- Do what `nextAction` says.

## Retryable

Yes: the SDKs mark HTTP 503 `retryable` but never retry on their own. Replay a write with the same `Idempotency-Key`.

## Limits

- Match on `type` or `code`, not on `detail`.

## Related

- [Billing problems](https://pubnio.com/docs/problems/#billing)
- [API reference](https://pubnio.com/docs/api/)

Source: https://pubnio.com/docs/problems/billing-unavailable/index.mdx
