> ## Documentation Index
> Fetch the complete documentation index at: https://docs.decodahealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Public Payment Plan Summary

> Public, plan-id-scoped summary for the patient self-serve recovery page (`/plan/{id}`).



## OpenAPI

````yaml get /billing/payment-plan/{payment_plan_id}/public-summary
openapi: 3.1.0
info:
  title: Decoda API
  description: External API documentation for the Decoda Health platform.
  version: '1.0'
servers: []
security: []
paths:
  /billing/payment-plan/{payment_plan_id}/public-summary:
    get:
      tags:
        - Payment Plans
      summary: Get Public Payment Plan Summary
      description: >-
        Public, plan-id-scoped summary for the patient self-serve recovery page
        (`/plan/{id}`).
      operationId: >-
        get_public_payment_plan_summary_billing_payment_plan__payment_plan_id__public_summary_get
      parameters:
        - name: TENANT
          in: header
          required: true
          schema:
            type: string
            title: Tenant
          description: The tenant you are making this request on behalf of
        - name: API-KEY
          in: header
          required: true
          schema:
            type: string
            title: Api-Key
          description: Your api key
        - name: payment_plan_id
          in: path
          required: true
          schema:
            type: string
            title: Payment Plan Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicPaymentPlanSummary'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PublicPaymentPlanSummary:
      properties:
        status:
          $ref: '#/components/schemas/PaymentPlanStatus'
        amountDue:
          type: integer
          title: Amountdue
        frequency:
          $ref: '#/components/schemas/PaymentPlanFrequency'
      type: object
      required:
        - status
        - amountDue
        - frequency
      title: PublicPaymentPlanSummary
      description: >-
        Public-safe view of a plan for the patient self-serve recovery page
        (keyed by the plan id).


        Intentionally minimal — exposes only what the page renders.
        ``amount_due`` is the FAILED

        installment's amount, or 0 when the plan is not delinquent (nothing to
        pay).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PaymentPlanStatus:
      type: string
      enum:
        - ACTIVE
        - DELINQUENT
        - COMPLETED
        - CANCELLED
      title: PaymentPlanStatus
    PaymentPlanFrequency:
      type: string
      enum:
        - WEEKLY
        - BIWEEKLY
        - MONTHLY
      title: PaymentPlanFrequency
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````