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

# Invoice Payment Get Api

> Retrieve a specific invoice payment by UUID.



## OpenAPI

````yaml get /api/v1/payment/invoice-payment/{payment_uuid}
openapi: 3.1.0
info:
  title: NinjaAPI
  version: 1.0.0
  description: ''
servers:
  - url: https://api.justpaid.io
security: []
paths:
  /api/v1/payment/invoice-payment/{payment_uuid}:
    get:
      summary: Invoice Payment Get Api
      description: Retrieve a specific invoice payment by UUID.
      operationId: loopfour_backend_payment_external_api_invoice_payment_get_api
      parameters:
        - in: path
          name: payment_uuid
          schema:
            title: Payment Uuid
            type: string
          required: true
      responses:
        '200':
          description: Invoice payment retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoicePaymentOut'
        '404':
          description: Invoice payment not found
      security:
        - HttpBearerAuth: []
components:
  schemas:
    InvoicePaymentOut:
      properties:
        invoice:
          $ref: '#/components/schemas/InvoiceOut'
        customer_uuid:
          description: The JustPaid customer UUID
          format: uuid
          title: Customer Uuid
          type: string
        payment_status:
          help_text: >-
            The choices are: Scheduled, Processed, Sent, Need Action, Completed,
            Failed, Cancelled, Voided
          title: Payment Status
          type: string
        uuid:
          format: uuid
          title: Uuid
          type: string
        total_amount:
          description: Total amount of the payment
          title: Total Amount
          type: string
        processing_fee:
          anyOf:
            - type: string
            - type: 'null'
          description: Processing fee charged by the payment processor (e.g. Stripe fees)
          title: Processing Fee
        net_amount:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Net amount received after processing fees (total_amount -
            processing_fee)
          title: Net Amount
        reference_number:
          anyOf:
            - maxLength: 50
              type: string
            - type: 'null'
          description: Reference number for the payment
          title: Reference Number
        payment_scheduled_date:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: Date and time on which the payment is scheduled to be made
          title: Payment Scheduled Date
        payment_completed_date:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: Date and time on which the payment is completed
          title: Payment Completed Date
        created_at:
          format: date-time
          title: Created At
          type: string
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - invoice
        - total_amount
        - updated_at
      title: InvoicePaymentOut
      type: object
    InvoiceOut:
      properties:
        line_items:
          anyOf:
            - items:
                $ref: '#/components/schemas/InvoiceLineItemOut'
              type: array
            - type: 'null'
          title: Line Items
        uuid:
          format: uuid
          title: Uuid
          type: string
        amount:
          description: The total amount due for the invoice
          title: Amount
          type: string
        currency:
          anyOf:
            - maxLength: 3
              type: string
            - type: 'null'
          default: USD
          title: Currency
        invoice_number:
          description: The invoice number
          maxLength: 100
          title: Invoice Number
          type: string
        invoice_status:
          default: draft
          description: The status of the invoice
          maxLength: 255
          title: Invoice Status
          type: string
        invoice_date:
          anyOf:
            - format: date
              type: string
            - type: 'null'
          description: The date the invoice was created
          title: Invoice Date
        description:
          anyOf:
            - type: string
            - type: 'null'
          description: The description of the invoice
          title: Description
      required:
        - amount
        - invoice_number
      title: InvoiceOut
      type: object
    InvoiceLineItemOut:
      properties:
        name:
          anyOf:
            - maxLength: 255
              type: string
            - type: 'null'
          title: Name
        unit_price:
          anyOf:
            - type: string
            - type: 'null'
          title: Unit Price
        quantity:
          anyOf:
            - type: string
            - type: 'null'
          default: 1
          title: Quantity
        amount:
          anyOf:
            - type: string
            - type: 'null'
          title: Amount
        currency:
          anyOf:
            - maxLength: 3
              type: string
            - type: 'null'
          default: USD
          title: Currency
        description:
          anyOf:
            - type: string
            - type: 'null'
          description: The description of the line item
          title: Description
        flat_fee:
          anyOf:
            - type: string
            - type: 'null'
          description: Fixed flat fee added to the line item amount
          title: Flat Fee
      title: InvoiceLineItemOut
      type: object
  securitySchemes:
    HttpBearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.