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

# Get Paygo History

> Page only the authenticated organization's immutable events by append order.



## OpenAPI

````yaml https://api.getfloo.com/openapi.json get /v1/billing/paygo/history
openapi: 3.1.0
info:
  title: floo API
  version: 0.1.0
servers:
  - url: https://api.getfloo.com
security: []
paths:
  /v1/billing/paygo/history:
    get:
      tags:
        - billing
      summary: Get Paygo History
      description: >-
        Page only the authenticated organization's immutable events by append
        order.
      operationId: billing_get_paygo_history
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 50
            title: Limit
        - name: before_sequence
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 9223372036854776000
                minimum: 1
              - type: 'null'
            title: Before Sequence
        - $ref: '#/components/parameters/X-Floo-Org-Id'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaygoHistoryResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  parameters:
    X-Floo-Org-Id:
      name: X-Floo-Org-Id
      in: header
      required: false
      schema:
        type: string
        format: uuid
      description: Organization to act in; defaults to the one joined most recently.
  schemas:
    PaygoHistoryResponse:
      properties:
        currency:
          type: string
          const: usd
          title: Currency
          default: usd
        events:
          items:
            $ref: '#/components/schemas/PaygoTransaction'
          type: array
          title: Events
        next_before_sequence:
          anyOf:
            - type: integer
            - type: 'null'
          title: Next Before Sequence
      type: object
      required:
        - events
        - next_before_sequence
      title: PaygoHistoryResponse
      description: A descending page of USD money events; this is not spend authorization.
    ErrorResponse:
      properties:
        detail:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Body of every error response except request validation (422).
    PaygoTransaction:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        account_sequence:
          type: integer
          title: Account Sequence
        kind:
          $ref: '#/components/schemas/PaygoBalanceEventKind'
        source_occurred_at:
          type: string
          format: date-time
          title: Source Occurred At
        recorded_at:
          type: string
          format: date-time
          title: Recorded At
        pending_delta_nanodollars:
          type: string
          title: Pending Delta Nanodollars
        funds_delta_nanodollars:
          type: string
          title: Funds Delta Nanodollars
        usage_delta_nanodollars:
          type: string
          title: Usage Delta Nanodollars
        pending_after_nanodollars:
          type: string
          title: Pending After Nanodollars
        funds_after_nanodollars:
          type: string
          title: Funds After Nanodollars
        usage_after_nanodollars:
          type: string
          title: Usage After Nanodollars
        raw_balance_after_nanodollars:
          type: string
          title: Raw Balance After Nanodollars
      type: object
      required:
        - id
        - account_sequence
        - kind
        - source_occurred_at
        - recorded_at
        - pending_delta_nanodollars
        - funds_delta_nanodollars
        - usage_delta_nanodollars
        - pending_after_nanodollars
        - funds_after_nanodollars
        - usage_after_nanodollars
        - raw_balance_after_nanodollars
      title: PaygoTransaction
      description: >-
        Exact immutable money effects without processor or operator-only
        evidence.
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      additionalProperties: true
      type: object
      required:
        - code
        - message
      title: ErrorDetail
      description: Standard error envelope with operation-specific JSON context.
    PaygoBalanceEventKind:
      type: string
      enum:
        - funding_pending
        - account_activated
        - funding_settled
        - funding_canceled
        - refund_settled
        - refund_reinstated
        - dispute_debited
        - dispute_reinstated
        - operator_adjustment
        - migration_opening
        - usage_debit
      title: PaygoBalanceEventKind
      description: >-
        Closed accounting effects; allowances and promotional grants are
        excluded.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A `floo_` API key.

````

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