> ## 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 all accounts



## OpenAPI

````yaml post /accounts
openapi: 3.0.0
info:
  title: FinUp Wallet
  description: API Documentation for Finup
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /accounts:
    post:
      tags:
        - Account
      summary: Get all accounts by user
      operationId: AccountController_getAllAccounts
      parameters:
        - name: x-api-key
          in: header
          description: API key for authentication
          required: true
          schema:
            type: string
      requestBody:
        required: true
        description: Accounts body
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetAccountsDto'
      responses:
        '201':
          description: Resource created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: object
                    properties:
                      own_accounts:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              example: 67fc3d0a766d7a2c1fafefb8
                            created_at:
                              type: string
                              format: date-time
                              example: '2024-04-15T10:12:24.805Z'
                            updated_at:
                              type: string
                              format: date-time
                              example: '2025-03-05T14:22:50.900Z'
                            company:
                              type: string
                              example: 67fc3d0a766d7a2c1fafefb2
                            finup_id:
                              type: string
                              example: '8527419632'
                            name:
                              type: string
                              example: Example Account
                            status:
                              type: string
                              example: Disabled
                            owner:
                              type: string
                              example: 67fc3d09766d7a2c1fafefbb
                            platinum_card_limit:
                              type: number
                              example: 15
                            universal_card_limit:
                              type: number
                              example: 20
                            fees:
                              type: object
                              properties:
                                deposit_fee:
                                  type: number
                                  example: 0.05
                                universal_issuing_fee:
                                  type: number
                                  example: 4
                                universal_decline_fee:
                                  type: number
                                  example: 0.03
                                transaction_fee:
                                  type: number
                                  example: 0.01
                                universal_transaction_fee:
                                  type: number
                                  example: 0.01
                                universal_deposit_fee:
                                  type: number
                                  example: 0.01
                                universal_withdraw_fee:
                                  type: number
                                  example: 0.01
                                platinum_issuing_fee:
                                  type: number
                                  example: 0.02
                                platinum_decline_fee:
                                  type: number
                                  example: 0.02
                                platinum_transaction_fee:
                                  type: number
                                  example: 0.01
                                platinum_deposit_fee:
                                  type: number
                                  example: 0.01
                                platinum_withdraw_fee:
                                  type: number
                                  example: 0.01
                                platinum_monthly_fee:
                                  type: number
                                  example: 0.02
                            used_promocodes:
                              type: array
                              items:
                                type: string
                              example: []
                      invited_accounts:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              example: 67fc22cf766d7a2c1fafe3d7
                            created_at:
                              type: string
                              format: date-time
                              example: '2024-04-15T09:04:29.231Z'
                            updated_at:
                              type: string
                              format: date-time
                              example: '2025-03-05T14:22:51.310Z'
                            company:
                              type: string
                              example: 67e8861ea998a71873c84568
                            finup_id:
                              type: string
                              example: '7483920156'
                            name:
                              type: string
                              example: Example User
                            status:
                              type: string
                              example: Disabled
                            decline_rate:
                              type: number
                              example: 0.05
                            owner:
                              type: string
                              example: 67e8861da998a71873c84579
                            platinum_card_limit:
                              type: number
                              example: 12
                            universal_card_limit:
                              type: number
                              example: 18
                            fees:
                              type: object
                              properties:
                                deposit_fee:
                                  type: number
                                  example: 0.04
                                universal_issuing_fee:
                                  type: number
                                  example: 5
                                universal_decline_fee:
                                  type: number
                                  example: 0.03
                                transaction_fee:
                                  type: number
                                  example: 0.02
                                universal_transaction_fee:
                                  type: number
                                  example: 0.02
                                universal_deposit_fee:
                                  type: number
                                  example: 0.02
                                universal_withdraw_fee:
                                  type: number
                                  example: 0.02
                                platinum_issuing_fee:
                                  type: number
                                  example: 0.03
                                platinum_decline_fee:
                                  type: number
                                  example: 0.03
                                platinum_transaction_fee:
                                  type: number
                                  example: 0.02
                                platinum_deposit_fee:
                                  type: number
                                  example: 0.02
                                platinum_withdraw_fee:
                                  type: number
                                  example: 0.02
                                platinum_monthly_fee:
                                  type: number
                                  example: 0.03
                            used_promocodes:
                              type: array
                              items:
                                type: string
                              example: []
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  status_code:
                    type: integer
                    example: 401
                  error_message:
                    type: string
                    example: Unauthorized
components:
  schemas:
    GetAccountsDto:
      type: object
      properties:
        pagination:
          $ref: '#/components/schemas/PaginationV2Dto'
      required:
        - pagination
    PaginationV2Dto:
      type: object
      properties: {}

````