HTTP 409 No billing customer exists yet. The billing portal is requested before the workspace has a billing customer.
When it happens
One operation declares it: POST /api/v1/workspaces/{workspaceId}/billing/portal.
Response body
{
"type": "https://pubnio.com/docs/problems/billing-customer-missing/",
"status": 409,
"title": "No billing customer exists yet",
"detail": "Start a subscription or add credit before opening the portal.",
"code": "billing_customer_missing",
"nextAction": "Create a checkout session via POST /api/v1/workspaces/:workspaceId/billing/checkout first.",
"requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}| Field | Type | Always present |
|---|---|---|
nextAction |
string | Yes |
Recovery for agents
- Do what
nextActionsays.
Retryable
No: the SDKs mark HTTP 409 not retryable.
Limits
- Match on
typeorcode, not ondetail.