People’s Court Fees API

Read authorized fee and checkout information.

GitHub OpenAPI

Operations 3

GET /api/fees/quotes Quote the current filing fee using exact USD minor units #
GET /api/fees/{feeId} Read an authorized fee by its durable id #
POST /api/fees/{feeId}/checkout Initiate payment for one fee, provider-neutrally #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/peoplescourt-ai:peoplescourt-ai-fees-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

peoplescourt-ai-fees-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: People’s Court Fees API
  version: 2.0.0
  summary: One unified People’s Court API for every operation — file disputes, submit evidence, follow cases, and retrieve signed decisions.
  contact:
    name: People’s Court integration onboarding
    url: https://peoplescourt.ai/request-demo
    email: contact@peoplescourt.ai
  description: 'Use role-bound credentials and the current resource state to create cases, represent an authorized party, build the Record, receive a served decision, and perform separately authorized settlement operations. The platform_native governing-law value leaves substantive-law selection to the Tribunal under Rule 12.2; it is not a jurisdiction. Intake law assertions do not establish a valid bilateral choice. A service_hold indicates that the Award cannot yet be served. Follow https://peoplescourt.ai/docs/api/get-started for account credentials, exact packet acceptance, filing confirmation, respondent Answer and evidence. Partner platforms: requires a partner key for callback management; see https://peoplescourt.ai/docs/api/partner-integration and https://peoplescourt.ai/docs/api/webhooks for partner setup and signed callbacks.'
servers:
- url: https://peoplescourt.ai
tags:
- name: Fees
  description: Read authorized fee and checkout information.
  x-status: partial
paths:
  /api/fees/quotes:
    get:
      operationId: quoteFilingFeeCanonical
      tags:
      - Fees
      summary: Quote the current filing fee using exact USD minor units
      security: []
      parameters:
      - name: currency
        in: query
        required: false
        schema:
          type: string
          enum:
          - USD
        description: Currency of the claimed amount.
      - name: minorUnits
        in: query
        required: false
        schema:
          type: string
          pattern: ^(0|[1-9][0-9]{0,77})$
          example: '12500'
        description: Claimed USD cents from 0 through 900719925474 inclusive. Larger values are rejected with 422 validation_failed.
      - name: declaratoryOnly
        in: query
        schema:
          type: boolean
          default: false
      - name: caseTrack
        in: query
        required: false
        schema:
          type: string
          enum:
          - ai_fast
          - ai_standard
          - ai_assisted_human
          default: ai_standard
          example: ai_standard
        description: The requested track; omission uses the standard track with appeal retained.
      responses:
        '200':
          description: Authorized operation result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CanonicalQuoteFilingFeeCanonicalResponse'
        default:
          $ref: '#/components/responses/Problem'
  /api/fees/{feeId}:
    get:
      operationId: readFeePreview
      tags:
      - Fees
      summary: Read an authorized fee by its durable id
      description: Available when canonical API access is enabled. 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.
      security:
      - CanonicalSession: []
      - CanonicalPartnerBearer: []
      - AccountOAuth:
        - cases:read
      parameters:
      - name: feeId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Authorized fee resource.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - requestId
                properties:
                  data:
                    $ref: '#/components/schemas/CanonicalFee'
                  requestId:
                    type: string
        '404':
          description: No fee is available for this caller to read.
        default:
          $ref: '#/components/responses/Problem'
  /api/fees/{feeId}/checkout:
    post:
      operationId: startFeeCheckoutPreview
      tags:
      - Fees
      summary: Initiate payment for one fee, provider-neutrally
      description: Available when canonical API access is enabled. The fee is selected by the resource path; the existing checkout operation keeps its authority, sponsorship-coverage, rate-limit and fee-intent identity checks, so an equivalent retry returns the same provider intent instead of creating a second one. A card fee returns a Stripe Checkout session; an x402 fee returns the exact payment requirements committed when the fee was quoted, still confirmed by its own signed machine route.
      security:
      - CanonicalSession: []
      - CanonicalPartnerBearer: []
      - AccountOAuth:
        - remedies:write
      parameters:
      - name: feeId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CanonicalFeeCheckoutInput'
      responses:
        '200':
          description: Typed checkout descriptor for the selected provider.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - requestId
                properties:
                  data:
                    $ref: '#/components/schemas/CanonicalFeeCheckout'
                  requestId:
                    type: string
        '404':
          description: No fee is available for this caller to pay.
        default:
          $ref: '#/components/responses/Problem'
