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 and POST /api/v1/workspaces/{workspaceId}/billing/portal.
Response body
{
"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
retryableis true; otherwise the request itself must change. - Do what
nextActionsays.
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
typeorcode, not ondetail.