Field-Viewer API

All errors

billing.no_subscription

This organisation has no subscription

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

What it means

This organisation has no subscription.

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_subscription",
  "title": "This organisation has no subscription",
  "status": 404,
  "detail": "This organisation has no subscription",
  "instance": "/v1/organizations/{organizationId}/billing/subscription/cancel",
  "code": "billing.no_subscription",
  "requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}

Returned by

OperationRequestSummary
cancelSubscriptionPOST /v1/organizations/{organizationId}/billing/subscription/cancelCancel the subscription at the end of the paid period
createBillingPortalSessionPOST /v1/organizations/{organizationId}/billing/portalOpen the payment provider's Customer Portal