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

# Get account payments



## OpenAPI

````yaml post /accounts/{account_id}/transactions
openapi: 3.0.0
info:
  title: FinUp Wallet
  description: API Documentation for Finup
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /accounts/{account_id}/transactions:
    post:
      tags:
        - Account
      summary: Get account payments
      operationId: AccountController_getAccountPayments
      parameters:
        - name: account_id
          required: true
          in: path
          description: Id of account
          schema:
            type: string
        - name: x-api-key
          in: header
          description: API key for authentication
          required: true
          schema:
            type: string
      requestBody:
        required: true
        description: Body
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetAccountPaymentsDto'
      responses:
        '201':
          description: Resource created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: 65fc4e136fb5c06281ac5e4e
                        account_id:
                          type: string
                          example: 622c22cf766d7a2c1fafe2d6
                        source_id:
                          type: string
                          example: 65fc31cf766d7a2c1fafe2e3
                        source:
                          type: string
                          example: Wallet
                        status:
                          type: string
                          example: Approved
                        side:
                          type: string
                          example: Credit
                        amount:
                          type: number
                          example: 150
                        currency:
                          type: string
                          example: USD
                        type:
                          type: string
                          example: ExternalTransfer
                        created_at:
                          type: string
                          format: date-time
                          example: '2024-03-21T15:11:15.052Z'
                        updated_at:
                          type: string
                          format: date-time
                          example: '2024-09-05T23:53:41.885Z'
                        source_identifier:
                          type: string
                          example: USD2156306518
                        external_transfer_data:
                          type: object
                          properties:
                            payment_method:
                              type: string
                              example: 65e73213018090468561a60c
                            external_transfer_id:
                              type: string
                              example: 65fc4e11895eacd8b005e71c
                            sub_type:
                              type: string
                              example: External
                            hash:
                              type: string
                              example: >-
                                0x43b4501753829064ecee79b48c9cc94f16da2b2858b3fc4d0ea682d75ada579
                            address_to:
                              type: string
                              example: 0x41196b2hd983A909a84837A311639cdf57E9f
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  status_code:
                    type: integer
                    example: 401
                  error_message:
                    type: string
                    example: Unauthorized
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  status_code:
                    type: integer
                    example: 404
                  error_message:
                    type: string
                    example: Account not fot found
components:
  schemas:
    GetAccountPaymentsDto:
      type: object
      properties:
        filters:
          $ref: '#/components/schemas/GetAccountPaymentsFilters'
        pagination:
          $ref: '#/components/schemas/PaginationV2Dto'
      required:
        - filters
        - pagination
    GetAccountPaymentsFilters:
      type: object
      properties:
        side:
          type: array
          items:
            type: string
        type:
          type: array
          items:
            type: string
        status:
          type: array
          items:
            type: string
        source_id:
          type: string
        search:
          type: string
        from_created_at:
          type: string
        include_internal_transfer:
          type: boolean
        to_created_at:
          type: string
        timezone:
          type: string
    PaginationV2Dto:
      type: object
      properties: {}

````