components:
  schemas:
    LegalDocumentsRequiredDetails:
      type: object
      additionalProperties: false
      required:
      - legalDocumentsUrl
      properties:
        legalDocumentsUrl:
          type: string
          format: uri
          description: Absolute account-page URL where the person reviews and accepts the current Terms and Privacy Notice. Uses the configured public application origin. After accepting the documents, retry the original operation.
        ready:
          type: boolean
        accountSetupUrl:
          type: string
          format: uri
        missing:
          type: array
          items:
            $ref: '#/components/schemas/AccountReadinessRequirement'
    AccountReadinessDetails:
      type: object
      additionalProperties: false
      required:
      - ready
      - accountSetupUrl
      - missing
      properties:
        ready:
          type: boolean
        accountSetupUrl:
          type: string
          format: uri
        missing:
          type: array
          items:
            $ref: '#/components/schemas/AccountReadinessRequirement'
    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
        details:
          description: Account-readiness refusals include a value-free checklist and exact account-page link. Other error codes may provide different details.
          anyOf:
          - $ref: '#/components/schemas/AccountReadinessDetails'
          - $ref: '#/components/schemas/LegalDocumentsRequiredDetails'
          - {}
    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'
        method:
          type: string
          enum:
          - x402
          - onchain_usdc
          - fiat_card
          - fiat_ach
          - 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
        paymentState:
          type: string
          enum:
          - processing
          - succeeded
          - failed
          - returned
          - reconciliation_required
        refundState:
          type: string
          enum:
          - pending
          - succeeded
          - failed
          - reconciliation_required
    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})$
    AccountReadinessRequirement:
      type: object
      additionalProperties: false
      required:
      - code
      - label
      - section
      - accountUrl
      properties:
        code:
          type: string
        label:
          type: string
        section:
          type: string
          enum:
          - email
          - identity
          - legal_documents
        accountUrl:
          type: string
          format: uri
    CanonicalQuoteFilingFeeCanonicalResponse:
      type: object
      required:
      - data
      - requestId
      properties:
        data:
          type: object
          properties:
            claimAmount:
              $ref: '#/components/schemas/FiatMoney'
            declaratoryOnly:
              type: boolean
            collectionMode:
              type: string
            tier:
              type: string
            rateBasisPoints:
              type: string
            percentComponent:
              $ref: '#/components/schemas/FiatMoney'
            floor:
              $ref: '#/components/schemas/FiatMoney'
            baseFee:
              $ref: '#/components/schemas/FiatMoney'
            panelSurchargeRateBasisPoints:
              type: string
            panelSurcharge:
              $ref: '#/components/schemas/FiatMoney'
            forumFee:
              $ref: '#/components/schemas/FiatMoney'
            waived:
              type: boolean
            caseTrack:
              type: string
              enum:
              - ai_fast
              - ai_standard
              - ai_assisted_human
            fixedComponent:
              $ref: '#/components/schemas/FiatMoney'
          required:
          - claimAmount
          - collectionMode
          - tier
          - rateBasisPoints
          - percentComponent
          - floor
          - baseFee
          - panelSurchargeRateBasisPoints
          - panelSurcharge
          - forumFee
          - waived
        requestId:
          type: string
    CanonicalFeeCheckoutInput:
      type: object
      additionalProperties: false
      description: The fee is selected by the resource path; caseId and feeRecordId in the body are refused.
      properties:
        restartOnly:
          type: boolean
          default: false
          description: Claimant account only. Check whether an expired unpaid initial filing can be reviewed as a new filing. Unresolved or non-expired payment attempts refuse recovery. Does not create a filing, accept terms, extend a deadline, or move money. Mutually exclusive with previewOnly.
        previewOnly:
          type: boolean
          default: false
          description: Validate the hosted price selection and return grossCents, discountCents and netCents without opening Checkout or reserving a credit. Availability is checked again when payment starts.
        promotionCode:
          type: string
        priceSelection:
          type: string
          const: full
    CanonicalFeeCheckout:
      type: object
      additionalProperties: false
      required:
      - schemaVersion
      - feeId
      - caseId
      - provider
      - checkout
      properties:
        schemaVersion:
          type: string
          const: fee-checkout-v1
        feeId:
          type: string
        caseId:
          type: string
        provider:
          type: string
          enum:
          - stripe
          - x402
          - court_filing_credit
        checkout:
          type: object
          additionalProperties: true
          required:
          - kind
          description: 'Provider descriptor: a validated price preview, an expired-filing recovery check, a Stripe Checkout session, an applied court filing credit, or the committed x402 payment requirements.'
          properties:
            kind:
              type: string
              enum:
              - filing_restart_allowed
              - price_preview
              - stripe_checkout
              - credit_applied
              - x402_payment_required
  responses:
    Problem:
      description: RFC 9457 style problem response.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  securitySchemes:
    AgenticPlatformKey:
      type: http
      scheme: bearer
      description: Merchant-issued, rotatable platform credential for one enrolled agent host. Every private checkout request also requires its bound item capability.
    PartnerSandboxBearer:
      type: http
      scheme: bearer
      bearerFormat: sb_test_<public-id>.<secret>
      description: Isolated sandbox credential; never accepted by the ordinary Partner API.
    CanonicalPartnerBearer:
      type: http
      scheme: bearer
      description: Partner key issued after partner access is approved. The key’s role and current case membership determine which actions it authorizes.
    CanonicalSession:
      type: apiKey
      in: cookie
      name: arb_session
      description: The signed-in account’s session. Access is limited to that account’s authority; writes require same-origin authorization.
    platformOrchestratorBearer:
      type: http
      scheme: bearer
      description: Credential bound to the platform_orchestrator role.
    claimantAgentBearer:
      type: http
      scheme: bearer
      description: Credential bound to the claimant_agent role. Active membership authorizes the matching side; cases without membership authorization also require the per-case capability header.
    respondentAgentBearer:
      type: http
      scheme: bearer
      description: Credential bound to the respondent_agent role. Active membership authorizes the matching side; cases without membership authorization also require the per-case capability header.
    evidenceExporterBearer:
      type: http
      scheme: bearer
      description: Credential bound to one evidence_exporter resource.
    settlementAdapterBearer:
      type: http
      scheme: bearer
      description: Credential carrying only settlement:execute and bound to one exact adapter resource.
    readOnlyObserverBearer:
      type: http
      scheme: bearer
      description: Credential bound to the read_only_observer role and limited to operational projections.
    AccountOAuth:
      type: oauth2
      description: Account tokens authorize only their approving account and approved scopes. S256 PKCE is mandatory on the code flow. Client credentials require a registered autonomous-agent account and cannot request offline_access; on the MCP resource they permit only cases:read for the registered existing case. Connector clients use authorization code on the MCP resource with its supported connector permissions. Explicit reacceptance is required after Rules or disclosure changes.
      flows:
        authorizationCode:
          authorizationUrl: https://peoplescourt.ai/oauth/authorize
          tokenUrl: https://peoplescourt.ai/api/oauth/token
          refreshUrl: https://peoplescourt.ai/api/oauth/token
          scopes:
            cases:read: cases:read
            fees:agentic:write: Obtain a separately authorized filing payment capability.
            executions:report: Record performance reports and opposite-side responses; no provider release
            filings:write: filings:write
            answers:write: answers:write
            submissions:write: submissions:write
            records:confirm: records:confirm
            records:write: records:write
            invitations:write: invitations:write
            messages:write: messages:write
            remedies:write: remedies:write
            consents:write: consents:write
            offline_access: offline_access
            representatives:manage: representatives:manage
            procedural:request: procedural:request
            termination:write: termination:write
        clientCredentials:
          tokenUrl: https://peoplescourt.ai/api/oauth/token
          scopes:
            cases:read: cases:read
            executions:report: Record performance reports and opposite-side responses; no provider release
            filings:write: filings:write
            answers:write: answers:write
            submissions:write: submissions:write
            records:confirm: records:confirm
            records:write: records:write
            invitations:write: invitations:write
            messages:write: messages:write
            remedies:write: remedies:write
            consents:write: consents:write
            representatives:manage: representatives:manage
            procedural:request: procedural:request
            termination:write: termination:write
            fees:agentic:write: Obtain a separately authorized filing payment capability.