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

# Get a payment

> Retrieves a single payment intent by its ID.



## OpenAPI

````yaml /api-reference/openapi.json get /payments/{payment_id}
openapi: 3.1.0
info:
  title: Karat Payout API
  description: >-
    Your gateway to seamless, automated, and scalable payment solutions. The
    Karat Payout API lets you create recipients, send payouts, track payment
    status, manage tax documents, record external payments, and subscribe to
    webhook events.
  version: 1.0.0
servers:
  - url: https://payouts.api.trykarat.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Payments
    description: Create and manage outgoing payouts to recipients.
  - name: Recipients
    description: Manage the payees you send payouts to.
  - name: Tax
    description: Retrieve recipient tax forms (W-9) and download links.
  - name: External Payments
    description: Record and manage payments made outside of Karat.
  - name: Webhooks
    description: Subscribe to event notifications for payout activity.
paths:
  /payments/{payment_id}:
    get:
      tags:
        - Payments
      summary: Get a payment
      description: Retrieves a single payment intent by its ID.
      operationId: getPaymentById
      parameters:
        - name: payment_id
          in: path
          required: true
          description: The ID of the payment intent.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The payment intent.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Payment'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Payment:
      type: object
      properties:
        id:
          type: string
          format: uuid
        amount:
          type: integer
          description: Amount in cents.
        description:
          type: string
        referenceId:
          type: string
        createdAt:
          type: string
          format: date-time
        statusUpdates:
          type: array
          items:
            $ref: '#/components/schemas/StatusUpdate'
        recipient:
          $ref: '#/components/schemas/PaymentRecipient'
        payoutLink:
          type: string
          format: uri
          description: Link the recipient can use to view and accept the payout.
    StatusUpdate:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          example: processing
        reason:
          type: string
        date:
          type: string
          format: date-time
    PaymentRecipient:
      type: object
      properties:
        id:
          type: string
          format: uuid
        firstName:
          type: string
        lastName:
          type: string
        email:
          type: string
          format: email
        autoAcceptPayouts:
          type: boolean
    Error:
      type: object
      description: Standard error envelope returned for all non-2xx responses.
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            code:
              type: string
          required:
            - message
      required:
        - error
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              message: Invalid api key
    NotFound:
      description: The requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              message: Payment intent not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key as a bearer token: `Authorization: Bearer <API_KEY>`.'

````