GETpartial

Read an authorized fee by its durable id

Controlled by PEOPLES_COURT_API_CANONICAL_ROUTES. Projects the exact amount, status, applicable case, collection disposition and expiry of one fee record for an authorized case party. Provider attempt internals and transaction references stay internal, and no party-supplied paid flag is ever trusted.

/api/fees/{feeId}readFeePreview

Authentication and authority

Use one listed account-session, scoped OAuth, or partner credential alternative. Account tokens retain the approving account’s authority. Cookie-authenticated writes require same-origin authorization. Alternatives are OR; schemes in one alternative are AND.

CanonicalSession

CanonicalPartnerBearer

AccountOAuth

Account tokens authorize only their approving account and case scope. S256 PKCE is mandatory on the code flow. Explicit reacceptance is required after Rules/disclosure changes.

Parameters

NameLocationRequirementSchema
feeIdpathRequired{"type":"string"}

Responses

200

Authorized fee resource.

application/json

{
  "type": "object",
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "$ref": "#/components/schemas/CanonicalFee",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "schemaVersion",
        "feeId",
        "caseId",
        "type",
        "status",
        "amount"
      ],
      "properties": {
        "schemaVersion": {
          "type": "string",
          "const": "fee-v1"
        },
        "feeId": {
          "type": "string"
        },
        "caseId": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "filing",
            "appeal",
            "evaluation"
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "quoted",
            "payable",
            "paid",
            "waived",
            "cancelled"
          ]
        },
        "amount": {
          "$ref": "#/components/schemas/FiatMoney",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "currency",
            "minorUnits"
          ],
          "properties": {
            "currency": {
              "type": "string",
              "const": "USD"
            },
            "minorUnits": {
              "type": "string",
              "pattern": "^(0|[1-9][0-9]{0,77})$"
            }
          }
        },
        "method": {
          "type": "string",
          "enum": [
            "x402",
            "onchain_usdc",
            "fiat_card",
            "court_filing_credit",
            "manual"
          ]
        },
        "collectionDisposition": {
          "type": "string"
        },
        "incurredBy": {
          "type": "string",
          "description": "The act that incurred the fee, such as filing or appeal_docket."
        },
        "incurredAt": {
          "type": "string",
          "format": "date-time"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time",
          "description": "Unpaid past this instant, the fee lapses under its own deadline."
        },
        "paidAt": {
          "type": "string",
          "format": "date-time"
        },
        "waivedReason": {
          "type": "string"
        },
        "supplementsFeeId": {
          "type": "string"
        },
        "checkout": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "method",
            "httpMethod",
            "endpoint"
          ],
          "description": "Present while the fee is payable.",
          "properties": {
            "method": {
              "type": "string"
            },
            "httpMethod": {
              "type": "string",
              "const": "POST"
            },
            "endpoint": {
              "type": "string"
            }
          }
        }
      }
    },
    "requestId": {
      "type": "string"
    }
  }
}
404

Preview disabled, or no fee this caller may read.

default

RFC 9457 style problem response.

application/problem+json

{
  "$ref": "#/components/schemas/Problem",
  "type": "object",
  "required": [
    "type",
    "title",
    "status",
    "code",
    "detail",
    "requestId"
  ],
  "properties": {
    "type": {
      "type": "string",
      "format": "uri"
    },
    "title": {
      "type": "string"
    },
    "status": {
      "type": "integer"
    },
    "code": {
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    }
  }
}

Example response

Successful response

{
  "data": {
    "schemaVersion": "fee-v1",
    "feeId": "feeId_test",
    "caseId": "pcase_test_123",
    "type": "filing",
    "status": "quoted",
    "amount": {
      "currency": "USD",
      "minorUnits": "12500"
    }
  },
  "requestId": "requestId_test"
}

Errors

Read the response status and stable error code. See errors and rate limits for recovery. Refresh the resource before resolving a state or digest conflict.

Idempotency and retries

  • For throttling, honor Retry-After when present. Back off on retryable server failures.