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

# Mark a payout as paid

> Records that you paid the partner yourself. The payout's approved commissions become paid and each one sends commission.updated, commissions in any other status are taken off the payout, and the partner gets the payout paid email when it is on for the program and the partner. Works on pending and failed payouts, and fails while the payout is on an unpaid invoice. A payout that is already paid is returned unchanged.



## OpenAPI

````yaml /api-reference/openapi.json post /v2/payouts/{id}/mark-as-paid
openapi: 3.1.0
info:
  title: Tolt Public API
  version: 2.0.0
servers:
  - url: https://platform.tolt.com
    description: Production
security:
  - bearerAuth: []
paths:
  /v2/payouts/{id}/mark-as-paid:
    post:
      tags:
        - Payouts
      summary: Mark a payout as paid
      description: >-
        Records that you paid the partner yourself. The payout's approved
        commissions become paid and each one sends commission.updated,
        commissions in any other status are taken off the payout, and the
        partner gets the payout paid email when it is on for the program and the
        partner. Works on pending and failed payouts, and fails while the payout
        is on an unpaid invoice. A payout that is already paid is returned
        unchanged.
      operationId: markPayoutAsPaid
      parameters:
        - schema:
            type: string
            example: pout_Hq4XcN8rTb2VmK7sWp3LdYf9
          required: true
          name: id
          in: path
      responses:
        '200':
          description: The paid payout
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Request successful
                  data:
                    $ref: '#/components/schemas/Payout'
                required:
                  - success
                  - message
                  - data
              example:
                success: true
                message: Successfully marked payout as paid
                data:
                  id: pout_Hq4XcN8rTb2VmK7sWp3LdYf9
                  partner_id: part_NLYzgNKuSuASvrvoxNtau6SY
                  program_id: prg_T6z8aRW3XCmvFWP972RKxpAd
                  invoice_id: null
                  status: paid
                  period: 2026-10-01 - 2026-10-31
                  amount: '12500'
                  currency: usd
                  commission_count: 3
                  paid_at: '2026-10-01T12:00:00Z'
                  created_at: '2026-10-01T12:00:00Z'
                  updated_at: '2026-10-01T12:00:00Z'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                success: false
                message: Unauthorized
                code: unauthorized
                doc_url: https://docs.tolt.com/errors#unauthorized
        '404':
          description: Payout not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                success: false
                message: Payout not found
                code: not_found
                doc_url: https://docs.tolt.com/errors#not_found
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '409':
          description: Payout cannot be marked as paid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                success: false
                message: >-
                  The payout is on invoice INV-2026-0042. Pay the invoice or
                  remove the payout from it first
                code: conflict
                doc_url: https://docs.tolt.com/errors#conflict
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '413':
          $ref: '#/components/responses/PayloadTooLarge'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Payout:
      type: object
      properties:
        id:
          type: string
          example: pout_Hq4XcN8rTb2VmK7sWp3LdYf9
        partner_id:
          type:
            - string
            - 'null'
          description: The partner the payout pays.
          example: part_NLYzgNKuSuASvrvoxNtau6SY
        program_id:
          type:
            - string
            - 'null'
          example: prg_T6z8aRW3XCmvFWP972RKxpAd
        invoice_id:
          type:
            - string
            - 'null'
          description: The invoice the payout is on, or null.
          example: null
        status:
          type:
            - string
            - 'null'
          description: One of pending, processing, paid or failed.
          example: pending
        period:
          type:
            - string
            - 'null'
          description: The commission period the payout covers, as start and end dates.
          example: 2026-10-01 - 2026-10-31
        amount:
          type: string
          description: >-
            What the partner is owed, as an integer amount in the smallest
            currency unit (cents), serialized as a string. Sums the payout's
            approved commissions, and its paid ones once the payout is paid.
          example: '12500'
        currency:
          type:
            - string
            - 'null'
          description: Currency of amount, or null when no commission counts toward it.
          example: usd
        commission_count:
          type: integer
          description: How many commissions amount sums.
          example: 3
        paid_at:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            When the payout was paid, or null while it is unpaid. Payouts marked
            as paid in the dashboard have no paid date, so they keep null and
            paid_after and paid_before leave them out.
          example: null
        created_at:
          type: string
          format: date-time
          example: '2026-10-01T12:00:00Z'
        updated_at:
          type: string
          format: date-time
          example: '2026-10-01T12:00:00Z'
      required:
        - id
        - partner_id
        - program_id
        - invoice_id
        - status
        - period
        - amount
        - currency
        - commission_count
        - paid_at
        - created_at
        - updated_at
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
          description: Human-readable explanation. May change; branch on code instead.
        code:
          type: string
          enum:
            - bad_request
            - validation_error
            - invalid_reference
            - invalid_cursor
            - unauthorized
            - forbidden
            - not_found
            - conflict
            - already_exists
            - commission_paid
            - commission_frozen
            - transaction_refunded
            - commission_exists
            - rate_limited
            - short_link_unavailable
            - payload_too_large
            - internal_error
          description: Stable machine-readable error code.
          example: not_found
        doc_url:
          type: string
          example: https://docs.tolt.com/errors#not_found
        errors:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
              message:
                type: string
            required:
              - field
              - message
          description: >-
            One entry per offending field. Present on validation_error and
            invalid_reference.
      required:
        - success
        - message
        - code
        - doc_url
  headers:
    X-RateLimit-Limit:
      description: Requests allowed in the current window.
      schema:
        type: integer
    X-RateLimit-Remaining:
      description: Requests left in the current window.
      schema:
        type: integer
    X-RateLimit-Reset:
      description: Unix time, in seconds, when the window resets.
      schema:
        type: integer
    Retry-After:
      description: Seconds to wait before retrying.
      schema:
        type: integer
  responses:
    PayloadTooLarge:
      description: Request body exceeds 1 MB
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            message: Request body exceeds 1 MB
            code: payload_too_large
            doc_url: https://docs.tolt.com/errors#payload_too_large
    RateLimited:
      description: The API key exceeded its rate limit
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        Retry-After:
          $ref: '#/components/headers/Retry-After'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            message: Too many requests. Retry after the window resets.
            code: rate_limited
            doc_url: https://docs.tolt.com/errors#rate_limited
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Tolt API key sent as a bearer token.

````

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