> This is Payabli documentation. For a complete page index, fetch https://docs.payabli.com/llms.txt — append .md to any page URL for lightweight markdown. For section-level indexes, query parameters, and other AI-optimized access methods, see https://docs.payabli.com/ai-agents.md

# List payouts by org

GET https://api-sandbox.payabli.com/api/Query/payouts/org/{orgId}

Retrieves a list of money out transactions (payouts) for an organization. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.

Reference: https://docs.payabli.com/developers/api-reference/query/get-list-of-payouts-for-organization

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: payabliApi-oas
  version: 1.0.0
paths:
  /Query/payouts/org/{orgId}:
    get:
      operationId: ListPayoutOrg
      summary: Get list of money out transactions for organization
      description: >-
        Retrieves a list of money out transactions (payouts) for an
        organization. Use filters to limit results. Include the `exportFormat`
        query parameter to return the results as a file instead of a JSON
        response.
      tags:
        - Query
      parameters:
        - name: orgId
          in: path
          description: The numeric identifier for organization, assigned by Payabli.
          required: true
          schema:
            type: integer
        - name: exportFormat
          in: query
          description: >-
            Export format for file downloads. When specified, returns data as a
            file instead of JSON.
          required: false
          schema:
            $ref: '#/components/schemas/ExportFormat'
        - name: fromRecord
          in: query
          description: >-
            The number of records to skip before starting to collect the result
            set.
          required: false
          schema:
            type: integer
            default: 0
        - name: limitRecord
          in: query
          description: >-
            Max number of records to return for the query. Use `0` or negative
            value to return all records.
          required: false
          schema:
            type: integer
            default: 20
        - name: parameters
          in: query
          description: >-
            Collection of field names, conditions, and values used to filter the
            query.

            <Info>
              **You must remove `parameters=` from the request before you send it, otherwise Payabli will ignore the filters.**

              Because of a technical limitation, you can't make a request that includes filters from the API console on this page. The response won't be filtered. Instead, copy the request, remove `parameters=` and run the request in a different client.

              For example:

              --url https://api-sandbox.payabli.com/api/Query/transactions/org/236?parameters=totalAmount(gt)=1000&limitRecord=20

              should become:

              --url https://api-sandbox.payabli.com/api/Query/transactions/org/236?totalAmount(gt)=1000&limitRecord=20
            </Info>

            List of field names accepted:

              - `status` (in, nin, eq, ne)
              - `transactionDate` (gt, ge, lt, le, eq, ne)
              - `billNumber` (ct, nct)
              - `vendorNumber` (ct, nct, eq, ne)
              - `vendorName` (ct, nct, eq, ne)
              - `parentOrgId` (ne, eq, nin, in)
              - `paymentMethod` (ct, nct, eq, ne, in, nin)
              - `paymentId` (ct, nct, eq, ne)
              - `batchNumber` (ct, nct, eq, ne)
              - `totalAmount` (gt, ge, lt, le, eq, ne)
              - `paypointLegal` (ne, eq, ct, nct)
              - `paypointDba` (ne, eq, ct, nct)
              - `accountId` (ne, eq, ct, nct)
              - `orgName` (ne, eq, ct, nct)
              - `externalPaypointID` (ct, nct, eq, ne)
              - `paypointId` (eq, ne)
              - `vendorId` (eq, ne)
              - `vendorEIN` (ct, nct, eq, ne)
              - `vendorPhone` (ct, nct, eq, ne)
              - `vendorEmail` (ct, nct, eq, ne)
              - `vendorAddress` (ct, nct, eq, ne)
              - `vendorCity` (ct, nct, eq, ne)
              - `vendorState` (ct, nct, eq, ne)
              - `vendorCountry` (ct, nct, eq, ne)
              - `vendorZip` (ct, nct, eq, ne)
              - `vendorMCC` (ct, nct, eq, ne)
              - `vendorLocationCode` (ct, nct, eq, ne)
              - `vendorCustomField1` (ct, nct, eq, ne)
              - `vendorCustomField2` (ct, nct, eq, ne)
              - `comments` (ct, nct)
              - `payaccountCurrency` (ne, eq, in, nin)
              - `remitAddress` (ct, nct)
              - `source` (ct, nct, eq, ne)
              - `updatedOn` (gt, ge, lt, le, eq, ne)
              - `feeAmount` (gt, ge, lt, le, eq, ne)
              - `lotNumber` (ct, nct)
              - `customerVendorAccount` (ct, nct, eq, ne)
              - `batchId` (eq, ne)
              - `AchTraceNumber` (eq, ne)
              - `payoutProgram`(eq, ne) the options are `managed` or `odp`. For example, `payoutProgram(eq)=managed` returns all records with a `payoutProgram` equal to `managed`.

              List of comparison accepted - enclosed between parentheses:
              - eq or empty => equal
              - gt => greater than
              - ge => greater or equal
              - lt => less than
              - le => less or equal
              - ne => not equal
              - ct => contains
              - nct => not contains
              - in => inside array separated by \"|\"
              - nin => not inside array separated by \"|\"

              List of parameters accepted:

              - limitRecord : max number of records for query (default=\"20\", \"0\" or negative value for all)
              - fromRecord : initial record in query
              - sortBy : indicate field name and direction to sort the results

              Example: `netAmount(gt)=20` returns all records with a `netAmount` greater than 20.00

              Example: `sortBy=desc(netamount)` returns all records sorted by `netAmount` descending
          required: false
          schema:
            type: object
            additionalProperties:
              type:
                - string
                - 'null'
        - name: sortBy
          in: query
          description: >-
            The field name to use for sorting results. Use `desc(field_name)` to
            sort descending by `field_name`, and use `asc(field_name)` to sort
            ascending by `field_name`.
          required: false
          schema:
            type: string
        - name: requestToken
          in: header
          description: >
            Long-lived API token sent in the `requestToken` header. See [API
            token authentication](/developers/api-tokens).
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryPayoutTransaction'
        '400':
          description: Bad request / invalid data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayabliErrorBody'
        '401':
          description: Unauthorized request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayabliErrorBody'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayabliErrorBody'
        '503':
          description: Database connection error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayabliErrorBody'
servers:
  - url: https://api-sandbox.payabli.com/api
    description: Sandbox
  - url: https://api.payabli.com/api
    description: Production
components:
  schemas:
    ExportFormat:
      type: string
      enum:
        - csv
        - xlsx
      description: |
        Export format for file downloads. When specified, returns data as a file
        instead of JSON.
      title: ExportFormat
    CreatedAt:
      type: string
      format: date-time
      description: Timestamp of when record was created, in UTC.
      title: CreatedAt
    Comments:
      type: string
      description: Any comment or description.
      title: Comments
    VendorNumber:
      type: string
      description: >
        Custom number identifying the vendor. Must be unique in paypoint. Can't
        be

        blank.
      title: VendorNumber
    Ein:
      type: string
      description: Business EIN or tax ID. This value is masked in API responses.
      title: Ein
    Email:
      type: string
      format: email
      description: Email address.
      title: Email
    RemitEmail:
      type: string
      format: email
      description: |
        Remittance email address. Used for sending virtual cards and other
        information about payouts.
      title: RemitEmail
    AddressNullable:
      type: string
      description: The address.
      title: AddressNullable
    AddressAddtlNullable:
      type: string
      description: Additional line for the address.
      title: AddressAddtlNullable
    CityNullable:
      type: string
      description: The city.
      title: CityNullable
    StateNullable:
      type: string
      description: The state or province.
      title: StateNullable
    Zip:
      type: string
      description: ZIP code for address.
      title: Zip
    Mcc:
      type: string
      description: >
        Business Merchant Category Code (MCC).

        [This
        resource](https://github.com/greggles/mcc-codes/blob/main/mcc_codes.csv)

        lists MCC codes.
      title: Mcc
    ContactsResponse:
      type: object
      properties:
        ContactName:
          type: string
          description: Contact name.
        ContactEmail:
          $ref: '#/components/schemas/Email'
          description: Contact email address.
        ContactTitle:
          type: string
          description: Contact title.
        ContactPhone:
          type: string
          description: Contact phone number.
      title: ContactsResponse
    AccountId:
      type: string
      description: Custom identifier for payment connector.
      title: AccountId
    BankName:
      type: string
      description: Name of bank for account.
      title: BankName
    RoutingAccount:
      type: string
      description: Routing number of bank account.
      title: RoutingAccount
    AccountNumber:
      type: string
      description: >-
        Account number for bank account. This value is returned masked in
        responses.
      title: AccountNumber
    TypeAccount:
      type: string
      enum:
        - Checking
        - Savings
      description: 'Type of bank account: Checking or Savings.'
      title: TypeAccount
    BankAccountHolderName:
      type: string
      description: The accountholder's name.
      title: BankAccountHolderName
    BankAccountHolderType:
      type: string
      enum:
        - Personal
        - Business
      description: Describes whether the bank is a personal or business account.
      title: BankAccountHolderType
    BillingDataResponse:
      type: object
      properties:
        id:
          type: integer
          description: The bank's ID in Payabli.
        accountId:
          $ref: '#/components/schemas/AccountId'
          description: >-
            An identifier for the bank account. If not provided during creation
            or update, the system generates one in the format
            `acct-{first_digit}xxxxx{last_4_digits}` based on the account
            number. If a duplicate exists within the same service at the
            paypoint, a numeric suffix is appended, such as `-2`. This value is
            also used as the identifier for the bank account's associated
            payment connector.
        nickname:
          type: string
        bankName:
          $ref: '#/components/schemas/BankName'
        routingAccount:
          $ref: '#/components/schemas/RoutingAccount'
        accountNumber:
          $ref: '#/components/schemas/AccountNumber'
        typeAccount:
          $ref: '#/components/schemas/TypeAccount'
        bankAccountHolderName:
          $ref: '#/components/schemas/BankAccountHolderName'
        bankAccountHolderType:
          $ref: '#/components/schemas/BankAccountHolderType'
        bankAccountFunction:
          type: integer
          description: >-
            Describes whether the bank account is used for deposits or
            withdrawals in Payabli:
              - `0`: Deposit
              - `1`: Withdrawal
              - `2`: Deposit and withdrawal
        verified:
          type: boolean
        status:
          type: integer
        services:
          type: array
          items:
            description: Any type
        default:
          type: boolean
      required:
        - id
        - nickname
        - bankName
        - routingAccount
        - accountNumber
        - typeAccount
        - bankAccountHolderName
        - bankAccountHolderType
        - bankAccountFunction
        - verified
        - status
        - services
        - default
      title: BillingDataResponse
    VendorPaymentMethodString:
      type: string
      description: |
        The vendor's preferred payment method. Can be one of:

        - `managed` — Managed payment method
        - `vcard` — Virtual card payment method
        - `check` — Check payment method
        - `ach` — ACH payment method
      title: VendorPaymentMethodString
    Vendorstatus:
      type: integer
      description: |
        Vendor's status. Allowed values:

        - `0` Inactive
        - `1` Active
        - `-99` Deleted
      title: Vendorstatus
    Vendorid:
      type: integer
      description: Payabli identifier for vendor record.
      title: Vendorid
    EnrollmentStatus:
      type: string
      description: Enrollment status of vendor in payables program.
      title: EnrollmentStatus
    VendorSummary:
      type: object
      properties:
        ActiveBills:
          type: integer
        PendingBills:
          type: integer
        InTransitBills:
          type: integer
        PaidBills:
          type: integer
        OverdueBills:
          type: integer
        ApprovedBills:
          type: integer
        DisapprovedBills:
          type: integer
        TotalBills:
          type: integer
        ActiveBillsAmount:
          type: number
          format: double
        PendingBillsAmount:
          type: number
          format: double
        InTransitBillsAmount:
          type: number
          format: double
        PaidBillsAmount:
          type: number
          format: double
        OverdueBillsAmount:
          type: number
          format: double
        ApprovedBillsAmount:
          type: number
          format: double
        DisapprovedBillsAmount:
          type: number
          format: double
        TotalBillsAmount:
          type: number
          format: double
      title: VendorSummary
    Legalname:
      type: string
      description: Business legal name.
      title: Legalname
    Dbaname:
      type: string
      description: |
        The alternate or common name that this business is doing business under,
        usually referred to as a DBA name.
      title: Dbaname
    Entrypointfield:
      type: string
      description: The entrypoint identifier.
      title: Entrypointfield
    OrgParentName:
      type: string
      description: The name of the parent organization.
      title: OrgParentName
    OrgParentId:
      type: integer
      format: int64
      description: The ID of the org's parent organization.
      title: OrgParentId
    LastModified:
      type: string
      format: date-time
      description: Timestamp of when record was last updated, in UTC.
      title: LastModified
    Remitaddress1:
      type: string
      description: >
        Remittance street address. Used for mailing paper checks. Required if
        any

        remittance address field is provided.
      title: Remitaddress1
    Remitaddress2:
      type: string
      description: |
        Remittance address additional line, such as a suite or unit number. Used
        for mailing paper checks. Always optional.
      title: Remitaddress2
    Remitcity:
      type: string
      description: |
        Remittance address city. Used for mailing paper checks. Required if any
        remittance address field is provided.
      title: Remitcity
    Remitstate:
      type: string
      description: |
        Remittance address state or province. Used for mailing paper checks.
        Required if any remittance address field is provided. Must be a valid
        US state or Canadian province abbreviation.
      title: Remitstate
    Remitzip:
      type: string
      description: |
        Remittance address ZIP or postal code. Used for mailing paper checks.
        Required if any remittance address field is provided. For US addresses,
        use five digits or ZIP+4 format.
      title: Remitzip
    Remitcountry:
      type: string
      description: |
        Remittance address country. Used for mailing paper checks. Must be `US`
        or `CA`. Defaults to `US` if not provided.
      title: Remitcountry
    PayeeName:
      type: string
      description: Alternative name used to receive paper check.
      title: PayeeName
    InternalReferenceId:
      type: integer
      format: int64
      description: An internal reference ID.
      title: InternalReferenceId
    AdditionalData:
      type: object
      additionalProperties:
        type: object
        additionalProperties:
          description: Any type
      description: >
        Custom dictionary of key:value pairs. You can use this field to store
        any

        data related to the object or for your system. If you are using

        [custom identifiers](/developers/developer-guides/entities-customers),

        pass those in this object. Max length for a value is 100 characters.

        Example usage:


        ```json

        {
          "additionalData": {
            "key1": "value1",
            "key2": "value2",
            "key3": "value3"
          }
        }

        ```
      title: AdditionalData
    ExternalPaypointId:
      type: string
      description: |
        A custom identifier for the paypoint, if applicable.
      title: ExternalPaypointId
    BinData:
      type: object
      properties:
        binMatchedLength:
          type: string
          description: |-
            The number of characters from the beginning of the card number that
            were matched against a Bank Identification Number (BIN) or the Card
            Range table.
        binCardBrand:
          type: string
          description: |-
            The card brand. For example, Visa, Mastercard, American Express,
            Discover.
        binCardType:
          type: string
          description: |-
            The type of card: `Credit` or `Debit`. Case can vary between
            processors, so compare this value case-insensitively.
        binCardCategory:
          type: string
          description: >-
            The category of the card, which indicates the card product. For
            example: Standard, Gold, Platinum, etc. The binCardCategory for
            prepaid cards is marked `PREPAID`.
        binCardIssuer:
          type: string
          description: The name of the financial institution that issued the card.
        binCardIssuerCountry:
          type: string
          description: The issuing financial institution's country name.
        binCardIssuerCountryCodeA2:
          type: string
          description: >-
            The issuing financial institution's two-character ISO country code.
            See [this resource](https://www.iso.org/obp/ui/#search) for a list
            of codes.
        binCardIssuerCountryNumber:
          type: string
          description: >-
            The issuing financial institution's ISO standard numeric country
            code. See [this resource](https://www.iso.org/obp/ui/#search) for a
            list of codes.
        binCardIsRegulated:
          type: string
          description: Indicates whether the card is regulated.
        binCardUseCategory:
          type: string
          description: The use category classification for the card.
        binCardIssuerCountryCodeA3:
          type: string
          description: >-
            The issuing financial institution's three-character ISO country
            code.

            See [this resource](https://www.iso.org/obp/ui/#search) for a list
            of

            codes.
      description: >-
        Object containing information related to the card. This object is `null`

        unless the payment method is card. If the payment method is Apple Pay,
        the

        binData will be related to the DPAN (device primary account number), not

        the card connected to Apple Pay.
      title: BinData
    VendorResponseStoredMethod:
      type: object
      properties:
        IdPmethod:
          type:
            - string
            - 'null'
        Method:
          type:
            - string
            - 'null'
        Descriptor:
          type:
            - string
            - 'null'
        MaskedAccount:
          type:
            - string
            - 'null'
        ExpDate:
          type:
            - string
            - 'null'
        HolderName:
          type:
            - string
            - 'null'
        AchSecCode:
          type:
            - string
            - 'null'
        AchHolderType:
          type:
            - string
            - 'null'
        IsValidatedACH:
          type:
            - boolean
            - 'null'
        BIN:
          type:
            - string
            - 'null'
        binData:
          oneOf:
            - $ref: '#/components/schemas/BinData'
            - type: 'null'
        ABA:
          type:
            - string
            - 'null'
        PostalCode:
          type:
            - string
            - 'null'
        MethodType:
          type:
            - string
            - 'null'
        WalletType:
          type:
            - string
            - 'null'
          description: Digital wallet type if applicable.
        LastUpdated:
          type:
            - string
            - 'null'
          format: date-time
        CardUpdatedOn:
          type:
            - string
            - 'null'
          format: date-time
          description: Date and time the card was last updated.
      required:
        - IdPmethod
        - Method
        - Descriptor
        - MaskedAccount
        - ExpDate
        - HolderName
        - AchSecCode
        - AchHolderType
        - IsValidatedACH
        - BIN
        - binData
        - ABA
        - PostalCode
        - MethodType
        - WalletType
        - LastUpdated
        - CardUpdatedOn
      description: Stored payment method information
      title: VendorResponseStoredMethod
    VendorQueryRecord:
      type: object
      properties:
        VendorNumber:
          $ref: '#/components/schemas/VendorNumber'
        Name1:
          type: string
        Name2:
          type:
            - string
            - 'null'
        EIN:
          oneOf:
            - $ref: '#/components/schemas/Ein'
            - type: 'null'
        Phone:
          type: string
        Email:
          $ref: '#/components/schemas/Email'
        RemitEmail:
          oneOf:
            - $ref: '#/components/schemas/RemitEmail'
            - type: 'null'
        Address1:
          $ref: '#/components/schemas/AddressNullable'
        Address2:
          $ref: '#/components/schemas/AddressAddtlNullable'
        City:
          $ref: '#/components/schemas/CityNullable'
        State:
          $ref: '#/components/schemas/StateNullable'
        Zip:
          $ref: '#/components/schemas/Zip'
        Country:
          type: string
        Mcc:
          $ref: '#/components/schemas/Mcc'
        LocationCode:
          type: string
        Contacts:
          type: array
          items:
            $ref: '#/components/schemas/ContactsResponse'
          description: Array of objects describing the vendor's contacts.
        BillingData:
          $ref: '#/components/schemas/BillingDataResponse'
        PaymentMethod:
          $ref: '#/components/schemas/VendorPaymentMethodString'
        VendorStatus:
          $ref: '#/components/schemas/Vendorstatus'
        VendorId:
          $ref: '#/components/schemas/Vendorid'
        EnrollmentStatus:
          $ref: '#/components/schemas/EnrollmentStatus'
        Summary:
          $ref: '#/components/schemas/VendorSummary'
        PaypointLegalname:
          $ref: '#/components/schemas/Legalname'
        PaypointId:
          type:
            - integer
            - 'null'
          format: int64
          description: The paypoint's ID. This is different from the entryname.
        PaypointDbaname:
          $ref: '#/components/schemas/Dbaname'
        PaypointEntryname:
          $ref: '#/components/schemas/Entrypointfield'
        ParentOrgName:
          $ref: '#/components/schemas/OrgParentName'
        ParentOrgId:
          $ref: '#/components/schemas/OrgParentId'
        CreatedDate:
          $ref: '#/components/schemas/CreatedAt'
        LastUpdated:
          $ref: '#/components/schemas/LastModified'
        remitAddress1:
          $ref: '#/components/schemas/Remitaddress1'
        remitAddress2:
          $ref: '#/components/schemas/Remitaddress2'
        remitCity:
          $ref: '#/components/schemas/Remitcity'
        remitState:
          $ref: '#/components/schemas/Remitstate'
        remitZip:
          $ref: '#/components/schemas/Remitzip'
        remitCountry:
          $ref: '#/components/schemas/Remitcountry'
        payeeName1:
          $ref: '#/components/schemas/PayeeName'
        payeeName2:
          $ref: '#/components/schemas/PayeeName'
        customField1:
          type: string
        customField2:
          type: string
        customerVendorAccount:
          type: string
        InternalReferenceId:
          $ref: '#/components/schemas/InternalReferenceId'
        PaymentPortalUrl:
          type: string
          description: >-
            URL for the vendor's online payment portal, if known. Populated by
            the vendor enrichment pipeline.
        CardAccepted:
          type: string
          description: >-
            Whether the vendor accepts card payments. Values are `yes`, `no`, or
            `unable to determine`. Populated by the vendor enrichment pipeline.
        AchAccepted:
          type: string
          description: >-
            Whether the vendor accepts ACH payments. Values are `yes`, `no`, or
            `unable to determine`. Populated by the vendor enrichment pipeline.
        CheckAccepted:
          type: string
          description: >-
            Whether the vendor accepts check payments. Values are `yes`, `no`,
            or `unable to determine`. Populated by the vendor enrichment
            pipeline.
        EnrichmentStatus:
          type: string
          description: >-
            Current enrichment state of the vendor. Values are `not_enriched`,
            `partially_enriched`, `fully_enriched`, or `fallback_applied`.
        EnrichedBy:
          type: string
          description: >-
            Which enrichment method resolved the vendor's payment acceptance
            info. Values are `invoice_scan`, `web_search`, `vendor_network`, or
            `manual`.
        EnrichedAt:
          type: string
          format: date-time
          description: When the vendor was last enriched (UTC).
        EnrichmentId:
          type: string
          description: Identifier for the enrichment request that last updated this vendor.
        additionalData:
          $ref: '#/components/schemas/AdditionalData'
        externalPaypointID:
          $ref: '#/components/schemas/ExternalPaypointId'
        StoredMethods:
          type: array
          items:
            $ref: '#/components/schemas/VendorResponseStoredMethod'
      title: VendorQueryRecord
    PaypointId:
      type: integer
      format: int64
      description: The paypoint's ID. Note that this is different than the entryname.
      title: PaypointId
    PaymentIdString:
      type: string
      description: |
        The unique transaction ID. This value is a string representation of a
        long integer.
      title: PaymentIdString
    Netamountnullable:
      type: number
      format: double
      description: Net amount.
      title: Netamountnullable
    FeeAmount:
      type: number
      format: double
      description: Service fee or sub-charge applied.
      title: FeeAmount
    Source:
      type: string
      description: Custom identifier to indicate the transaction or request source.
      title: Source
    BatchNumber:
      type: string
      description: >
        A unique identifier for the batch. This is generated by Payabli when the

        batch is created, and follows this format:

        `paypointId + "_" + serviceName + "_" + batchDate:yyyyMMdd + "_" +
        Guid.NewGuid()`.

        Payabli generates the GUID to ensure that the batch number is unique.


        For example, in this batch number:

        `123_card_20251008_3f2504e0-4f89-11d3-9a0c-0305e82c3301`, the paypointID

        is `123`, the service is `card`, the batch date is `2025-10-08`, and

        the GUID is `3f2504e0-4f89-11d3-9a0c-0305e82c3301`.
      title: BatchNumber
    FileContentFtype:
      type: string
      enum:
        - pdf
        - doc
        - docx
        - jpg
        - jpeg
        - png
        - gif
        - txt
      description: The MIME type of the file (if content is provided).
      title: FileContentFtype
    FileContent:
      type: object
      properties:
        fContent:
          type: string
          description: |
            Content of file, Base64-encoded. Ignored if `furl` is specified. Max
            upload size is 30 MB.
        filename:
          type: string
          description: The name of the attached file.
        ftype:
          $ref: '#/components/schemas/FileContentFtype'
        furl:
          type: string
          description: Optional URL provided to show or download the file remotely.
      description: Contains details about a file. Max upload size is 30 MB.
      title: FileContent
    Maskedaccount:
      type: string
      description: |
        Masked card or bank account used in transaction. In the case of Apple
        Pay, this is a masked DPAN (device primary account number).
      title: Maskedaccount
    Accounttype:
      type: string
      description: Bank account type or card brand.
      title: Accounttype
    Accountexp:
      type: string
      description: Expiration date of card used in transaction.
      title: Accountexp
    Accountzip:
      type: string
      description: ZIP code for card used in transaction.
      title: Accountzip
    Holdername:
      type: string
      description: The cardholder name.
      title: Holdername
    Storedmethodid:
      type: string
      description: |
        Payabli identifier of a tokenized payment method. If this field is
        used in a request, the `method` field is overridden and the payment
        is made using the payment token.
      title: Storedmethodid
    Initiator:
      type: string
      description: |
        The transaction's initiator. Indicates who initiated the transaction.
      title: Initiator
    StoredMethodUsageType:
      type: string
      description: >
        **Strongly recommended.** The usage type for the stored method, used

        for merchant-initiated transactions (MIT). If you don't specify a

        value, Payabli defaults to `unscheduled`.


        Available values:


        - `unscheduled`: One-time or otherwise not pre-scheduled.

        - `subscription`: Subscription payments. For example, monthly rental
          fees or ongoing service subscriptions.
        - `recurring`: Recurring payments per a set plan. For example,
          splitting an HOA special assessment over 6 monthly payments.

        See

        [Understanding CIT and MIT
        Indicators](/guides/pay-in-transactions-cit-mit-overview)

        for more information.
      title: StoredMethodUsageType
    Sequence:
      type: string
      description: >
        The order of the transaction for cardholder-initiated transaction (CIT)

        and merchant-initiated transaction (MIT) purposes. This field is

        automatically detected and populated by Payabli.


        Available values:


        - `first`: The first use of the payment method. This is almost always
          a cardholder-initiated transaction.
        - `subsequent`: For merchant-initiated transactions after the first use
          of the payment method.

        See

        [Understanding CIT and MIT
        Indicators](/guides/pay-in-transactions-cit-mit-overview)

        for more information.
      title: Sequence
    Orderdescription:
      type: string
      description: Text description of the transaction.
      title: Orderdescription
    PaymentCategories:
      type: object
      properties:
        amount:
          type: number
          format: double
          description: Price/cost per unit of item or category.
        description:
          type: string
          description: Description of item or category
        label:
          type: string
          description: Name of item or category.
        qty:
          type: integer
          default: 1
          description: Quantity of item or category
      required:
        - amount
        - label
      title: PaymentCategories
    SplitFundingContent:
      type: object
      properties:
        accountId:
          type: string
          description: The accountId for the account the split should be sent to.
        amount:
          type: number
          format: double
          description: Amount from the transaction to send to this recipient.
        description:
          type: string
          description: A description for the split.
        recipientEntryPoint:
          type: string
          description: The entrypoint the split should be sent to.
      title: SplitFundingContent
    SplitFunding:
      type: array
      items:
        $ref: '#/components/schemas/SplitFundingContent'
      description: >-
        Split funding instructions for the transaction. The total amount of the
        splits must match the total amount of the transaction.
      title: SplitFunding
    PaymentDetail:
      type: object
      properties:
        categories:
          type: array
          items:
            $ref: '#/components/schemas/PaymentCategories'
          description: >-
            Array of payment categories/line items describing the amount to be
            paid.

            **Note**: These categories are for information only and aren't
            validated against the total amount provided.
        checkImage:
          type: object
          additionalProperties:
            description: Any type
          description: Object containing image of paper check.
        checkNumber:
          type: string
          description: >-
            A check number to be used in the ach transaction. **Required** for
            payment method = 'check'.
        currency:
          type: string
          description: >-
            The currency for the transaction, `USD` or `CAD`. If your paypoint
            is configured for CAD, you must send the `CAD` value in this field,
            otherwise it defaults to USD, which will cause the transaction to
            fail.
        serviceFee:
          type: number
          format: double
          description: >-
            Service fee to be deducted from the total amount. This amount must
            be a number, percentages aren't accepted. If you are using a
            percentage-based fee schedule, you must calculate the value
            manually.
        splitFunding:
          $ref: '#/components/schemas/SplitFunding'
          description: >-
            Split funding instructions for the transaction. See [Split a
            Transaction](/developers/developer-guides/money-in-split-funding)
            for more.
        checkUniqueId:
          type: string
          description: >-
            Unique identifier for a processed check image. Required for RDC
            (Remote Deposit Capture) transactions where `achCode` is `BOC`. Use
            the `id` value from the [check
            processing](/developers/api-reference/moneyin/check-capture)
            response.
        totalAmount:
          type: number
          format: double
          description: >-
            Total amount to be charged. If a service fee is sent, then this
            amount should include the service fee."
      required:
        - totalAmount
      description: Details about the payment.
      title: PaymentDetail
    PayoutGatewayConnector:
      type: object
      properties:
        configuration:
          type: string
        Name:
          type: string
        Mode:
          type: integer
        Bank:
          type: string
        Descriptor:
          type: string
        gatewayID:
          type: integer
        Enabled:
          type: boolean
        EnableACHValidation:
          type: boolean
        TestMode:
          type: boolean
      title: PayoutGatewayConnector
    QueryPayoutTransactionRecordsItemPaymentData:
      type: object
      properties:
        MaskedAccount:
          $ref: '#/components/schemas/Maskedaccount'
        AccountType:
          $ref: '#/components/schemas/Accounttype'
        AccountExp:
          $ref: '#/components/schemas/Accountexp'
        AccountZip:
          $ref: '#/components/schemas/Accountzip'
        HolderName:
          oneOf:
            - $ref: '#/components/schemas/Holdername'
            - type: 'null'
          description: Card or bank account holder name.
        StoredId:
          $ref: '#/components/schemas/Storedmethodid'
          description: Identifier of stored payment method used in transaction.
        Initiator:
          oneOf:
            - $ref: '#/components/schemas/Initiator'
            - type: 'null'
        StoredMethodUsageType:
          oneOf:
            - $ref: '#/components/schemas/StoredMethodUsageType'
            - type: 'null'
        Sequence:
          oneOf:
            - $ref: '#/components/schemas/Sequence'
            - type: 'null'
        orderDescription:
          oneOf:
            - $ref: '#/components/schemas/Orderdescription'
            - type: 'null'
        cloudSignatureData:
          type:
            - string
            - 'null'
        cloudSignatureFormat:
          type:
            - string
            - 'null'
        paymentDetails:
          oneOf:
            - $ref: '#/components/schemas/PaymentDetail'
            - type: 'null'
        payorData:
          type:
            - string
            - 'null'
        accountId:
          $ref: '#/components/schemas/AccountId'
        bankAccount:
          type:
            - string
            - 'null'
        gatewayConnector:
          oneOf:
            - $ref: '#/components/schemas/PayoutGatewayConnector'
            - type: 'null'
        binData:
          oneOf:
            - $ref: '#/components/schemas/BinData'
            - type: 'null'
      title: QueryPayoutTransactionRecordsItemPaymentData
    AccountingField:
      type: string
      description: Optional custom field.
      title: AccountingField
    Terms:
      type: string
      enum:
        - PIA
        - CIA
        - UR
        - NET10
        - NET20
        - NET30
        - NET45
        - NET60
        - NET90
        - EOM
        - MFI
        - 5MFI
        - 10MFI
        - 15MFI
        - 20MFI
        - 2/10NET30
        - UF
        - 10UF
        - 20UF
        - 25UF
        - 50UF
      description: >
        Payment terms for invoice. If no terms are defined, then response data
        for

        this field defaults to `NET30`.
      title: Terms
    AdditionalDataString:
      type: string
      description: >
        Custom dictionary of key:value pairs. You can use this field to store
        any

        data related to the object or for your system. Example usage:


        ```json

        {
          "additionalData": {
            "key1": "value1",
            "key2": "value2",
            "key3": "value3"
          }
        }

        ```
      title: AdditionalDataString
    Attachments:
      type: array
      items:
        $ref: '#/components/schemas/FileContent'
      description: >
        Array of `fileContent` objects with attached documents. Max upload size
        is

        30 MB.
      title: Attachments
    InvoiceNumber:
      type: string
      description: Invoice number. Identifies the invoice under a paypoint.
      title: InvoiceNumber
    NetAmountstring:
      type: string
      description: Net amount owed in bill. Required when adding a bill.
      title: NetAmountstring
    BillPayOutData:
      type: object
      properties:
        billId:
          type: integer
          format: int64
          description: Bill ID in Payabli.
        LotNumber:
          type:
            - string
            - 'null'
          description: Lot number associated with the bill.
        AccountingField1:
          $ref: '#/components/schemas/AccountingField'
        AccountingField2:
          $ref: '#/components/schemas/AccountingField'
        Terms:
          $ref: '#/components/schemas/Terms'
          description: Description of payment terms.
        AdditionalData:
          $ref: '#/components/schemas/AdditionalDataString'
        attachments:
          $ref: '#/components/schemas/Attachments'
          description: >-
            Bill image attachment. Send the bill image as Base64-encoded string,
            or as a publicly accessible link. For full details on using this
            field with a payout authorization, see [the
            documentation](/developers/developer-guides/pay-out-manage-payouts).
        invoiceNumber:
          $ref: '#/components/schemas/InvoiceNumber'
          description: >-
            Custom number identifying the bill. Must be unique in paypoint.
            **Required** for new bill and when `billId` isn't provided.
        netAmount:
          $ref: '#/components/schemas/NetAmountstring'
          description: Net Amount owed in bill. Required when adding a bill.
        invoiceDate:
          type:
            - string
            - 'null'
          format: date
          description: Bill date in format YYYY-MM-DD or MM/DD/YYYY.
        dueDate:
          type:
            - string
            - 'null'
          format: date
          description: Bill due date in format YYYY-MM-DD or MM/DD/YYYY.
        comments:
          $ref: '#/components/schemas/Comments'
          description: >-
            Any comments about bill. **For managed payouts, this field has a
            limit of 100 characters**.
        identifier:
          type:
            - string
            - 'null'
          description: Custom identifier for the bill.
        discount:
          type: string
          description: Bill discount amount.
        totalAmount:
          type:
            - string
            - 'null'
          description: Total amount of the bill.
      required:
        - invoiceDate
        - dueDate
      title: BillPayOutData
    QueryTransactionEventsEventData:
      oneOf:
        - type: object
          additionalProperties:
            description: Any type
        - type: string
      description: |
        Any data associated to the event received from processor. Contents vary
        by event type.
      title: QueryTransactionEventsEventData
    QueryTransactionEvents:
      type: object
      properties:
        TransEvent:
          type: string
          description: >-
            Event descriptor. See [TransEvent
            Reference](/guides/pay-in-transevents-reference) for more details.
        EventData:
          $ref: '#/components/schemas/QueryTransactionEventsEventData'
          description: >-
            Any data associated to the event received from processor. Contents
            vary by event type.
        EventTime:
          type: string
          format: date-time
          description: Date and time of event.
      title: QueryTransactionEvents
    Gatewayfield:
      type: string
      description: |
        The payment gateway used to process the transaction.
      title: Gatewayfield
    HasVcardTransactions:
      type: boolean
      description: |
        When `true`, indicates that the paypoint has vCard transactions.
      title: HasVcardTransactions
    IsSameDayACH:
      type: boolean
      description: |
        When `true`, this is a same-day ACH transaction.
      title: IsSameDayACH
    ScheduleId:
      type: integer
      format: int64
      description: ID of the recurring payment schedule associated with the transaction.
      title: ScheduleId
    SettlementStatusPayout:
      type: string
      description: >
        The settlement status of the payout transaction. See

        [Payout Transaction
        Statuses](/guides/pay-out-status-reference#payout-transaction-statuses)

        for a full reference.
      title: SettlementStatusPayout
    SettlementStatusName:
      type:
        - string
        - 'null'
      description: Name of the settlement status.
      title: SettlementStatusName
    RiskFlagged:
      type: boolean
      description: Indicates if the transaction was flagged for risk.
      title: RiskFlagged
    RiskFlaggedOn:
      type: string
      format: date-time
      description: Timestamp when the transaction was flagged for risk.
      title: RiskFlaggedOn
    RiskStatus:
      type: string
      description: Current risk status of the transaction.
      title: RiskStatus
    RiskReason:
      type: string
      description: Reason for risk flagging.
      title: RiskReason
    RiskAction:
      type: string
      description: Action taken due to risk assessment.
      title: RiskAction
    RiskActionCode:
      type: integer
      description: Numeric code representing the risk action.
      title: RiskActionCode
    PayoutProgram:
      type: string
      description: |
        The payout program associated with the transaction. Values are `Managed`
        (managed payables) or `ODP` (on-demand payables).
      title: PayoutProgram
    QueryPayoutTransactionRecordsItem:
      type: object
      properties:
        IdOut:
          type: integer
          format: int64
          description: Identifier of payout transaction.
        CreatedAt:
          $ref: '#/components/schemas/CreatedAt'
          description: Timestamp when the payment was created, in UTC.
        Comments:
          $ref: '#/components/schemas/Comments'
          description: Any comment or description for payout transaction.
        Vendor:
          $ref: '#/components/schemas/VendorQueryRecord'
          description: Vendor related to the payout transaction.
        PaypointDbaname:
          $ref: '#/components/schemas/Dbaname'
        PaypointLegalname:
          $ref: '#/components/schemas/Legalname'
          description: Paypoint legal name.
        PaypointId:
          $ref: '#/components/schemas/PaypointId'
        Status:
          type: integer
          description: Internal status of transaction.
        PaymentId:
          $ref: '#/components/schemas/PaymentIdString'
        TransId:
          type:
            - string
            - 'null'
          description: ID of the transaction linked to this payout, when applicable.
        TransStatus:
          type:
            - integer
            - 'null'
          description: Status of the linked transaction.
        TransStatusDetail:
          type:
            - string
            - 'null'
          description: Detailed status of the linked transaction.
        TransStatusName:
          type:
            - string
            - 'null'
          description: Name of the linked transaction's status.
        TransStatusCategory:
          type:
            - string
            - 'null'
          description: Category of the linked transaction's status.
        LastUpdated:
          $ref: '#/components/schemas/LastModified'
          description: Timestamp when payment record was updated.
        TotalAmount:
          type: number
          format: double
          description: Transaction total amount (including service fee or sub-charge).
        NetAmount:
          $ref: '#/components/schemas/Netamountnullable'
          description: Net amount paid.
        FeeAmount:
          $ref: '#/components/schemas/FeeAmount'
        Source:
          $ref: '#/components/schemas/Source'
        ParentOrgName:
          $ref: '#/components/schemas/OrgParentName'
        ParentOrgId:
          $ref: '#/components/schemas/OrgParentId'
        BatchNumber:
          $ref: '#/components/schemas/BatchNumber'
        PaymentStatus:
          type: string
          description: >-
            Status of payout transaction. See [Payout Transaction
            Statuses](/guides/pay-out-status-reference#payout-transaction-statuses)
            for a full reference.
        PaymentMethod:
          type: string
          description: The payment method for the transaction.
        CardToken:
          type:
            - string
            - 'null'
        CheckNumber:
          type: string
          description: Paper check number related to payout transaction.
        CheckData:
          $ref: '#/components/schemas/FileContent'
          description: Object referencing paper check image.
        PaymentData:
          $ref: '#/components/schemas/QueryPayoutTransactionRecordsItemPaymentData'
        Bills:
          type: array
          items:
            $ref: '#/components/schemas/BillPayOutData'
          description: Bills associated with this transaction.
        Events:
          type: array
          items:
            $ref: '#/components/schemas/QueryTransactionEvents'
          description: Events associated with this transaction.
        externalPaypointID:
          $ref: '#/components/schemas/ExternalPaypointId'
        EntryName:
          $ref: '#/components/schemas/Entrypointfield'
        Gateway:
          $ref: '#/components/schemas/Gatewayfield'
        BatchId:
          type: integer
          description: Identifier of the batch associated with payout transaction.
        HasVcardTransactions:
          $ref: '#/components/schemas/HasVcardTransactions'
        IsSameDayACH:
          $ref: '#/components/schemas/IsSameDayACH'
        ScheduleId:
          $ref: '#/components/schemas/ScheduleId'
        SettlementStatus:
          $ref: '#/components/schemas/SettlementStatusPayout'
        SettlementStatusName:
          $ref: '#/components/schemas/SettlementStatusName'
        SettlementDate:
          type:
            - string
            - 'null'
          format: date-time
          description: Date the payout settled, in UTC. Null until the payout settles.
        RiskFlagged:
          $ref: '#/components/schemas/RiskFlagged'
        RiskFlaggedOn:
          $ref: '#/components/schemas/RiskFlaggedOn'
        RiskStatus:
          $ref: '#/components/schemas/RiskStatus'
        RiskReason:
          $ref: '#/components/schemas/RiskReason'
        RiskAction:
          $ref: '#/components/schemas/RiskAction'
        RiskActionCode:
          $ref: '#/components/schemas/RiskActionCode'
        PayoutProgram:
          $ref: '#/components/schemas/PayoutProgram'
        AchTraceNumber:
          type:
            - string
            - 'null'
          description: ACH trace number for the payout, when available.
        EntityId:
          type: string
          description: Unique identifier (ULID) of the payout transaction.
      title: QueryPayoutTransactionRecordsItem
    Pagesize:
      type: integer
      description: Number of records on each response page.
      title: Pagesize
    PageIdentifier:
      type: string
      description: Auxiliary validation used internally by payment pages and components.
      title: PageIdentifier
    QueryPayoutTransactionSummary:
      type: object
      properties:
        totalPaid:
          type: integer
        totalPaidAmount:
          type: number
          format: double
        totalCanceled:
          type: integer
        totalCanceledAmount:
          type: number
          format: double
        totalCaptured:
          type: integer
        totalCapturedAmount:
          type: number
          format: double
        totalAuthorized:
          type: integer
        totalAuthorizedAmount:
          type: number
          format: double
        totalProcessing:
          type: integer
        totalProcessingAmount:
          type: number
          format: double
        totalOpen:
          type: integer
        totalOpenAmount:
          type: number
          format: double
        totalOnHold:
          type: integer
          description: Total number of transactions that are currently on hold.
        totalOnHoldAmount:
          type: number
          format: double
          description: Total amount of transactions that are currently on hold.
        totalRecords:
          type: integer
        totalAmount:
          type: number
          format: double
        totalNetAmount:
          type: number
          format: double
        totalPages:
          type: integer
        pageSize:
          $ref: '#/components/schemas/Pagesize'
        pageidentifier:
          oneOf:
            - $ref: '#/components/schemas/PageIdentifier'
            - type: 'null'
      title: QueryPayoutTransactionSummary
    QueryPayoutTransaction:
      type: object
      properties:
        Records:
          type: array
          items:
            $ref: '#/components/schemas/QueryPayoutTransactionRecordsItem'
        Summary:
          $ref: '#/components/schemas/QueryPayoutTransactionSummary'
      title: QueryPayoutTransaction
    PayabliErrorBodyResponseData:
      type: object
      properties:
        explanation:
          type: string
          description: Human-readable explanation of what happened.
        todoAction:
          type: string
          description: Suggested resolution.
      description: Object with detailed error context.
      title: PayabliErrorBodyResponseData
    PayabliErrorBody:
      type: object
      properties:
        isSuccess:
          type: boolean
          description: Always `false` for error responses.
        responseCode:
          type: integer
          description: |
            Code for the response. Learn more in
            [API Response Codes](/developers/api-reference/api-responses).
        responseText:
          type: string
          description: Error text describing what went wrong.
        responseData:
          $ref: '#/components/schemas/PayabliErrorBodyResponseData'
          description: Object with detailed error context.
      required:
        - isSuccess
        - responseText
      description: |
        Shape returned by every Payabli API error response. The `responseData`
        object carries human-readable error context.
      title: PayabliErrorBody
  securitySchemes:
    APIKeyAuth:
      type: apiKey
      in: header
      name: requestToken
      description: >
        Long-lived API token sent in the `requestToken` header. See [API token
        authentication](/developers/api-tokens).
    BearerAuth:
      type: http
      scheme: bearer
      description: >
        OAuth2 Bearer access token from the client-credentials flow. See [OAuth
        authentication](/developers/oauth-authentication).

```

## Examples



**Response**

```json
{
  "Records": [
    {
      "IdOut": 236,
      "CreatedAt": "2024-01-15T15:00:01Z",
      "Comments": "Deposit for materials",
      "Vendor": {
        "VendorNumber": "VEN-123",
        "Name1": "Riverside Plumbing",
        "Name2": null,
        "EIN": null,
        "Phone": "(555) 555-1234",
        "Email": "vendor@example.com",
        "RemitEmail": null,
        "Address1": "100 Main Street",
        "Address2": null,
        "City": "Miami",
        "State": "FL",
        "Zip": "33131",
        "Country": "US",
        "Mcc": null,
        "LocationCode": null,
        "Contacts": [
          {
            "ContactName": "Alex Doe",
            "ContactEmail": "contact@example.com",
            "ContactTitle": "Accounts Receivable",
            "ContactPhone": "(555) 555-5678"
          }
        ],
        "BillingData": null,
        "PaymentMethod": "ach",
        "VendorStatus": 1,
        "VendorId": 456,
        "EnrollmentStatus": null,
        "Summary": null,
        "PaypointLegalname": "Sunshine Services, LLC",
        "PaypointId": 3040,
        "PaypointDbaname": "Sunshine Gutters",
        "PaypointEntryname": "8cfec329267",
        "ParentOrgName": "PropertyManager Pro",
        "ParentOrgId": 123,
        "CreatedDate": "2024-01-10T15:00:01Z",
        "LastUpdated": "2024-01-12T15:00:01Z",
        "remitAddress1": "100 Main Street",
        "remitAddress2": null,
        "remitCity": "Miami",
        "remitState": "FL",
        "remitZip": "33131",
        "remitCountry": "US",
        "payeeName1": null,
        "payeeName2": null,
        "customField1": null,
        "customField2": null,
        "customerVendorAccount": null,
        "InternalReferenceId": 12345,
        "PaymentPortalUrl": null,
        "CardAccepted": "yes",
        "AchAccepted": "yes",
        "CheckAccepted": "no",
        "EnrichmentStatus": "fully_enriched",
        "EnrichedBy": "web_search",
        "EnrichedAt": "2024-01-12T15:00:01Z",
        "EnrichmentId": null,
        "additionalData": null,
        "externalPaypointID": "",
        "StoredMethods": null
      },
      "PaypointDbaname": "Sunshine Gutters",
      "PaypointLegalname": "Sunshine Services, LLC",
      "PaypointId": 3040,
      "Status": 1,
      "PaymentId": "01J0ABCDEF2WQ4VS323V5WKZP3",
      "TransId": null,
      "TransStatus": null,
      "TransStatusDetail": null,
      "TransStatusName": null,
      "TransStatusCategory": null,
      "LastUpdated": "2024-01-15T15:00:01Z",
      "TotalAmount": 110.25,
      "NetAmount": 100,
      "FeeAmount": 10.25,
      "Source": "api",
      "ParentOrgName": "PropertyManager Pro",
      "ParentOrgId": 123,
      "BatchNumber": "BT-2024321",
      "PaymentStatus": "Processed",
      "PaymentMethod": "ach",
      "CheckNumber": "12345",
      "CheckData": null,
      "PaymentData": {
        "MaskedAccount": "1XXXXXX3123",
        "AccountType": "checking",
        "AccountExp": "",
        "AccountZip": "",
        "HolderName": null,
        "StoredId": "1ec55af9-7b5a-4ff0-81ed-c12d2f95e135-456",
        "Initiator": null,
        "StoredMethodUsageType": null,
        "Sequence": null,
        "orderDescription": null,
        "cloudSignatureData": null,
        "cloudSignatureFormat": null,
        "paymentDetails": null,
        "payorData": null,
        "accountId": "",
        "bankAccount": null,
        "gatewayConnector": null,
        "binData": null
      },
      "Bills": [
        {
          "invoiceDate": "2024-01-10",
          "dueDate": "2024-01-20",
          "billId": 54323,
          "LotNumber": null,
          "AccountingField1": null,
          "AccountingField2": null,
          "Terms": null,
          "AdditionalData": null,
          "attachments": null,
          "invoiceNumber": "INV-2345",
          "netAmount": "100",
          "comments": "",
          "identifier": null,
          "discount": "0",
          "totalAmount": "100"
        }
      ],
      "Events": [
        {
          "TransEvent": "Risk Validated: PASSED",
          "EventData": "blockedCard, blockedIP, blockedPaypoint, blockedPayor",
          "EventTime": "2024-01-15T15:00:01Z"
        },
        {
          "TransEvent": "Created",
          "EventData": "0HNMNN3L95DJB:00000001",
          "EventTime": "2024-01-15T15:00:02Z"
        },
        {
          "TransEvent": "Authorized",
          "EventData": "0HNMNN3L95DJB:00000001",
          "EventTime": "2024-01-15T15:00:03Z"
        }
      ],
      "externalPaypointID": "",
      "EntryName": "8cfec329267",
      "Gateway": "BK",
      "BatchId": 0,
      "HasVcardTransactions": false,
      "IsSameDayACH": false,
      "ScheduleId": 0,
      "SettlementStatus": "None",
      "SettlementStatusName": "",
      "SettlementDate": null,
      "RiskFlagged": false,
      "RiskFlaggedOn": "2024-01-15T15:00:01Z",
      "RiskStatus": "PASSED",
      "RiskReason": "",
      "RiskAction": "",
      "RiskActionCode": 0,
      "PayoutProgram": "ODP",
      "AchTraceNumber": null,
      "EntityId": "01J0ABCDEF9FWATVWMBWGE6MPP",
      "CardToken": null
    }
  ],
  "Summary": {
    "totalPaid": 1,
    "totalPaidAmount": 4,
    "totalCanceled": 1743,
    "totalCanceledAmount": 4515,
    "totalCaptured": 138,
    "totalCapturedAmount": 542,
    "totalAuthorized": 4139,
    "totalAuthorizedAmount": 11712.35,
    "totalProcessing": 1780,
    "totalProcessingAmount": 4660.6,
    "totalOpen": 2,
    "totalOpenAmount": 2,
    "totalOnHold": 0,
    "totalOnHoldAmount": 0,
    "totalRecords": 7803,
    "totalAmount": 21435.95,
    "totalNetAmount": 21435.95,
    "totalPages": 391,
    "pageSize": 20,
    "pageidentifier": null
  }
}
```

**SDK Code**

```typescript
import { PayabliClient } from "@payabli/sdk-node";

async function main() {
    const client = new PayabliClient({
        apiKey: "YOUR_API_KEY_HERE",
    });
    await client.query.listPayoutOrg(123, {
        fromRecord: 251,
        limitRecord: 0,
        sortBy: "desc(field_name)",
    });
}
main();

```

```python
from payabli import payabli

client = payabli(
    api_key="YOUR_API_KEY_HERE",
)

client.query.list_payout_org(
    org_id=123,
    from_record=251,
    limit_record=0,
    sort_by="desc(field_name)",
)

```

```java
package com.example.usage;

import io.github.payabli.api.PayabliPayabliApiOasClient;
import io.github.payabli.api.resources.query.requests.ListPayoutOrgRequest;

public class Example {
    public static void main(String[] args) {
        PayabliPayabliApiOasClient client = PayabliPayabliApiOasClient
            .builder()
            .apiKey("YOUR_API_KEY_HERE")
            .build();

        client.query().listPayoutOrg(
            123,
            ListPayoutOrgRequest
                .builder()
                .fromRecord(251)
                .limitRecord(0)
                .sortBy("desc(field_name)")
                .build()
        );
    }
}
```

```ruby
require "payabli"

client = Payabli::Client.new(api_key: "YOUR_API_KEY_HERE")

client.query.list_payout_org(
  org_id: 123,
  from_record: 251,
  limit_record: 0,
  sort_by: "desc(field_name)"
)

```

```csharp
using PayabliPayabliApiOas;
using System.Threading.Tasks;

namespace Usage;

public class Example
{
    public async Task Do() {
        var client = new PayabliPayabliApiOasClient(
            apiKey: "YOUR_API_KEY_HERE"
        );

        await client.Query.ListPayoutOrgAsync(
            123,
            new ListPayoutOrgRequest {
                FromRecord = 251,
                LimitRecord = 0,
                SortBy = "desc(field_name)"
            }
        );
    }

}

```

```go
package example

import (
    context "context"

    payabli "github.com/payabli/sdk-go"
    client "github.com/payabli/sdk-go/client"
    option "github.com/payabli/sdk-go/option"
)

func do() {
    client := client.NewClient(
        option.WithApiKey(
            "YOUR_API_KEY_HERE",
        ),
    )
    request := &payabli.ListPayoutOrgRequest{
        FromRecord: payabli.Int(
            251,
        ),
        LimitRecord: payabli.Int(
            0,
        ),
        SortBy: payabli.String(
            "desc(field_name)",
        ),
    }
    client.Query.ListPayoutOrg(
        context.TODO(),
        123,
        request,
    )
}

```

```php
<?php

namespace Example;

use Payabli\PayabliClient;
use Payabli\Query\Requests\ListPayoutOrgRequest;

$client = new PayabliClient(
    apiKey: 'YOUR_API_KEY_HERE',
);
$client->query->listPayoutOrg(
    123,
    new ListPayoutOrgRequest([
        'fromRecord' => 251,
        'limitRecord' => 0,
        'sortBy' => 'desc(field_name)',
    ]),
);

```

```swift
import Foundation

let headers = ["requestToken": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.payabli.com/api/Query/payouts/org/123?fromRecord=251&limitRecord=0&sortBy=desc%28field_name%29")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```