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

# List payments (V1 Legacy)

> V1-compatible endpoint to list/paginate payments for a company/team.



## OpenAPI

````yaml openapi/openapi-v1.yaml GET /v1/payments
openapi: 3.0.3
info:
  title: B2B API V1 (Legacy)
  description: >-
    Rise is a blockchain first platform where by all actions are secured and
    executed on-chain. Rise has blockchain smart-contracts on the Arbitrum
    optimistic rollup chain that control the flow of funds. That means that
    executing a change within the Rise platform requires a wallet with
    permissions on the user or company's RiseID.
  version: 1.0.0
servers:
  - url: https://b2b-api.dev-riseworks.io
    description: Development
  - url: https://b2b-api.staging-riseworks.io
    description: Staging
  - url: https://b2b-api.riseworks.io
    description: Production
security: []
paths:
  /v1/payments:
    get:
      tags:
        - Payments
      summary: List payments (V1 Legacy)
      description: V1-compatible endpoint to list/paginate payments for a company/team.
      parameters:
        - schema:
            anyOf:
              - type: string
              - type: number
          in: query
          name: company_id
          required: true
          description: >-
            Numeric id, RiseID address, or team nanoid of the paying
            company/team.
        - schema:
            anyOf:
              - type: string
              - type: array
                items:
                  type: string
          in: query
          name: external_ids
          required: false
          description: Filter by one or more caller-supplied external ids.
        - schema:
            anyOf:
              - type: string
              - type: array
                items:
                  type: string
          in: query
          name: payee_ids
          required: false
          description: Filter by one or more payee RiseIDs/addresses/nanoids.
        - schema:
            anyOf:
              - type: string
              - type: number
          in: query
          name: page
          required: false
          description: 1-indexed page number (default 1).
        - schema:
            anyOf:
              - type: string
              - type: number
          in: query
          name: count
          required: false
          description: Page size, 1-1000 (default 100).
        - schema:
            type: string
          in: query
          name: status
          required: false
          description: >-
            Filter by status — a V1 status, 'all', or a V2 state name (e.g.
            'intent').
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        amount_usd:
                          type: string
                        approved_pay_date:
                          type: string
                          nullable: true
                        pay_hash:
                          type: string
                          nullable: true
                        salt:
                          type: string
                          nullable: true
                        status:
                          type: string
                        external_id:
                          type: string
                          nullable: true
                        transaction_hash:
                          type: string
                          nullable: true
                        payee:
                          type: object
                          properties:
                            id:
                              anyOf:
                                - type: string
                                - type: number
                              nullable: true
                            avatar:
                              type: string
                              nullable: true
                            email:
                              type: string
                              nullable: true
                            name:
                              type: string
                              nullable: true
                            address:
                              type: string
                              nullable: true
                          required:
                            - id
                            - avatar
                            - email
                            - name
                            - address
                          additionalProperties: false
                      required:
                        - amount_usd
                        - approved_pay_date
                        - pay_hash
                        - salt
                        - status
                        - external_id
                        - transaction_hash
                        - payee
                      additionalProperties: false
                required:
                  - data
                additionalProperties: false
        '400':
          description: Bad Request - Invalid parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                      - Bad Request
                  message:
                    type: object
                    properties:
                      type:
                        type: string
                        enum:
                          - invalid_parameters
                      errors:
                        type: object
                        additionalProperties:
                          type: array
                          items:
                            type: string
                    required:
                      - type
                      - errors
                    additionalProperties: false
                required:
                  - error
                  - message
                additionalProperties: false
                description: Bad Request - Invalid parameters
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  data:
                    type: string
                  error_code:
                    type: string
                required:
                  - success
                  - data
                additionalProperties: false
                description: Unauthorized
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  data:
                    type: string
                  error_code:
                    type: string
                required:
                  - success
                  - data
                additionalProperties: false
                description: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  data:
                    type: string
                  error_code:
                    type: string
                required:
                  - success
                  - data
                additionalProperties: false
                description: Not Found
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  data:
                    type: string
                  error_code:
                    type: string
                required:
                  - success
                  - data
                additionalProperties: false
                description: Internal Server Error

````