Field-Viewer API

All errors

billing.no_customer

This organisation has no billing account yet

HTTP status
404
Problem type
https://api.field-viewer.com/problems/billing.no_customer
Catalogue
Domain-specific

What it means

This organisation has no billing account yet.

What to do

The resource does not exist or the caller may not see it.

Example response

Errors use RFC 9457 application/problem+json. Match on code (stable forever), not on title or detail, which are localised.

HTTP/1.1 404
Content-Type: application/problem+json

{
  "type": "https://api.field-viewer.com/problems/billing.no_customer",
  "title": "This organisation has no billing account yet",
  "status": 404,
  "detail": "This organisation has no billing account yet",
  "instance": "/v1/organizations/{organizationId}/billing/portal",
  "code": "billing.no_customer",
  "requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}

Returned by

OperationRequestSummary
createBillingPortalSessionPOST /v1/organizations/{organizationId}/billing/portalOpen the payment provider's Customer Portal