openapi: 3.0.3
info:
  title: trade-credit
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.wallex.ir
paths:
  /sub-accounts:
    get:
      tags:
        - Sub Account
      summary: Active Sub Accounts List
      description: |-
        # GET /sub-accounts

        This endpoint retrieves the list of active sub-accounts.

        ## Headers

        This request does not require any custom header.

        ## Request Body Parameters

        This request does not require a request body.

        ## Query Parameters

        This request does not require any query parameters.

        ## Response

        - `result` (array\[object\])

            - `userId` (number)

            - `title` (string)

            - `darkAvatarUrl` (string)

            - `lightAvatarUrl` (string)

            - `clientId` (string)

            - `isActive` (bool)

            - `type` (string)

            - `isSuspend` (bool)

            - `createdAt` (string)

        - `message` (string)

        - `success` (boolean)

        - `result_info` (object)

            - `page` (number)

            - `per_page` (number)

            - `count` (number)

            - `total_count` (number)


        ## Example Response

        ``` json
        {
            "result": [
                {
                    "userId": 0,
                    "title": "تست اولیه عادی",
                    "darkAvatarUrl": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                    "lightAvatarUrl": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                    "clientId": "CLIENTID",
                    "isActive": true,
                    "type": "prop",
                    "createdAt": "2025-04-06T11:53:18Z",
                    "isSuspend": false
                },
                {
                    "userId": 0,
                    "title": null,
                    "darkAvatarUrl": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                    "lightAvatarUrl": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                    "clientId": "CLIENTID",
                    "isActive": true,
                    "type": "trading_bot_trade",
                    "createdAt": "2024-11-19T09:20:37Z",
                    "isSuspend": false
                }
            ],
            "message": "عملیات با موفقیت انجام شد",
            "success": true,
            "result_info": {
                "page": 1,
                "per_page": 11,
                "count": 11,
                "total_count": 11
            }
        }

         ```
      operationId: activeSubAccountsList
      responses:
        '200':
          description: '200'
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Sun, 06 Apr 2025 11:55:28 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Accept-Encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            cache-control:
              schema:
                type: string
                example: no-cache, private
            vary:
              schema:
                type: string
                example: Origin
            x-auth-cache-status:
              schema:
                type: string
                example: hit
            x-authenticated:
              schema:
                type: string
                example: 'false'
            x-envoy-upstream-service-time:
              schema:
                type: string
                example: '347'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: array
                    items:
                      type: object
                      properties:
                        clientId:
                          type: string
                          example: ClientID
                        createdAt:
                          type: string
                          example: '2025-04-06T11:53:18Z'
                        darkAvatarUrl:
                          type: string
                          example: >-
                            https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive:
                          type: boolean
                          example: true
                        isSuspend:
                          type: boolean
                          example: false
                        lightAvatarUrl:
                          type: string
                          example: >-
                            https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title:
                          type: string
                          nullable: true
                          example: تست اولیه عادی
                        type:
                          type: string
                          example: prop
                        userId:
                          type: number
                          example: 0
                    example:
                      - clientId: CLIENTID
                        createdAt: '2025-04-06T11:53:18Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: تست اولیه عادی
                        type: prop
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-11-19T09:20:37Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-11-19T11:55:57Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-11-23T09:09:41Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-11-23T09:13:57Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-11-25T07:56:11Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-12-05T10:18:42Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-12-05T10:20:59Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-12-05T10:21:45Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-12-05T10:56:16Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2025-02-01T12:24:51Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                  result_info:
                    type: object
                    properties:
                      count:
                        type: number
                        example: 11
                      page:
                        type: number
                        example: 1
                      per_page:
                        type: number
                        example: 11
                      total_count:
                        type: number
                        example: 11
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      - clientId: CLIENTID
                        createdAt: '2025-04-06T11:53:18Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: تست اولیه عادی
                        type: prop
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-11-19T09:20:37Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-11-19T11:55:57Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-11-23T09:09:41Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-11-23T09:13:57Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-11-25T07:56:11Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-12-05T10:18:42Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-12-05T10:20:59Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-12-05T10:21:45Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2024-12-05T10:56:16Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                      - clientId: CLIENTID
                        createdAt: '2025-02-01T12:24:51Z'
                        darkAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        isActive: true
                        isSuspend: false
                        lightAvatarUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        title: null
                        type: trading_bot_trade
                        userId: 0
                    result_info:
                      count: 11
                      page: 1
                      per_page: 11
                      total_count: 11
                    success: true
      security:
        - x-api-key: []
  /sub-accounts/transfers:
    get:
      tags:
        - Sub Account
      operationId: subAccountTransfer
      summary: List Sub Account Transfers
      description: |-
        # GET /sub-accounts/transfers

        This endpoint retrieves transfer details for a sub-account.

        ## Headers

        This request does not require any custom header.

        ## Request Body Parameters

        This request does not require a request body.

        ## Query Parameters

        This request does not require any query parameters.

        ## Response

        - `result` (array\[object\])

            - `unique_id` (number)

            - `source_client_id` (string)

            - `source_client_title` (string)

            - `destination_client_id` (string)

            - `destination_client_title` (string)

            - `source_user_type` (string)

            - `destination_user_type` (string)

            - `fa_source_user_type` (string)

            - `fa_destination_user_type` (string)

            - `currency` (string)

            - `value` (string)

            - `reason` (string)

            - `createdAt` (string)

        - `message` (string)

        - `success` (boolean)

        - `result_info` (object)

            - `page` (number)

            - `per_page` (number)

            - `count` (number)

            - `total_count` (number)


        ## Example Response

        ``` json
        {
          "result": [
            {
              "unique_id": 0,
              "source_client_id": "",
              "source_client_title": "",
              "destination_client_id": "",
              "destination_client_title": null,
              "source_user_type": "",
              "destination_user_type": "",
              "fa_source_user_type": "",
              "fa_destination_user_type": "",
              "currency": "",
              "value": "",
              "reason": "",
              "createdAt": ""
            }
          ],
          "message": "",
          "success": true,
          "result_info": {
            "page": 0,
            "per_page": 0,
            "count": 0,
            "total_count": 0
          }
        }

         ```
      parameters:
        - name: sub-account-client-id
          in: header
          schema:
            type: string
            example: '{{subAccountClientId}}'
      responses:
        '200':
          description: '200'
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Sun, 06 Apr 2025 11:56:35 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Accept-Encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            cache-control:
              schema:
                type: string
                example: no-cache, private
            vary:
              schema:
                type: string
                example: Origin
            x-auth-cache-status:
              schema:
                type: string
                example: hit
            x-authenticated:
              schema:
                type: string
                example: 'false'
            x-envoy-upstream-service-time:
              schema:
                type: string
                example: '347'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: array
                    items:
                      type: object
                      properties:
                        createdAt:
                          type: string
                          example: '2025-04-06T11:54:31Z'
                        currency:
                          type: string
                          example: TMN
                        destination_client_id:
                          type: string
                          example: '3'
                        destination_client_title:
                          type: string
                          nullable: true
                          example: null
                        destination_user_type:
                          type: string
                          example: wallex-to-subrogation
                        fa_destination_user_type:
                          type: string
                          example: والکس(به‌وکالت)
                        fa_source_user_type:
                          type: string
                          example: سکوی معامله
                        reason:
                          type: string
                          example: هزینه عملیات سکو
                        source_client_id:
                          type: string
                          example: testClientId
                        source_client_title:
                          type: string
                          nullable: true
                          example: تست اولیه عادی
                        source_user_type:
                          type: string
                          example: prop
                        unique_id:
                          type: number
                          example: 7924
                        value:
                          type: string
                          example: '201000000'
                    example:
                      - createdAt: '2025-04-06T11:54:31Z'
                        currency: TMN
                        destination_client_id: '3'
                        destination_client_title: null
                        destination_user_type: wallex-to-subrogation
                        fa_destination_user_type: والکس(به‌وکالت)
                        fa_source_user_type: سکوی معامله
                        reason: هزینه عملیات سکو
                        source_client_id: testClientId
                        source_client_title: تست اولیه عادی
                        source_user_type: prop
                        unique_id: 7924
                        value: '201000000'
                      - createdAt: '2025-04-06T11:54:04Z'
                        currency: TMN
                        destination_client_id: testClientId
                        destination_client_title: تست اولیه عادی
                        destination_user_type: prop
                        fa_destination_user_type: سکوی معامله
                        fa_source_user_type: اصلی
                        reason: دارایی ورودی طرح سکو
                        source_client_id: testUserId
                        source_client_title: null
                        source_user_type: master
                        unique_id: 7922
                        value: '1000000'
                      - createdAt: '2025-04-06T11:54:04Z'
                        currency: TMN
                        destination_client_id: testClientId
                        destination_client_title: تست اولیه عادی
                        destination_user_type: prop
                        fa_destination_user_type: سکوی معامله
                        fa_source_user_type: '-'
                        reason: دریافت اعتبار معاملاتی
                        source_client_id: '1'
                        source_client_title: null
                        source_user_type: wallex-to-margin-insurance
                        unique_id: 7923
                        value: '200000000'
                  result_info:
                    type: object
                    properties:
                      count:
                        type: number
                        example: 1
                      page:
                        type: number
                        example: 1
                      per_page:
                        type: number
                        example: 15
                      total_count:
                        type: number
                        example: 3
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      - createdAt: '2025-04-06T11:54:31Z'
                        currency: TMN
                        destination_client_id: '3'
                        destination_client_title: null
                        destination_user_type: wallex-to-subrogation
                        fa_destination_user_type: والکس(به‌وکالت)
                        fa_source_user_type: سکوی معامله
                        reason: هزینه عملیات سکو
                        source_client_id: testClientId
                        source_client_title: تست اولیه عادی
                        source_user_type: prop
                        unique_id: 7924
                        value: '201000000'
                      - createdAt: '2025-04-06T11:54:04Z'
                        currency: TMN
                        destination_client_id: testClientId
                        destination_client_title: تست اولیه عادی
                        destination_user_type: prop
                        fa_destination_user_type: سکوی معامله
                        fa_source_user_type: اصلی
                        reason: دارایی ورودی طرح سکو
                        source_client_id: testUserId
                        source_client_title: null
                        source_user_type: master
                        unique_id: 7922
                        value: '1000000'
                      - createdAt: '2025-04-06T11:54:04Z'
                        currency: TMN
                        destination_client_id: testClientId
                        destination_client_title: تست اولیه عادی
                        destination_user_type: prop
                        fa_destination_user_type: سکوی معامله
                        fa_source_user_type: '-'
                        reason: دریافت اعتبار معاملاتی
                        source_client_id: '1'
                        source_client_title: null
                        source_user_type: wallex-to-margin-insurance
                        unique_id: 7923
                        value: '200000000'
                    result_info:
                      count: 1
                      page: 1
                      per_page: 15
                      total_count: 3
                    success: true
      security:
        - x-api-key: []
    post:
      tags:
        - Sub Account
      summary: Create Transfer To Sub Account
      description: |-
        # POST /sub-accounts/transfers

        This endpoint Submits Transfer from master account to sub-account.

        ## Headers

        This request does not require any custom header.

        ## Request Body Parameters

        - `currency` (string)

        - `value` (number)

        - `subAccount_client_id` (string)


        ## Query Parameters

        This request does not require any query parameters.

        ## Response

        - `result` (array\[object\])

            - `userId` (number)

            - `title` (string)

            - `darkAvatarUrl` (string)

            - `lightAvatarUrl` (string)

            - `clientId` (string)

            - `isActive` (bool)

            - `type` (string)

            - `isSuspend` (bool)

            - `createdAt` (string)

        - `message` (string)

        - `success` (boolean)


        ## Example Response

        200

        ``` json
        {
            "result": {
                "userId": 0,
                "title": "تست اولویت",
                "darkAvatarUrl": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                "lightAvatarUrl": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                "clientId": "CLIENTID",
                "isActive": true,
                "type": "prop",
                "createdAt": "2024-09-08T13:35:27Z",
                "isSuspend": false
            },
            "message": "عملیات با موفقیت انجام شد",
            "success": true
        }

         ```

        ## 422

        ``` json
        {
            "result": {
                "currency": [
                    "انتقال ارز BTC به این اکانت مجاز نمی باشد."
                ]
            },
            "message": "اطلاعات وارد شده اشتباه است",
            "success": false,
            "code": 422
        }

         ```
      operationId: createTransferToSubAccount
      parameters:
        - name: sub-account-client-id
          in: header
          schema:
            type: string
            example: '{{subAccountClientId}}'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                currency:
                  type: string
                  example: TMN
                subAccount_client_id:
                  type: string
                  example: '{{subAccountClientId}}'
                value:
                  type: string
                  example: '1000'
            examples:
              Create Transfer To Sub Account:
                value:
                  currency: TMN
                  subAccount_client_id: '{{subAccountClientId}}'
                  value: '1000'
      responses:
        '200':
          description: '200'
          headers:
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Wed, 11 Sep 2024 08:25:16 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            X-Robots-Tag:
              schema:
                type: string
                example: noindex
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: object
                    properties:
                      clientId:
                        type: string
                        example: CLIENTID
                      createdAt:
                        type: string
                        example: '2024-09-08T13:35:27Z'
                      darkAvatarUrl:
                        type: string
                        example: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                      isActive:
                        type: boolean
                        example: true
                      isSuspend:
                        type: boolean
                        example: false
                      lightAvatarUrl:
                        type: string
                        example: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                      title:
                        type: string
                        example: تست اولویت
                      type:
                        type: string
                        example: prop
                      userId:
                        type: number
                        example: 0
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      clientId: CLIENTID
                      createdAt: '2024-09-08T13:35:27Z'
                      darkAvatarUrl: >-
                        https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                      isActive: true
                      isSuspend: false
                      lightAvatarUrl: >-
                        https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                      title: تست اولویت
                      type: prop
                      userId: 0
                    success: true
        '422':
          description: '422'
          headers:
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            Connection:
              schema:
                type: string
                example: keep-alive
            Date:
              schema:
                type: string
                example: Wed, 11 Sep 2024 08:19:04 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            X-Robots-Tag:
              schema:
                type: string
                example: noindex
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: number
                    example: 422
                  message:
                    type: string
                    example: اطلاعات وارد شده اشتباه است
                  result:
                    type: object
                    properties:
                      currency:
                        type: array
                        items:
                          type: string
                          example: انتقال ارز BTC به این اکانت مجاز نمی باشد.
                        example:
                          - انتقال ارز BTC به این اکانت مجاز نمی باشد.
                  success:
                    type: boolean
                    example: false
              examples:
                '422':
                  value:
                    code: 422
                    message: اطلاعات وارد شده اشتباه است
                    result:
                      currency:
                        - انتقال ارز BTC به این اکانت مجاز نمی باشد.
                    success: false
      security:
        - x-api-key: []
  /v1/account/balances-detail:
    get:
      tags:
        - Sub Account
      summary: Sub Account Balances Details
      description: >-
        # GET /v1/account/balances-detail


        This endpoint retrieves the detailed balance information for the
        account.


        ## Headers


        This request does not require any custom header.


        ## Request Body Parameters


        This request does not require a request body.


        ## Query Parameters


        This request does not require any query parameters.


        ## Response


        - `result` (object)

            - `CURRENCY` (object) // balance currency symbol

                - `symbol` (string)

                - `total` (string)

                - `freeze` (string)

                - `available` (string)

                - `stats` (object)

                    - `BTC` (object)

                        - `baseMarketName` (string)

                        - `changePercentage` (string)

                        - `estimatedValue` (string)

                        - `last24HoursEstimatedValueChange` (string)

                    - `USDT` (object)

                        - `baseMarketName` (string)

                        - `changePercentage` (string)

                        - `estimatedValue` (string)

                        - `last24HoursEstimatedValueChange` (string)

                    - `TMN` (object)

                        - `changePercentage` (string)

                        - `estimatedValue` (string)

                        - `last24HoursEstimatedValueChange` (string)

        - `message` (string)

        - `success` (boolean)


        ## Example Response


        ``` json

        {
            "result": {
                "TMN": {
                    "symbol": "TMN",
                    "total": "0",
                    "freeze": "0",
                    "available": "0",
                    "stats": {
                        "BTC": {
                            "baseMarketName": "BTC",
                            "changePercentage": "7.69",
                            "estimatedValue": "0.00",
                            "last24HoursEstimatedValueChange": "0.00"
                        },
                        "USDT": {
                            "baseMarketName": "USDT",
                            "changePercentage": "-1.00",
                            "estimatedValue": "0.00",
                            "last24HoursEstimatedValueChange": "0.00"
                        },
                        "TMN": {
                            "changePercentage": "0.00",
                            "estimatedValue": "0",
                            "last24HoursEstimatedValueChange": "0"
                        }
                    }
                },
                "USDT": {
                    // similar to TMN
                },
                "BTC": {
                    // similar to BTC
                }
            },
            "message": "عملیات با موفقیت انجام شد",
            "success": true
        }

         ```
      operationId: subAccountBalancesDetails
      parameters:
        - name: sub-account-client-id
          in: header
          schema:
            type: string
            example: '{{subAccountClientId}}'
      responses:
        '200':
          description: '200'
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Sun, 06 Apr 2025 11:27:28 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Accept-Encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            cache-control:
              schema:
                type: string
                example: no-cache, private
            vary:
              schema:
                type: string
                example: Origin
            x-auth-cache-status:
              schema:
                type: string
                example: miss
            x-authenticated:
              schema:
                type: string
                example: 'true'
            x-envoy-upstream-service-time:
              schema:
                type: string
                example: '480'
            x-ratelimit-limit:
              schema:
                type: string
                example: '600'
            x-ratelimit-remaining:
              schema:
                type: string
                example: '599'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: object
                    properties:
                      BTC:
                        type: object
                        properties:
                          available:
                            type: string
                            example: '0'
                          freeze:
                            type: string
                            example: '0'
                          stats:
                            type: object
                            properties:
                              BTC:
                                type: object
                                properties:
                                  changePercentage:
                                    type: string
                                    example: '0.00'
                                  estimatedValue:
                                    type: string
                                    example: '0.00'
                                  last24HoursEstimatedValueChange:
                                    type: string
                                    example: '0.00'
                              TMN:
                                type: object
                                properties:
                                  baseMarketName:
                                    type: string
                                    example: TMN
                                  changePercentage:
                                    type: string
                                    example: '7.69'
                                  estimatedValue:
                                    type: string
                                    example: '0'
                                  last24HoursEstimatedValueChange:
                                    type: string
                                    example: '0'
                              USDT:
                                type: object
                                properties:
                                  baseMarketName:
                                    type: string
                                    example: USDT
                                  changePercentage:
                                    type: string
                                    example: '8.42'
                                  estimatedValue:
                                    type: string
                                    example: '0.00'
                                  last24HoursEstimatedValueChange:
                                    type: string
                                    example: '0.00'
                          symbol:
                            type: string
                            example: BTC
                          total:
                            type: string
                            example: '0'
                      ETH:
                        type: object
                        properties:
                          available:
                            type: string
                            example: '0'
                          freeze:
                            type: string
                            example: '0'
                          stats:
                            type: object
                            properties:
                              BTC:
                                type: object
                                properties:
                                  changePercentage:
                                    type: string
                                    example: '0.00'
                                  estimatedValue:
                                    type: string
                                    example: '0.00'
                                  last24HoursEstimatedValueChange:
                                    type: string
                                    example: '0.00'
                              TMN:
                                type: object
                                properties:
                                  baseMarketName:
                                    type: string
                                    example: TMN
                                  changePercentage:
                                    type: string
                                    example: '4.43'
                                  estimatedValue:
                                    type: string
                                    example: '0'
                                  last24HoursEstimatedValueChange:
                                    type: string
                                    example: '0'
                              USDT:
                                type: object
                                properties:
                                  baseMarketName:
                                    type: string
                                    example: USDT
                                  changePercentage:
                                    type: string
                                    example: '6.11'
                                  estimatedValue:
                                    type: string
                                    example: '0.00'
                                  last24HoursEstimatedValueChange:
                                    type: string
                                    example: '0.00'
                          symbol:
                            type: string
                            example: ETH
                          total:
                            type: string
                            example: '0'
                      TMN:
                        type: object
                        properties:
                          available:
                            type: string
                            example: '0'
                          freeze:
                            type: string
                            example: '0'
                          stats:
                            type: object
                            properties:
                              BTC:
                                type: object
                                properties:
                                  baseMarketName:
                                    type: string
                                    example: BTC
                                  changePercentage:
                                    type: string
                                    example: '7.69'
                                  estimatedValue:
                                    type: string
                                    example: '0.00'
                                  last24HoursEstimatedValueChange:
                                    type: string
                                    example: '0.00'
                              TMN:
                                type: object
                                properties:
                                  changePercentage:
                                    type: string
                                    example: '0.00'
                                  estimatedValue:
                                    type: string
                                    example: '0'
                                  last24HoursEstimatedValueChange:
                                    type: string
                                    example: '0'
                              USDT:
                                type: object
                                properties:
                                  baseMarketName:
                                    type: string
                                    example: USDT
                                  changePercentage:
                                    type: string
                                    example: '-1.00'
                                  estimatedValue:
                                    type: string
                                    example: '0.00'
                                  last24HoursEstimatedValueChange:
                                    type: string
                                    example: '0.00'
                          symbol:
                            type: string
                            example: TMN
                          total:
                            type: string
                            example: '0'
                      USDT:
                        type: object
                        properties:
                          available:
                            type: string
                            example: '0'
                          freeze:
                            type: string
                            example: '0'
                          stats:
                            type: object
                            properties:
                              BTC:
                                type: object
                                properties:
                                  baseMarketName:
                                    type: string
                                    example: BTC
                                  changePercentage:
                                    type: string
                                    example: '8.42'
                                  estimatedValue:
                                    type: string
                                    example: '0.00'
                                  last24HoursEstimatedValueChange:
                                    type: string
                                    example: '0.00'
                              TMN:
                                type: object
                                properties:
                                  baseMarketName:
                                    type: string
                                    example: TMN
                                  changePercentage:
                                    type: string
                                    example: '-1.00'
                                  estimatedValue:
                                    type: string
                                    example: '0'
                                  last24HoursEstimatedValueChange:
                                    type: string
                                    example: '0'
                              USDT:
                                type: object
                                properties:
                                  changePercentage:
                                    type: string
                                    example: '0.00'
                                  estimatedValue:
                                    type: string
                                    example: '0.00'
                                  last24HoursEstimatedValueChange:
                                    type: string
                                    example: '0.00'
                          symbol:
                            type: string
                            example: USDT
                          total:
                            type: string
                            example: '0'
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      BTC:
                        available: '0'
                        freeze: '0'
                        stats:
                          BTC:
                            changePercentage: '0.00'
                            estimatedValue: '0.00'
                            last24HoursEstimatedValueChange: '0.00'
                          TMN:
                            baseMarketName: TMN
                            changePercentage: '7.69'
                            estimatedValue: '0'
                            last24HoursEstimatedValueChange: '0'
                          USDT:
                            baseMarketName: USDT
                            changePercentage: '8.42'
                            estimatedValue: '0.00'
                            last24HoursEstimatedValueChange: '0.00'
                        symbol: BTC
                        total: '0'
                      ETH:
                        available: '0'
                        freeze: '0'
                        stats:
                          BTC:
                            changePercentage: '0.00'
                            estimatedValue: '0.00'
                            last24HoursEstimatedValueChange: '0.00'
                          TMN:
                            baseMarketName: TMN
                            changePercentage: '4.43'
                            estimatedValue: '0'
                            last24HoursEstimatedValueChange: '0'
                          USDT:
                            baseMarketName: USDT
                            changePercentage: '6.11'
                            estimatedValue: '0.00'
                            last24HoursEstimatedValueChange: '0.00'
                        symbol: ETH
                        total: '0'
                      TMN:
                        available: '0'
                        freeze: '0'
                        stats:
                          BTC:
                            baseMarketName: BTC
                            changePercentage: '7.69'
                            estimatedValue: '0.00'
                            last24HoursEstimatedValueChange: '0.00'
                          TMN:
                            changePercentage: '0.00'
                            estimatedValue: '0'
                            last24HoursEstimatedValueChange: '0'
                          USDT:
                            baseMarketName: USDT
                            changePercentage: '-1.00'
                            estimatedValue: '0.00'
                            last24HoursEstimatedValueChange: '0.00'
                        symbol: TMN
                        total: '0'
                      USDT:
                        available: '0'
                        freeze: '0'
                        stats:
                          BTC:
                            baseMarketName: BTC
                            changePercentage: '8.42'
                            estimatedValue: '0.00'
                            last24HoursEstimatedValueChange: '0.00'
                          TMN:
                            baseMarketName: TMN
                            changePercentage: '-1.00'
                            estimatedValue: '0'
                            last24HoursEstimatedValueChange: '0'
                          USDT:
                            changePercentage: '0.00'
                            estimatedValue: '0.00'
                            last24HoursEstimatedValueChange: '0.00'
                        symbol: USDT
                        total: '0'
                    success: true
      security:
        - x-api-key: []
  /v1/prop/packages:
    get:
      tags:
        - Prop Package
      summary: Prop Packages List
      description: >-
        # GET v1/prop/packages


        This endpoint retrieves a list of existing prop packages.


        ## Headers


        This request does not require any custom header.


        ## Request Body Parameters


        This request does not require a request body.


        ## Query Parameters


        This request does not require any query parameters.


        ## Response


        The response for this request is a JSON object with the following
        properties:


        - `result` (array\[object\])

            - `id` (number)

            - `title` (string)

            - `currency` (string)

            - `destination_currency` (string|null)

            - `assurance` (string)

            - `loan` (string)

            - `warning_limit` (string)

            - `liquidity_limit` (string)

            - `status` (string)

            - `expire_days` (number)

            - `dark_image_url` (string)

            - `light_image_url` (string)

            - `daily_fee` (string)

            - `daily_fee_discount` (string)

            - `daily_fee_after_discount` (string)

            - `final_fee` (string)

            - `final_fee_discount` (string)

            - `final_fee_after_discount` (string)

        - `message` (string)

        - `success` (boolean)


        ## Example Response


        ``` json

        {
            "result": [
                {
                    "id": 81,
                    "title": "طرح ۱۷",
                    "currency": "TMN",
                    "destination_currency": null,
                    "assurance": "20000000",
                    "loan": "200000000",
                    "warning_limit": "250000000",
                    "liquidity_limit": "240000000",
                    "status": "INACTIVE",
                    "expire_days": 30,
                    "dark_image_url": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                    "light_image_url": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                    "daily_fee": "300000",
                    "daily_fee_discount": "0",
                    "daily_fee_after_discount": "300000",
                    "final_fee": "9000000",
                    "final_fee_discount": "0",
                    "final_fee_after_discount": "9000000"
                },
            ],
            "message": "عملیات با موفقیت انجام شد",
            "success": true
        }

         ```
      operationId: propPackagesList
      parameters:
        - name: ''
          in: query
          schema:
            type: string
            example: ''
      responses:
        '200':
          description: '200'
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Sun, 06 Apr 2025 11:38:36 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Accept-Encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            cache-control:
              schema:
                type: string
                example: no-cache, private
            vary:
              schema:
                type: string
                example: Origin
            x-auth-cache-status:
              schema:
                type: string
                example: hit
            x-authenticated:
              schema:
                type: string
                example: 'false'
            x-envoy-upstream-service-time:
              schema:
                type: string
                example: '58'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: array
                    items:
                      type: object
                      properties:
                        assurance:
                          type: string
                          example: '60000000'
                        currency:
                          type: string
                          example: TMN
                        daily_fee:
                          type: string
                          example: '600000'
                        daily_fee_after_discount:
                          type: string
                          example: '600000'
                        daily_fee_discount:
                          type: string
                          example: '0'
                        dark_image_url:
                          type: string
                          example: >-
                            https://s3.thr1.sotoon.ir/wallex-public/packages/QrOWJudTqCA4BxKlRZ99vFcnkUG5SEWNBoK5ayu2.png
                        destination_currency:
                          nullable: true
                          example: null
                        expire_days:
                          type: number
                          example: 30
                        final_fee:
                          type: string
                          example: '18000000'
                        final_fee_after_discount:
                          type: string
                          example: '18000000'
                        final_fee_discount:
                          type: string
                          example: '0'
                        id:
                          type: number
                          example: 147
                        light_image_url:
                          type: string
                          example: >-
                            https://s3.thr1.sotoon.ir/wallex-public/packages/ceY4TTn6yQXvmUHZvy2g3e5B8zt6sGsI2XAQuhFl.png
                        liquidity_limit:
                          type: string
                          example: '624000000'
                        loan:
                          type: string
                          example: '600000000'
                        status:
                          type: string
                          example: INACTIVE
                        title:
                          type: string
                          example: 600 میلیون اعتبار معاملاتی
                        warning_limit:
                          type: string
                          example: '642000000'
                    example:
                      - assurance: '60000000'
                        currency: TMN
                        daily_fee: '600000'
                        daily_fee_after_discount: '600000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/QrOWJudTqCA4BxKlRZ99vFcnkUG5SEWNBoK5ayu2.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '18000000'
                        final_fee_after_discount: '18000000'
                        final_fee_discount: '0'
                        id: 147
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/ceY4TTn6yQXvmUHZvy2g3e5B8zt6sGsI2XAQuhFl.png
                        liquidity_limit: '624000000'
                        loan: '600000000'
                        status: INACTIVE
                        title: 600 میلیون اعتبار معاملاتی
                        warning_limit: '642000000'
                      - assurance: '50000000'
                        currency: TMN
                        daily_fee: '500000'
                        daily_fee_after_discount: '500000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/eK5KaiA7xiyOIppyYHvcRCQhgK2d1SKGvoID2sie.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '15000000'
                        final_fee_after_discount: '15000000'
                        final_fee_discount: '0'
                        id: 119
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/7ztIwZQYevSfKaTtM2jQrPxPncRBSnRBaLXwTaVf.png
                        liquidity_limit: '520000000'
                        loan: '500000000'
                        status: ACTIVE
                        title: 500 میلیون اعتبار معاملاتی
                        warning_limit: '535000000'
                      - assurance: '100000'
                        currency: TMN
                        daily_fee: '3000'
                        daily_fee_after_discount: '3000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/AaR7zhqWFsU8o74wMlyyEKSNkemyAqVjagXp2jw7.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '90000'
                        final_fee_after_discount: '90000'
                        final_fee_discount: '0'
                        id: 137
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/GiwJXCCqKKwUl9smvOTnflRzcdM2v58CP4vJNYFH.png
                        liquidity_limit: '3060000'
                        loan: '3000000'
                        status: ACTIVE
                        title: 3 میلیون اعتبار معاملاتی
                        warning_limit: '3090000'
                      - assurance: '100000'
                        currency: TMN
                        daily_fee: '1500'
                        daily_fee_after_discount: '1500'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/skQNe8de3Grf3PNHT9wAj7e15B5dnkzA9n9jgGRO.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '45000'
                        final_fee_after_discount: '45000'
                        final_fee_discount: '0'
                        id: 134
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/SRq7winv8epgS90fMjYfLHiqWKmV1OxPwuf40NmB.png
                        liquidity_limit: '1545000'
                        loan: '1500000'
                        status: INACTIVE
                        title: 1.5 میلیون اعتبار معاملاتی
                        warning_limit: '1560000'
                      - assurance: '4000000'
                        currency: TMN
                        daily_fee: '60000'
                        daily_fee_after_discount: '60000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/J7aaP2hjQcMKPDNMc3Qq7ETTMvc97QK2LESmtb7Y.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '1800000'
                        final_fee_after_discount: '1800000'
                        final_fee_discount: '0'
                        id: 128
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/XVbSK2cLT3uiycs9MrzgVWSJC9eW2YYSuaMk02fl.png
                        liquidity_limit: '61800000'
                        loan: '60000000'
                        status: ACTIVE
                        title: 60 میلیون اعتبار معاملاتی
                        warning_limit: '62700000'
                      - assurance: '10000000'
                        currency: TMN
                        daily_fee: '100000'
                        daily_fee_after_discount: '100000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/smCGk2fMduT399ruI8uzF8pbNvITLy9gyrq3eI3o.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '3000000'
                        final_fee_after_discount: '3000000'
                        final_fee_discount: '0'
                        id: 107
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/8aju9yCJhGqOlIn2RsWkpHUJmZPz9MWIQSvLwotA.png
                        liquidity_limit: '104000000'
                        loan: '100000000'
                        status: ACTIVE
                        title: 100 میلیون اعتبار معاملاتی
                        warning_limit: '107000000'
                      - assurance: '30000000'
                        currency: TMN
                        daily_fee: '300000'
                        daily_fee_after_discount: '300000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/vCdyBJxZsca6MwvrROO3OjLsInhIhl0nB67Szf3i.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '9000000'
                        final_fee_after_discount: '9000000'
                        final_fee_discount: '0'
                        id: 116
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/TZjvxzGD4JVGt4EEjaSsT5KxLb3F4GVXSh2w2qIu.png
                        liquidity_limit: '312000000'
                        loan: '300000000'
                        status: ACTIVE
                        title: 300 میلیون اعتبار معاملاتی
                        warning_limit: '321000000'
                      - assurance: '200'
                        currency: USDT
                        daily_fee: '0.5'
                        daily_fee_after_discount: '0.5'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/cCM6nyg1K9akqVnIGQVZ3elO9xd1eG55qexYlCgf.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '15'
                        final_fee_after_discount: '15'
                        final_fee_discount: '0'
                        id: 146
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/S81UZpQ9QsWjnxW47rrVww1tiwor18nwG2j6NXb6.png
                        liquidity_limit: '1040'
                        loan: '1000'
                        status: ACTIVE
                        title: 1000 تتر اعتبار معاملاتی
                        warning_limit: '1070'
                      - assurance: '50'
                        currency: USDT
                        daily_fee: '0.2'
                        daily_fee_after_discount: '0.2'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/dENZiRwyoSLtSuRgspmIIIBfQCADeysjFsTS6Fcz.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '6'
                        final_fee_after_discount: '6'
                        final_fee_discount: '0'
                        id: 143
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/Y6gfyqFrnngQJDFmw3fI9CJ0x3MHKGuLhwRYuPu6.png
                        liquidity_limit: '416'
                        loan: '400'
                        status: ACTIVE
                        title: 400 تتر اعتبار معاملاتی
                        warning_limit: '428'
                      - assurance: '2000000'
                        currency: TMN
                        daily_fee: '30000'
                        daily_fee_after_discount: '30000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/PCehq12IOqO6u2TE0apKRr75sTTdrYu8RPsr4fHU.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '900000'
                        final_fee_after_discount: '900000'
                        final_fee_discount: '0'
                        id: 131
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/MuIyDfbsdCTMFcF9bSyWQNEaAkVLPdCX93PR27tv.png
                        liquidity_limit: '30900000'
                        loan: '30000000'
                        status: ACTIVE
                        title: ۳۰ میلیون اعتبار معاملاتی
                        warning_limit: '31200000'
                      - assurance: '200'
                        currency: USDT
                        daily_fee: '1'
                        daily_fee_after_discount: '1'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/sFhEQtqD2k38ygKDMhydTFROej0VRcnE48pB2iP9.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '30'
                        final_fee_after_discount: '30'
                        final_fee_discount: '0'
                        id: 140
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/6qSIvatJ9EYAvuEfP2k7f1eJiwh8HuIyy4HxZNao.png
                        liquidity_limit: '2080'
                        loan: '2000'
                        status: ACTIVE
                        title: ۲۰۰۰ تتر اعتبار معاملاتی
                        warning_limit: '2140'
                      - assurance: '100'
                        currency: USDT
                        daily_fee: '0.5'
                        daily_fee_after_discount: '0.5'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/6TBRjooe1smhFFVvctn5mXWQyYgGQHnQ4KP6kGzC.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '15'
                        final_fee_after_discount: '15'
                        final_fee_discount: '0'
                        id: 122
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/CZ5WKgLjqobOjI0v5ssITkFFgbNT6PB4UAuIqbdo.png
                        liquidity_limit: '1040'
                        loan: '1000'
                        status: ACTIVE
                        title: 1000 تتر اعتبار معاملاتی
                        warning_limit: '1070'
                      - assurance: '20000000'
                        currency: TMN
                        daily_fee: '200000'
                        daily_fee_after_discount: '200000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/NDHttjNUufen1eGvqy15KQf14YmkJeCjZpjIjS7R.svg
                        destination_currency: null
                        expire_days: 30
                        final_fee: '6000000'
                        final_fee_after_discount: '6000000'
                        final_fee_discount: '0'
                        id: 113
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/AfCYnScOe5cQ148IcTnHsVCNvqLmwP626dazZUDB.svg
                        liquidity_limit: '208000000'
                        loan: '200000000'
                        status: ACTIVE
                        title: 200 میلیون اعتبار معاملاتی
                        warning_limit: '214000000'
                      - assurance: '1000000'
                        currency: TMN
                        daily_fee: '10000'
                        daily_fee_after_discount: '10000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/1rX2EiHtSN0pm8wY5IeeD0PVFfPV8YtARYhS5K1u.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '300000'
                        final_fee_after_discount: '300000'
                        final_fee_discount: '0'
                        id: 101
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/4cyZKkkKacBAEOMYrBqCmKdTlL4RWey1anAEjwQk.png
                        liquidity_limit: '10400000'
                        loan: '10000000'
                        status: ACTIVE
                        title: 10 میلیون اعتبار معاملاتی
                        warning_limit: '10700000'
                      - assurance: '5000000'
                        currency: TMN
                        daily_fee: '25000'
                        daily_fee_after_discount: '25000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/dsKIHlBwaDFYi1ZDuZFkpEmdEROoksIHJoumAUYv.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '750000'
                        final_fee_after_discount: '750000'
                        final_fee_discount: '0'
                        id: 110
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/iIDmZchey8NNFvrj4kqSz0uqFNe7ccGwpGVDKAIz.png
                        liquidity_limit: '26000000'
                        loan: '25000000'
                        status: ACTIVE
                        title: 25 میلیون اعتبار معاملاتی
                        warning_limit: '26750000'
                      - assurance: '10000000'
                        currency: TMN
                        daily_fee: '50000'
                        daily_fee_after_discount: '50000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/Xa7dc76ouezN2vAtmi1yFW4ZNADyhQfJTBycq2Nm.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '1500000'
                        final_fee_after_discount: '1500000'
                        final_fee_discount: '0'
                        id: 79
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/PUqIeYEOLP9WOLTZCIxpU4bL5NRF6lwDDnwd7tCE.png
                        liquidity_limit: '52000000'
                        loan: '50000000'
                        status: ACTIVE
                        title: 50 میلیون اعتبار معاملاتی
                        warning_limit: '53500000'
                      - assurance: '20000000'
                        currency: TMN
                        daily_fee: '100000'
                        daily_fee_after_discount: '100000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/KOi8SROWgHh4UDRD3p4VHdPlaBJRVgjic6ry94Yb.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '3000000'
                        final_fee_after_discount: '3000000'
                        final_fee_discount: '0'
                        id: 104
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/9Hu9vt5HFlUxNKxKLmd6oqeAoiiMtqIWb9MCiRom.png
                        liquidity_limit: '104000000'
                        loan: '100000000'
                        status: ACTIVE
                        title: 100 میلیون اعتبار معاملاتی
                        warning_limit: '107000000'
                      - assurance: '10000000'
                        currency: TMN
                        daily_fee: '40000'
                        daily_fee_after_discount: '40000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/qojEXt6QjlMdO2YprMFIV1x2TCjWCtawrWBu0Jvy.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '1200000'
                        final_fee_after_discount: '1200000'
                        final_fee_discount: '0'
                        id: 76
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/KaLDBDgyIROq2LimeKpG5pjnehswRCdpln5cqtcV.png
                        liquidity_limit: '41600000'
                        loan: '40000000'
                        status: ACTIVE
                        title: 40 میلیون اعتبار معاملاتی
                        warning_limit: '42800000'
                      - assurance: '100000000'
                        currency: TMN
                        daily_fee: '300000'
                        daily_fee_after_discount: '300000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/Rn7TVSIEzfZFyc5vuheqKFoNCkuouJFYxJlNkOAF.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '9000000'
                        final_fee_after_discount: '9000000'
                        final_fee_discount: '0'
                        id: 97
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/EOmEhwaJKwnhnVhjg7OeGKQYh5duOS5gGARpwGUX.png
                        liquidity_limit: '312000000'
                        loan: '300000000'
                        status: ACTIVE
                        title: 300 میلیون اعتبار معاملاتی
                        warning_limit: '321000000'
                      - assurance: '10000000'
                        currency: TMN
                        daily_fee: '30000'
                        daily_fee_after_discount: '30000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/mDBahzwIu2UdDZ37Dy56hU2bI6V7DAKZltVGK1xk.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '900000'
                        final_fee_after_discount: '900000'
                        final_fee_discount: '0'
                        id: 73
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/F2doDvaz24YhvTdhWMVpBECtvQgvz7R11qQTypHe.png
                        liquidity_limit: '32136000'
                        loan: '30000000'
                        status: INACTIVE
                        title: 30 میلیون اعتبار معاملاتی
                        warning_limit: '34715000'
                      - assurance: '50000000'
                        currency: TMN
                        daily_fee: '150000'
                        daily_fee_after_discount: '150000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/1b4UBGRgGfTXLsOmkKWxxrtYXrAuB9cLQblRcULx.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '4500000'
                        final_fee_after_discount: '4500000'
                        final_fee_discount: '0'
                        id: 91
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/jdU7JWXampXUCezLgN0JD6Bga3mYMBNAEJaFhEhu.png
                        liquidity_limit: '156000000'
                        loan: '150000000'
                        status: ACTIVE
                        title: 150 میلیون اعتبار معاملاتی
                        warning_limit: '160500000'
                      - assurance: '20000000'
                        currency: TMN
                        daily_fee: '60000'
                        daily_fee_after_discount: '60000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/oreeZUbvdF8iwORrpV7RXCbfiCRShqCgK6R5syxO.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '1800000'
                        final_fee_after_discount: '1800000'
                        final_fee_discount: '0'
                        id: 82
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/aR8eaa37bYiH6FxF7wMnp5kGzVrK4Yr07C2bzeZz.png
                        liquidity_limit: '62400000'
                        loan: '60000000'
                        status: INACTIVE
                        title: 60 میلیون اعتبار معاملاتی
                        warning_limit: '64200000'
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      - assurance: '60000000'
                        currency: TMN
                        daily_fee: '600000'
                        daily_fee_after_discount: '600000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/QrOWJudTqCA4BxKlRZ99vFcnkUG5SEWNBoK5ayu2.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '18000000'
                        final_fee_after_discount: '18000000'
                        final_fee_discount: '0'
                        id: 147
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/ceY4TTn6yQXvmUHZvy2g3e5B8zt6sGsI2XAQuhFl.png
                        liquidity_limit: '624000000'
                        loan: '600000000'
                        status: INACTIVE
                        title: 600 میلیون اعتبار معاملاتی
                        warning_limit: '642000000'
                      - assurance: '50000000'
                        currency: TMN
                        daily_fee: '500000'
                        daily_fee_after_discount: '500000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/eK5KaiA7xiyOIppyYHvcRCQhgK2d1SKGvoID2sie.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '15000000'
                        final_fee_after_discount: '15000000'
                        final_fee_discount: '0'
                        id: 119
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/7ztIwZQYevSfKaTtM2jQrPxPncRBSnRBaLXwTaVf.png
                        liquidity_limit: '520000000'
                        loan: '500000000'
                        status: ACTIVE
                        title: 500 میلیون اعتبار معاملاتی
                        warning_limit: '535000000'
                      - assurance: '100000'
                        currency: TMN
                        daily_fee: '3000'
                        daily_fee_after_discount: '3000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/AaR7zhqWFsU8o74wMlyyEKSNkemyAqVjagXp2jw7.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '90000'
                        final_fee_after_discount: '90000'
                        final_fee_discount: '0'
                        id: 137
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/GiwJXCCqKKwUl9smvOTnflRzcdM2v58CP4vJNYFH.png
                        liquidity_limit: '3060000'
                        loan: '3000000'
                        status: ACTIVE
                        title: 3 میلیون اعتبار معاملاتی
                        warning_limit: '3090000'
                      - assurance: '100000'
                        currency: TMN
                        daily_fee: '1500'
                        daily_fee_after_discount: '1500'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/skQNe8de3Grf3PNHT9wAj7e15B5dnkzA9n9jgGRO.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '45000'
                        final_fee_after_discount: '45000'
                        final_fee_discount: '0'
                        id: 134
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/SRq7winv8epgS90fMjYfLHiqWKmV1OxPwuf40NmB.png
                        liquidity_limit: '1545000'
                        loan: '1500000'
                        status: INACTIVE
                        title: 1.5 میلیون اعتبار معاملاتی
                        warning_limit: '1560000'
                      - assurance: '4000000'
                        currency: TMN
                        daily_fee: '60000'
                        daily_fee_after_discount: '60000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/J7aaP2hjQcMKPDNMc3Qq7ETTMvc97QK2LESmtb7Y.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '1800000'
                        final_fee_after_discount: '1800000'
                        final_fee_discount: '0'
                        id: 128
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/XVbSK2cLT3uiycs9MrzgVWSJC9eW2YYSuaMk02fl.png
                        liquidity_limit: '61800000'
                        loan: '60000000'
                        status: ACTIVE
                        title: 60 میلیون اعتبار معاملاتی
                        warning_limit: '62700000'
                      - assurance: '10000000'
                        currency: TMN
                        daily_fee: '100000'
                        daily_fee_after_discount: '100000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/smCGk2fMduT399ruI8uzF8pbNvITLy9gyrq3eI3o.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '3000000'
                        final_fee_after_discount: '3000000'
                        final_fee_discount: '0'
                        id: 107
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/8aju9yCJhGqOlIn2RsWkpHUJmZPz9MWIQSvLwotA.png
                        liquidity_limit: '104000000'
                        loan: '100000000'
                        status: ACTIVE
                        title: 100 میلیون اعتبار معاملاتی
                        warning_limit: '107000000'
                      - assurance: '30000000'
                        currency: TMN
                        daily_fee: '300000'
                        daily_fee_after_discount: '300000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/vCdyBJxZsca6MwvrROO3OjLsInhIhl0nB67Szf3i.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '9000000'
                        final_fee_after_discount: '9000000'
                        final_fee_discount: '0'
                        id: 116
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/TZjvxzGD4JVGt4EEjaSsT5KxLb3F4GVXSh2w2qIu.png
                        liquidity_limit: '312000000'
                        loan: '300000000'
                        status: ACTIVE
                        title: 300 میلیون اعتبار معاملاتی
                        warning_limit: '321000000'
                      - assurance: '200'
                        currency: USDT
                        daily_fee: '0.5'
                        daily_fee_after_discount: '0.5'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/cCM6nyg1K9akqVnIGQVZ3elO9xd1eG55qexYlCgf.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '15'
                        final_fee_after_discount: '15'
                        final_fee_discount: '0'
                        id: 146
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/S81UZpQ9QsWjnxW47rrVww1tiwor18nwG2j6NXb6.png
                        liquidity_limit: '1040'
                        loan: '1000'
                        status: ACTIVE
                        title: 1000 تتر اعتبار معاملاتی
                        warning_limit: '1070'
                      - assurance: '50'
                        currency: USDT
                        daily_fee: '0.2'
                        daily_fee_after_discount: '0.2'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/dENZiRwyoSLtSuRgspmIIIBfQCADeysjFsTS6Fcz.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '6'
                        final_fee_after_discount: '6'
                        final_fee_discount: '0'
                        id: 143
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/Y6gfyqFrnngQJDFmw3fI9CJ0x3MHKGuLhwRYuPu6.png
                        liquidity_limit: '416'
                        loan: '400'
                        status: ACTIVE
                        title: 400 تتر اعتبار معاملاتی
                        warning_limit: '428'
                      - assurance: '2000000'
                        currency: TMN
                        daily_fee: '30000'
                        daily_fee_after_discount: '30000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/PCehq12IOqO6u2TE0apKRr75sTTdrYu8RPsr4fHU.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '900000'
                        final_fee_after_discount: '900000'
                        final_fee_discount: '0'
                        id: 131
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/MuIyDfbsdCTMFcF9bSyWQNEaAkVLPdCX93PR27tv.png
                        liquidity_limit: '30900000'
                        loan: '30000000'
                        status: ACTIVE
                        title: ۳۰ میلیون اعتبار معاملاتی
                        warning_limit: '31200000'
                      - assurance: '200'
                        currency: USDT
                        daily_fee: '1'
                        daily_fee_after_discount: '1'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/sFhEQtqD2k38ygKDMhydTFROej0VRcnE48pB2iP9.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '30'
                        final_fee_after_discount: '30'
                        final_fee_discount: '0'
                        id: 140
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/6qSIvatJ9EYAvuEfP2k7f1eJiwh8HuIyy4HxZNao.png
                        liquidity_limit: '2080'
                        loan: '2000'
                        status: ACTIVE
                        title: ۲۰۰۰ تتر اعتبار معاملاتی
                        warning_limit: '2140'
                      - assurance: '100'
                        currency: USDT
                        daily_fee: '0.5'
                        daily_fee_after_discount: '0.5'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/6TBRjooe1smhFFVvctn5mXWQyYgGQHnQ4KP6kGzC.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '15'
                        final_fee_after_discount: '15'
                        final_fee_discount: '0'
                        id: 122
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/CZ5WKgLjqobOjI0v5ssITkFFgbNT6PB4UAuIqbdo.png
                        liquidity_limit: '1040'
                        loan: '1000'
                        status: ACTIVE
                        title: 1000 تتر اعتبار معاملاتی
                        warning_limit: '1070'
                      - assurance: '20000000'
                        currency: TMN
                        daily_fee: '200000'
                        daily_fee_after_discount: '200000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/NDHttjNUufen1eGvqy15KQf14YmkJeCjZpjIjS7R.svg
                        destination_currency: null
                        expire_days: 30
                        final_fee: '6000000'
                        final_fee_after_discount: '6000000'
                        final_fee_discount: '0'
                        id: 113
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/AfCYnScOe5cQ148IcTnHsVCNvqLmwP626dazZUDB.svg
                        liquidity_limit: '208000000'
                        loan: '200000000'
                        status: ACTIVE
                        title: 200 میلیون اعتبار معاملاتی
                        warning_limit: '214000000'
                      - assurance: '1000000'
                        currency: TMN
                        daily_fee: '10000'
                        daily_fee_after_discount: '10000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/1rX2EiHtSN0pm8wY5IeeD0PVFfPV8YtARYhS5K1u.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '300000'
                        final_fee_after_discount: '300000'
                        final_fee_discount: '0'
                        id: 101
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/4cyZKkkKacBAEOMYrBqCmKdTlL4RWey1anAEjwQk.png
                        liquidity_limit: '10400000'
                        loan: '10000000'
                        status: ACTIVE
                        title: 10 میلیون اعتبار معاملاتی
                        warning_limit: '10700000'
                      - assurance: '5000000'
                        currency: TMN
                        daily_fee: '25000'
                        daily_fee_after_discount: '25000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/dsKIHlBwaDFYi1ZDuZFkpEmdEROoksIHJoumAUYv.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '750000'
                        final_fee_after_discount: '750000'
                        final_fee_discount: '0'
                        id: 110
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/iIDmZchey8NNFvrj4kqSz0uqFNe7ccGwpGVDKAIz.png
                        liquidity_limit: '26000000'
                        loan: '25000000'
                        status: ACTIVE
                        title: 25 میلیون اعتبار معاملاتی
                        warning_limit: '26750000'
                      - assurance: '10000000'
                        currency: TMN
                        daily_fee: '50000'
                        daily_fee_after_discount: '50000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/Xa7dc76ouezN2vAtmi1yFW4ZNADyhQfJTBycq2Nm.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '1500000'
                        final_fee_after_discount: '1500000'
                        final_fee_discount: '0'
                        id: 79
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/PUqIeYEOLP9WOLTZCIxpU4bL5NRF6lwDDnwd7tCE.png
                        liquidity_limit: '52000000'
                        loan: '50000000'
                        status: ACTIVE
                        title: 50 میلیون اعتبار معاملاتی
                        warning_limit: '53500000'
                      - assurance: '20000000'
                        currency: TMN
                        daily_fee: '100000'
                        daily_fee_after_discount: '100000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/KOi8SROWgHh4UDRD3p4VHdPlaBJRVgjic6ry94Yb.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '3000000'
                        final_fee_after_discount: '3000000'
                        final_fee_discount: '0'
                        id: 104
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/9Hu9vt5HFlUxNKxKLmd6oqeAoiiMtqIWb9MCiRom.png
                        liquidity_limit: '104000000'
                        loan: '100000000'
                        status: ACTIVE
                        title: 100 میلیون اعتبار معاملاتی
                        warning_limit: '107000000'
                      - assurance: '10000000'
                        currency: TMN
                        daily_fee: '40000'
                        daily_fee_after_discount: '40000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/qojEXt6QjlMdO2YprMFIV1x2TCjWCtawrWBu0Jvy.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '1200000'
                        final_fee_after_discount: '1200000'
                        final_fee_discount: '0'
                        id: 76
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/KaLDBDgyIROq2LimeKpG5pjnehswRCdpln5cqtcV.png
                        liquidity_limit: '41600000'
                        loan: '40000000'
                        status: ACTIVE
                        title: 40 میلیون اعتبار معاملاتی
                        warning_limit: '42800000'
                      - assurance: '100000000'
                        currency: TMN
                        daily_fee: '300000'
                        daily_fee_after_discount: '300000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/Rn7TVSIEzfZFyc5vuheqKFoNCkuouJFYxJlNkOAF.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '9000000'
                        final_fee_after_discount: '9000000'
                        final_fee_discount: '0'
                        id: 97
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/EOmEhwaJKwnhnVhjg7OeGKQYh5duOS5gGARpwGUX.png
                        liquidity_limit: '312000000'
                        loan: '300000000'
                        status: ACTIVE
                        title: 300 میلیون اعتبار معاملاتی
                        warning_limit: '321000000'
                      - assurance: '10000000'
                        currency: TMN
                        daily_fee: '30000'
                        daily_fee_after_discount: '30000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/mDBahzwIu2UdDZ37Dy56hU2bI6V7DAKZltVGK1xk.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '900000'
                        final_fee_after_discount: '900000'
                        final_fee_discount: '0'
                        id: 73
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/F2doDvaz24YhvTdhWMVpBECtvQgvz7R11qQTypHe.png
                        liquidity_limit: '32136000'
                        loan: '30000000'
                        status: INACTIVE
                        title: 30 میلیون اعتبار معاملاتی
                        warning_limit: '34715000'
                      - assurance: '50000000'
                        currency: TMN
                        daily_fee: '150000'
                        daily_fee_after_discount: '150000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/1b4UBGRgGfTXLsOmkKWxxrtYXrAuB9cLQblRcULx.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '4500000'
                        final_fee_after_discount: '4500000'
                        final_fee_discount: '0'
                        id: 91
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/jdU7JWXampXUCezLgN0JD6Bga3mYMBNAEJaFhEhu.png
                        liquidity_limit: '156000000'
                        loan: '150000000'
                        status: ACTIVE
                        title: 150 میلیون اعتبار معاملاتی
                        warning_limit: '160500000'
                      - assurance: '20000000'
                        currency: TMN
                        daily_fee: '60000'
                        daily_fee_after_discount: '60000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/oreeZUbvdF8iwORrpV7RXCbfiCRShqCgK6R5syxO.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '1800000'
                        final_fee_after_discount: '1800000'
                        final_fee_discount: '0'
                        id: 82
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/aR8eaa37bYiH6FxF7wMnp5kGzVrK4Yr07C2bzeZz.png
                        liquidity_limit: '62400000'
                        loan: '60000000'
                        status: INACTIVE
                        title: 60 میلیون اعتبار معاملاتی
                        warning_limit: '64200000'
                    success: true
      security:
        - x-api-key: []
  /v1/prop/packages/{id}:
    get:
      tags:
        - Prop Package
      summary: Prop Package Details
      description: >-
        # GET v1/prop/packages/{id}


        This endpoint retrieves the details for a prop package.


        ## Headers


        This request does not require any custom header.


        ## Request Body Parameters


        This request does not require a request body.


        ## Query Parameters


        This request does not require any query parameters.


        ## Response


        The response for this request is a JSON object with the following
        properties:


        - `result` (object)

            - `detail` (number)

                - `id` (string)

                - `title` (string)

                - `currency` (string)

                - `destination_currency` (string)

                - `assurance` (string)

                - `loan` (string)

                - `warning_limit` (string)

                - `liquidity_limit` (string)

                - `status` (string)

                - `expire_days` (number)

                - `dark_image_url` (string)

                - `light_image_url` (string)

                - `daily_fee` (string)

                - `daily_fee_discount` (string)

                - `daily_fee_after_discount` (string)

                - `final_fee` (string)

                - `final_fee_discount` (string)

                - `final_fee_after_discount` (string)

            - `unavailableMarkets` (array\[string\])

            - faq (array\[string\])

        - `message` (string)

        - `success` (boolean)


        ## Example Response


        ``` json

        {
            "result": {
                "detail": {
                    "id": 147,
                    "title": "600 میلیون اعتبار معاملاتی",
                    "currency": "TMN",
                    "destination_currency": null,
                    "assurance": "60000000",
                    "loan": "600000000",
                    "warning_limit": "642000000",
                    "liquidity_limit": "624000000",
                    "status": "INACTIVE",
                    "expire_days": 30,
                    "dark_image_url": "https://s3.thr1.sotoon.ir/wallex-public/packages/QrOWJudTqCA4BxKlRZ99vFcnkUG5SEWNBoK5ayu2.png",
                    "light_image_url": "https://s3.thr1.sotoon.ir/wallex-public/packages/ceY4TTn6yQXvmUHZvy2g3e5B8zt6sGsI2XAQuhFl.png",
                    "daily_fee": "600000",
                    "daily_fee_discount": "0",
                    "daily_fee_after_discount": "600000",
                    "final_fee": "18000000",
                    "final_fee_discount": "0",
                    "final_fee_after_discount": "18000000"
                },
                "unavailableMarkets": [
                    "WTMN",
                    "METMN",
                    "WUSDT"    
                ],
                "faq": []
            },
            "message": "عملیات با موفقیت انجام شد",
            "success": true
        }

         ```
      operationId: propPackageDetails
      responses:
        '200':
          description: '200'
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Sun, 06 Apr 2025 11:39:20 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Accept-Encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            cache-control:
              schema:
                type: string
                example: no-cache, private
            vary:
              schema:
                type: string
                example: Origin
            x-auth-cache-status:
              schema:
                type: string
                example: hit
            x-authenticated:
              schema:
                type: string
                example: 'false'
            x-envoy-upstream-service-time:
              schema:
                type: string
                example: '80'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: object
                    properties:
                      detail:
                        type: object
                        properties:
                          assurance:
                            type: string
                            example: '60000000'
                          currency:
                            type: string
                            example: TMN
                          daily_fee:
                            type: string
                            example: '600000'
                          daily_fee_after_discount:
                            type: string
                            example: '600000'
                          daily_fee_discount:
                            type: string
                            example: '0'
                          dark_image_url:
                            type: string
                            example: >-
                              https://s3.thr1.sotoon.ir/wallex-public/packages/QrOWJudTqCA4BxKlRZ99vFcnkUG5SEWNBoK5ayu2.png
                          destination_currency:
                            nullable: true
                            example: null
                          expire_days:
                            type: number
                            example: 30
                          final_fee:
                            type: string
                            example: '18000000'
                          final_fee_after_discount:
                            type: string
                            example: '18000000'
                          final_fee_discount:
                            type: string
                            example: '0'
                          id:
                            type: number
                            example: 147
                          light_image_url:
                            type: string
                            example: >-
                              https://s3.thr1.sotoon.ir/wallex-public/packages/ceY4TTn6yQXvmUHZvy2g3e5B8zt6sGsI2XAQuhFl.png
                          liquidity_limit:
                            type: string
                            example: '624000000'
                          loan:
                            type: string
                            example: '600000000'
                          status:
                            type: string
                            example: INACTIVE
                          title:
                            type: string
                            example: 600 میلیون اعتبار معاملاتی
                          warning_limit:
                            type: string
                            example: '642000000'
                      faq:
                        type: array
                        items: {}
                        example: []
                      unavailableMarkets:
                        type: array
                        items:
                          type: string
                          example: WTMN
                        example:
                          - WTMN
                          - METMN
                          - WUSDT
                          - JSTTMN
                          - JTOTMN
                          - JUPTMN
                          - MEUSDT
                          - BTTCTMN
                          - FORMTMN
                          - JSTUSDT
                          - JTOUSDT
                          - JUPUSDT
                          - NEARTMN
                          - NEXOTMN
                          - OSMOTMN
                          - PAXGTMN
                          - PNUTTMN
                          - POLSTMN
                          - PYTHTMN
                          - RUNETMN
                          - SAMOTMN
                          - TAPSTMN
                          - YFIUSDT
                          - AIOZUSDT
                          - BTTCUSDT
                          - FORMUSDT
                          - NEARUSDT
                          - NEXOUSDT
                          - OSMOUSDT
                          - PAXGUSDT
                          - PENGUTMN
                          - PIXFITMN
                          - PNUTUSDT
                          - POLSUSDT
                          - PYTHUSDT
                          - RBTCUSDT
                          - RUNEUSDT
                          - SAMOUSDT
                          - TAPSUSDT
                          - BURGERTMN
                          - EIGENUSDT
                          - JASMYUSDT
                          - PENGUUSDT
                          - PIXFIUSDT
                          - BURGERUSDT
                          - PEOPLEUSDT
                          - 1BBABYDOGETMN
                          - 1BBABYDOGEUSDT
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      detail:
                        assurance: '60000000'
                        currency: TMN
                        daily_fee: '600000'
                        daily_fee_after_discount: '600000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/QrOWJudTqCA4BxKlRZ99vFcnkUG5SEWNBoK5ayu2.png
                        destination_currency: null
                        expire_days: 30
                        final_fee: '18000000'
                        final_fee_after_discount: '18000000'
                        final_fee_discount: '0'
                        id: 147
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/wallex-public/packages/ceY4TTn6yQXvmUHZvy2g3e5B8zt6sGsI2XAQuhFl.png
                        liquidity_limit: '624000000'
                        loan: '600000000'
                        status: INACTIVE
                        title: 600 میلیون اعتبار معاملاتی
                        warning_limit: '642000000'
                      faq: []
                      unavailableMarkets:
                        - WTMN
                        - METMN
                        - WUSDT
                        - JSTTMN
                        - JTOTMN
                        - JUPTMN
                        - MEUSDT
                        - BTTCTMN
                        - FORMTMN
                        - JSTUSDT
                        - JTOUSDT
                        - JUPUSDT
                        - NEARTMN
                        - NEXOTMN
                        - OSMOTMN
                        - PAXGTMN
                        - PNUTTMN
                        - POLSTMN
                        - PYTHTMN
                        - RUNETMN
                        - SAMOTMN
                        - TAPSTMN
                        - YFIUSDT
                        - AIOZUSDT
                        - BTTCUSDT
                        - FORMUSDT
                        - NEARUSDT
                        - NEXOUSDT
                        - OSMOUSDT
                        - PAXGUSDT
                        - PENGUTMN
                        - PIXFITMN
                        - PNUTUSDT
                        - POLSUSDT
                        - PYTHUSDT
                        - RBTCUSDT
                        - RUNEUSDT
                        - SAMOUSDT
                        - TAPSUSDT
                        - BURGERTMN
                        - EIGENUSDT
                        - JASMYUSDT
                        - PENGUUSDT
                        - PIXFIUSDT
                        - BURGERUSDT
                        - PEOPLEUSDT
                        - 1BBABYDOGETMN
                        - 1BBABYDOGEUSDT
                    success: true
      security:
        - x-api-key: []
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          example: ''
  /v1/prop/user/packages/history:
    get:
      tags:
        - User Package
      summary: User Package History List
      description: |-
        # GET /v1/prop/user/packages/history

        This endpoint retrieves the user packages history for a user.

        ## Headers

        This request does not require any custom header.

        ## Request Body Parameters

        This request does not require a request body.

        ## Query Parameters

        This request does not require any query parameters.

        ## Response

        - `result` (array\[object\]):

            - `user_id` (number)

            - `client_id` (string)

            - `package_title` (string)

            - `dark_image_url` (string)

            - `light_image_url` (string)

            - `currency` (string)

            - `destination_currency` (string)

            - `assurance` (string)

            - `loan` (string)

            - `final_balance` (string)

            - `final_balance_without_transfers` (string)

            - `start_balance` (string)

            - `warning_limit` (string)

            - `liquidity_limit` (string)

            - `created_at` (string)

            - `finished_at` (string)

            - `expire_at` (string)

            - `close_reason` (string)

            - `status` (string)

            - `expire_days` (number)

            - `daily_fee` (string)

            - `daily_fee_discount` (string)

            - `daily_fee_after_discount` (string)

            - `final_fee` (string)

            - `final_fee_discount` (string)

            - `final_fee_after_discount` (string)

            - `open_days` (number)

            - `total_days` (number)

            - `applicable_daily_fee` (string)

            - `applicable_daily_fee_discount` (string)

            - `applicable_daily_fee_after_discount` (string)

            - `profit` (string)

            - `profit_percentage` (string)

            - `final_assurance` (string)

            - `final_payBack` (string)

        - `message` (string)

        - `success` (boolean)

        - `result_info` (object):

            - `page` (number)

            - `per_page` (number)

            - `count` (number)

            - `total_count` (number)


        ## Example Response

        ``` json
        {
          "result": [
            {
              "unique_id": 0,
              "source_client_id": "",
              "source_client_title": "",
              "destination_client_id": "",
              "destination_client_title": null,
              "source_user_type": "",
              "destination_user_type": "",
              "fa_source_user_type": "",
              "fa_destination_user_type": "",
              "currency": "",
              "value": "",
              "reason": "",
              "createdAt": ""
            }
          ],
          "message": "",
          "success": true,
          "result_info": {
            "page": 0,
            "per_page": 0,
            "count": 0,
            "total_count": 0
          }
        }

         ```
      operationId: userPackageHistoryList
      responses:
        '200':
          description: '200'
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Sun, 06 Apr 2025 11:48:59 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Accept-Encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            cache-control:
              schema:
                type: string
                example: no-cache, private
            vary:
              schema:
                type: string
                example: Origin
            x-auth-cache-status:
              schema:
                type: string
                example: miss
            x-authenticated:
              schema:
                type: string
                example: 'true'
            x-envoy-upstream-service-time:
              schema:
                type: string
                example: '1226'
            x-ratelimit-limit:
              schema:
                type: string
                example: '20'
            x-ratelimit-remaining:
              schema:
                type: string
                example: '18'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: array
                    items:
                      type: object
                      properties:
                        applicable_daily_fee:
                          type: string
                          example: '2600000'
                        applicable_daily_fee_after_discount:
                          type: string
                          example: '2600000'
                        applicable_daily_fee_discount:
                          type: string
                          example: '0'
                        assurance:
                          type: string
                          example: '20000000'
                        client_id:
                          type: string
                          example: testClientId
                        close_reason:
                          type: string
                          example: بستن طرح
                        created_at:
                          type: string
                          example: '2025-03-12T08:49:54.000000Z'
                        currency:
                          type: string
                          example: TMN
                        daily_fee:
                          type: string
                          example: '100000'
                        daily_fee_after_discount:
                          type: string
                          example: '100000'
                        daily_fee_discount:
                          type: string
                          example: '0'
                        dark_image_url:
                          type: string
                          example: >-
                            https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        destination_currency:
                          type: string
                          example: TMN
                        expire_at:
                          type: string
                          example: '2025-04-11T08:49:54.000000Z'
                        expire_days:
                          type: number
                          example: 30
                        final_assurance:
                          type: string
                          example: '17400000'
                        final_balance:
                          type: string
                          example: '220000000'
                        final_balance_without_transfers:
                          type: string
                          example: '220000000'
                        final_fee:
                          type: string
                          example: '3000000'
                        final_fee_after_discount:
                          type: string
                          example: '3000000'
                        final_fee_discount:
                          type: string
                          example: '0'
                        final_payBack:
                          type: string
                          example: '202600000'
                        finished_at:
                          type: string
                          example: '2025-04-06T11:29:08.000000Z'
                        light_image_url:
                          type: string
                          example: >-
                            https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        liquidity_limit:
                          type: string
                          example: '182600000'
                        loan:
                          type: string
                          example: '200000000'
                        open_days:
                          type: number
                          example: 26
                        package_title:
                          type: string
                          example: طرح ۱۸
                        profit:
                          type: string
                          example: '-2600000'
                        profit_percentage:
                          type: string
                          example: '-1.18'
                        start_balance:
                          type: string
                          example: '220000000'
                        status:
                          type: string
                          example: SUSPEND
                        total_days:
                          type: number
                          example: 26
                        user_id:
                          type: number
                          example: testUserId
                        warning_limit:
                          type: string
                          example: '252600000'
                    example:
                      - applicable_daily_fee: '2600000'
                        applicable_daily_fee_after_discount: '2600000'
                        applicable_daily_fee_discount: '0'
                        assurance: '20000000'
                        client_id: testClientId
                        close_reason: بستن طرح
                        created_at: '2025-03-12T08:49:54.000000Z'
                        currency: TMN
                        daily_fee: '100000'
                        daily_fee_after_discount: '100000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        destination_currency: TMN
                        expire_at: '2025-04-11T08:49:54.000000Z'
                        expire_days: 30
                        final_assurance: '17400000'
                        final_balance: '220000000'
                        final_balance_without_transfers: '220000000'
                        final_fee: '3000000'
                        final_fee_after_discount: '3000000'
                        final_fee_discount: '0'
                        final_payBack: '202600000'
                        finished_at: '2025-04-06T11:29:08.000000Z'
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        liquidity_limit: '182600000'
                        loan: '200000000'
                        open_days: 26
                        package_title: طرح ۱۸
                        profit: '-2600000'
                        profit_percentage: '-1.18'
                        start_balance: '220000000'
                        status: SUSPEND
                        total_days: 26
                        user_id: testUserId
                        warning_limit: '252600000'
                      - applicable_daily_fee: '900000'
                        applicable_daily_fee_after_discount: '900000'
                        applicable_daily_fee_discount: '0'
                        assurance: '20000000'
                        client_id: testClientId
                        close_reason: بستن طرح
                        created_at: '2025-03-03T09:18:29.000000Z'
                        currency: TMN
                        daily_fee: '100000'
                        daily_fee_after_discount: '100000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        destination_currency: TMN
                        expire_at: '2025-04-02T09:18:29.000000Z'
                        expire_days: 30
                        final_assurance: '19100000'
                        final_balance: '220000000'
                        final_balance_without_transfers: '220000000'
                        final_fee: '3000000'
                        final_fee_after_discount: '3000000'
                        final_fee_discount: '0'
                        final_payBack: '200900000'
                        finished_at: '2025-03-11T09:44:03.000000Z'
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        liquidity_limit: '180900000'
                        loan: '200000000'
                        open_days: 9
                        package_title: طرح ۱۸
                        profit: '-70900000'
                        profit_percentage: '-24.45'
                        start_balance: '220000000'
                        status: SUSPEND
                        total_days: 9
                        user_id: testUserId
                        warning_limit: '250900000'
                  result_info:
                    type: object
                    properties:
                      count:
                        type: number
                        example: 15
                      page:
                        type: number
                        example: 1
                      per_page:
                        type: number
                        example: 15
                      total_count:
                        type: number
                        example: 15
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      - applicable_daily_fee: '2600000'
                        applicable_daily_fee_after_discount: '2600000'
                        applicable_daily_fee_discount: '0'
                        assurance: '20000000'
                        client_id: testClientId
                        close_reason: بستن طرح
                        created_at: '2025-03-12T08:49:54.000000Z'
                        currency: TMN
                        daily_fee: '100000'
                        daily_fee_after_discount: '100000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        destination_currency: TMN
                        expire_at: '2025-04-11T08:49:54.000000Z'
                        expire_days: 30
                        final_assurance: '17400000'
                        final_balance: '220000000'
                        final_balance_without_transfers: '220000000'
                        final_fee: '3000000'
                        final_fee_after_discount: '3000000'
                        final_fee_discount: '0'
                        final_payBack: '202600000'
                        finished_at: '2025-04-06T11:29:08.000000Z'
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        liquidity_limit: '182600000'
                        loan: '200000000'
                        open_days: 26
                        package_title: طرح ۱۸
                        profit: '-2600000'
                        profit_percentage: '-1.18'
                        start_balance: '220000000'
                        status: SUSPEND
                        total_days: 26
                        user_id: testUserId
                        warning_limit: '252600000'
                      - applicable_daily_fee: '900000'
                        applicable_daily_fee_after_discount: '900000'
                        applicable_daily_fee_discount: '0'
                        assurance: '20000000'
                        client_id: testClientId
                        close_reason: بستن طرح
                        created_at: '2025-03-03T09:18:29.000000Z'
                        currency: TMN
                        daily_fee: '100000'
                        daily_fee_after_discount: '100000'
                        daily_fee_discount: '0'
                        dark_image_url: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        destination_currency: TMN
                        expire_at: '2025-04-02T09:18:29.000000Z'
                        expire_days: 30
                        final_assurance: '19100000'
                        final_balance: '220000000'
                        final_balance_without_transfers: '220000000'
                        final_fee: '3000000'
                        final_fee_after_discount: '3000000'
                        final_fee_discount: '0'
                        final_payBack: '200900000'
                        finished_at: '2025-03-11T09:44:03.000000Z'
                        light_image_url: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        liquidity_limit: '180900000'
                        loan: '200000000'
                        open_days: 9
                        package_title: طرح ۱۸
                        profit: '-70900000'
                        profit_percentage: '-24.45'
                        start_balance: '220000000'
                        status: SUSPEND
                        total_days: 9
                        user_id: testUserId
                        warning_limit: '250900000'
                    result_info:
                      count: 15
                      page: 1
                      per_page: 15
                      total_count: 15
                    success: true
      security:
        - x-api-key: []
  /v1/prop/user/packages/history/{subAccountClientId}:
    get:
      tags:
        - User Package
      summary: User Package History Details
      description: |-
        # GET /v1/prop/user/packages/history/{subAccountClientId}

        This endpoint retrieves the details for a historical user package.

        ## Headers

        This request does not require any custom header.

        ## Request Body Parameters

        This request does not require a request body.

        ## Query Parameters

        This request does not require any query parameters.

        ## Response

        - `result` (object):

            - `user_id` (number)

            - `client_id` (string)

            - `package_title` (string)

            - `dark_image_url` (string)

            - `light_image_url` (string)

            - `currency` (string)

            - `destination_currency` (string)

            - `assurance` (string)

            - `loan` (string)

            - `final_balance` (string)

            - `final_balance_without_transfers` (string)

            - `start_balance` (string)

            - `warning_limit` (string)

            - `liquidity_limit` (string)

            - `created_at` (string)

            - `finished_at` (string)

            - `expire_at` (string)

            - `close_reason` (string)

            - `status` (string)

            - `expire_days` (number)

            - `daily_fee` (string)

            - `daily_fee_discount` (string)

            - `daily_fee_after_discount` (string)

            - `final_fee` (string)

            - `final_fee_discount` (string)

            - `final_fee_after_discount` (string)

            - `open_days` (number)

            - `total_days` (number)

            - `applicable_daily_fee` (string)

            - `applicable_daily_fee_discount` (string)

            - `applicable_daily_fee_after_discount` (string)

            - `profit` (string)

            - `profit_percentage` (string)

            - `final_assurance` (string)

            - `final_payBack` (string)

        - `message` (string)

        - `success` (boolean)


        ## Example Response

        ``` json
        {
            "result": {
                "user_id": testUserId,
                "client_id": "testClientId",
                "package_title": "طرح ۱۰",
                "dark_image_url": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                "light_image_url": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                "currency": "USDT",
                "destination_currency": "USDT",
                "assurance": "300",
                "loan": "1000",
                "final_balance": "1298.62",
                "final_balance_without_transfers": "1298.62",
                "start_balance": "1300",
                "warning_limit": "1001",
                "liquidity_limit": "1081",
                "created_at": "2025-02-08T08:47:00.000000Z",
                "finished_at": "2025-02-08T09:05:49.000000Z",
                "expire_at": "2025-03-10T08:47:00.000000Z",
                "close_reason": "بستن طرح",
                "status": "SUSPEND",
                "expire_days": 30,
                "daily_fee": "1",
                "daily_fee_discount": "0",
                "daily_fee_after_discount": "1",
                "final_fee": "30",
                "final_fee_discount": "0",
                "final_fee_after_discount": "30",
                "open_days": 1,
                "total_days": 1,
                "applicable_daily_fee": "1",
                "applicable_daily_fee_discount": "0",
                "applicable_daily_fee_after_discount": "1",
                "profit": "-2.38",
                "profit_percentage": "-0.18",
                "final_assurance": "297.62",
                "final_payBack": "1001"
            },
            "message": "عملیات با موفقیت انجام شد",
            "success": true
        }

         ```
      operationId: userPackageHistoryDetails
      responses:
        '200':
          description: '200'
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Sun, 06 Apr 2025 11:49:35 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Accept-Encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            cache-control:
              schema:
                type: string
                example: no-cache, private
            vary:
              schema:
                type: string
                example: Origin
            x-auth-cache-status:
              schema:
                type: string
                example: miss
            x-authenticated:
              schema:
                type: string
                example: 'true'
            x-envoy-upstream-service-time:
              schema:
                type: string
                example: '453'
            x-ratelimit-limit:
              schema:
                type: string
                example: '20'
            x-ratelimit-remaining:
              schema:
                type: string
                example: '18'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: object
                    properties:
                      applicable_daily_fee:
                        type: string
                        example: '1'
                      applicable_daily_fee_after_discount:
                        type: string
                        example: '1'
                      applicable_daily_fee_discount:
                        type: string
                        example: '0'
                      assurance:
                        type: string
                        example: '300'
                      client_id:
                        type: string
                        example: testClientId
                      close_reason:
                        type: string
                        example: بستن طرح
                      created_at:
                        type: string
                        example: '2025-02-08T08:47:00.000000Z'
                      currency:
                        type: string
                        example: USDT
                      daily_fee:
                        type: string
                        example: '1'
                      daily_fee_after_discount:
                        type: string
                        example: '1'
                      daily_fee_discount:
                        type: string
                        example: '0'
                      dark_image_url:
                        type: string
                        example: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                      destination_currency:
                        type: string
                        example: USDT
                      expire_at:
                        type: string
                        example: '2025-03-10T08:47:00.000000Z'
                      expire_days:
                        type: number
                        example: 30
                      final_assurance:
                        type: string
                        example: '297.62'
                      final_balance:
                        type: string
                        example: '1298.62'
                      final_balance_without_transfers:
                        type: string
                        example: '1298.62'
                      final_fee:
                        type: string
                        example: '30'
                      final_fee_after_discount:
                        type: string
                        example: '30'
                      final_fee_discount:
                        type: string
                        example: '0'
                      final_payBack:
                        type: string
                        example: '1001'
                      finished_at:
                        type: string
                        example: '2025-02-08T09:05:49.000000Z'
                      light_image_url:
                        type: string
                        example: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                      liquidity_limit:
                        type: string
                        example: '1081'
                      loan:
                        type: string
                        example: '1000'
                      open_days:
                        type: number
                        example: 1
                      package_title:
                        type: string
                        example: طرح ۱۰
                      profit:
                        type: string
                        example: '-2.38'
                      profit_percentage:
                        type: string
                        example: '-0.18'
                      start_balance:
                        type: string
                        example: '1300'
                      status:
                        type: string
                        example: SUSPEND
                      total_days:
                        type: number
                        example: 1
                      user_id:
                        type: number
                        example: testUserId
                      warning_limit:
                        type: string
                        example: '1001'
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      applicable_daily_fee: '1'
                      applicable_daily_fee_after_discount: '1'
                      applicable_daily_fee_discount: '0'
                      assurance: '300'
                      client_id: testClientId
                      close_reason: بستن طرح
                      created_at: '2025-02-08T08:47:00.000000Z'
                      currency: USDT
                      daily_fee: '1'
                      daily_fee_after_discount: '1'
                      daily_fee_discount: '0'
                      dark_image_url: >-
                        https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                      destination_currency: USDT
                      expire_at: '2025-03-10T08:47:00.000000Z'
                      expire_days: 30
                      final_assurance: '297.62'
                      final_balance: '1298.62'
                      final_balance_without_transfers: '1298.62'
                      final_fee: '30'
                      final_fee_after_discount: '30'
                      final_fee_discount: '0'
                      final_payBack: '1001'
                      finished_at: '2025-02-08T09:05:49.000000Z'
                      light_image_url: >-
                        https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                      liquidity_limit: '1081'
                      loan: '1000'
                      open_days: 1
                      package_title: طرح ۱۰
                      profit: '-2.38'
                      profit_percentage: '-0.18'
                      start_balance: '1300'
                      status: SUSPEND
                      total_days: 1
                      user_id: testUserId
                      warning_limit: '1001'
                    success: true
      security:
        - x-api-key: []
    parameters:
      - name: subAccountClientId
        in: path
        required: true
        schema:
          type: string
          example: ''
  /v1/prop/user/packages/overview:
    get:
      tags:
        - User Package
      summary: Active User Packages Overview
      description: |-
        # GET /v1/prop/user/packages/overview

        This endpoint retrieves an overview of active user packages

        ## Headers

        This request does not require any custom header.

        ## Request Body Parameters

        This request does not require a request body.

        ## Query Parameters

        This request does not require any query parameters.

        ## Response

        - `result` (object)

            - `aggregatedDetail` (object)

                - `currency` (string)

                - `assurance` (string)

                - `loan` (string)

                - `profit` (string)

                - `profitPercentage` (string)

            - `userPackages` (array\[object\])

                - `packageDetail` (object)

                    - `title` (string)

                    - `assurance` (string)

                    - `loan` (string)

                    - `currency` (string)

                    - `darkImageUrl` (string)

                    - `lightImageUrl` (string)

                    - `expireDays` (number)

            - `userPackageDetail` (object)

                - `id` (number)

                - `subAccountClientId` (string)

                - `status` (string)

                - `createdAt` (string)

                - `expireAt` (string)

                - `profit` (string)

                - `profitPercentage` (string)

            - `balancesHistory` (object)

                - `total` (object)

                    - `TMN` (number)

                    - `USDT` (number)

                    - `BTC` (number)

                - `perDay` (object)

                    - (object)

                        - `TMN` (number)

                        - `USDT` (number)

                        - `BTC` (number)

        - `message` (string)

        - `success` (boolean)


        ## Example Response

        ``` json
        {
            "result": {
                "aggregatedDetail": {
                    "currency": "TMN",
                    "assurance": "1000000",
                    "loan": "200000000",
                    "profit": "-1999995000",
                    "profitPercentage": "-995.02"
                },
                "userPackages": [
                    {
                        "packageDetail": {
                            "title": "طرح ۵",
                            "assurance": "1000000",
                            "loan": "200000000",
                            "currency": "TMN",
                            "darkImageUrl": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                            "lightImageUrl": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                            "expireDays": 30
                        },
                        "userPackageDetail": {
                            "id": 339,
                            "subAccountClientId": "CLIENTID",
                            "status": "liquid",
                            "createdAt": "2025-04-06T11:50:11.000000Z",
                            "expireAt": "2025-05-06T11:50:11.000000Z",
                            "profit": "-1999995000",
                            "profitPercentage": "-995.02"
                        },
                        "balancesHistory": {
                            "total": {
                                "TMN": 201000000,
                                "USDT": 1939.087567651003,
                                "BTC": 0.023551144650712032
                            },
                            "perDay": {
                                "2025-04-06": {
                                    "TMN": 201000000,
                                    "USDT": 1939.087567651003,
                                    "BTC": 0.023551144650712032
                                }
                            }
                        }
                    }
                ]
            },
            "message": "عملیات با موفقیت انجام شد",
            "success": true
        }

         ```
      operationId: activeUserPackagesOverview
      responses:
        '200':
          description: '200'
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Sun, 06 Apr 2025 11:50:19 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Accept-Encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            cache-control:
              schema:
                type: string
                example: no-cache, private
            vary:
              schema:
                type: string
                example: Origin
            x-auth-cache-status:
              schema:
                type: string
                example: miss
            x-authenticated:
              schema:
                type: string
                example: 'true'
            x-envoy-upstream-service-time:
              schema:
                type: string
                example: '500'
            x-ratelimit-limit:
              schema:
                type: string
                example: '20'
            x-ratelimit-remaining:
              schema:
                type: string
                example: '14'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: object
                    properties:
                      aggregatedDetail:
                        type: object
                        properties:
                          assurance:
                            type: string
                            example: '1000000'
                          currency:
                            type: string
                            example: TMN
                          loan:
                            type: string
                            example: '200000000'
                          profit:
                            type: string
                            example: '-1999995000'
                          profitPercentage:
                            type: string
                            example: '-995.02'
                      userPackages:
                        type: array
                        items:
                          type: object
                          properties:
                            balancesHistory:
                              type: object
                              properties:
                                perDay:
                                  type: object
                                  properties:
                                    '2025-04-06':
                                      type: object
                                      properties:
                                        BTC:
                                          type: number
                                          example: 0.023551144650712032
                                        TMN:
                                          type: number
                                          example: 201000000
                                        USDT:
                                          type: number
                                          example: 1939.087567651003
                                total:
                                  type: object
                                  properties:
                                    BTC:
                                      type: number
                                      example: 0.023551144650712032
                                    TMN:
                                      type: number
                                      example: 201000000
                                    USDT:
                                      type: number
                                      example: 1939.087567651003
                            packageDetail:
                              type: object
                              properties:
                                assurance:
                                  type: string
                                  example: '1000000'
                                currency:
                                  type: string
                                  example: TMN
                                darkImageUrl:
                                  type: string
                                  example: >-
                                    https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                                expireDays:
                                  type: number
                                  example: 30
                                lightImageUrl:
                                  type: string
                                  example: >-
                                    https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                                loan:
                                  type: string
                                  example: '200000000'
                                title:
                                  type: string
                                  example: طرح ۵
                            userPackageDetail:
                              type: object
                              properties:
                                createdAt:
                                  type: string
                                  example: '2025-04-06T11:50:11.000000Z'
                                expireAt:
                                  type: string
                                  example: '2025-05-06T11:50:11.000000Z'
                                id:
                                  type: number
                                  example: 339
                                profit:
                                  type: string
                                  example: '-1999995000'
                                profitPercentage:
                                  type: string
                                  example: '-995.02'
                                status:
                                  type: string
                                  example: liquid
                                subAccountClientId:
                                  type: string
                                  example: CLIENTID
                        example:
                          - balancesHistory:
                              perDay:
                                '2025-04-06':
                                  BTC: 0.023551144650712032
                                  TMN: 201000000
                                  USDT: 1939.087567651003
                              total:
                                BTC: 0.023551144650712032
                                TMN: 201000000
                                USDT: 1939.087567651003
                            packageDetail:
                              assurance: '1000000'
                              currency: TMN
                              darkImageUrl: >-
                                https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                              expireDays: 30
                              lightImageUrl: >-
                                https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                              loan: '200000000'
                              title: طرح ۵
                            userPackageDetail:
                              createdAt: '2025-04-06T11:50:11.000000Z'
                              expireAt: '2025-05-06T11:50:11.000000Z'
                              id: 339
                              profit: '-1999995000'
                              profitPercentage: '-995.02'
                              status: liquid
                              subAccountClientId: CLIENTID
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      aggregatedDetail:
                        assurance: '1000000'
                        currency: TMN
                        loan: '200000000'
                        profit: '-1999995000'
                        profitPercentage: '-995.02'
                      userPackages:
                        - balancesHistory:
                            perDay:
                              '2025-04-06':
                                BTC: 0.023551144650712032
                                TMN: 201000000
                                USDT: 1939.087567651003
                            total:
                              BTC: 0.023551144650712032
                              TMN: 201000000
                              USDT: 1939.087567651003
                          packageDetail:
                            assurance: '1000000'
                            currency: TMN
                            darkImageUrl: >-
                              https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                            expireDays: 30
                            lightImageUrl: >-
                              https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                            loan: '200000000'
                            title: طرح ۵
                          userPackageDetail:
                            createdAt: '2025-04-06T11:50:11.000000Z'
                            expireAt: '2025-05-06T11:50:11.000000Z'
                            id: 339
                            profit: '-1999995000'
                            profitPercentage: '-995.02'
                            status: liquid
                            subAccountClientId: CLIENTID
                    success: true
      security:
        - x-api-key: []
  /v1/prop/user/packages/active:
    get:
      tags:
        - User Package
      summary: Active User Package Details
      description: >-
        # GET /v1/prop/user/packages/active


        This endpoint retrieves the details of a user package based on sub
        account.


        ## Headers


        - `Sub-Account-Client-id` (string)


        ## Request Body Parameters


        This request does not require a request body.


        ## Query Parameters


        This request does not require any query parameters.


        ## Response


        - `result` (object)

            - `packageDetail` (object)

                - `id` (number)

                - `title` (string)

                - `assurance` (string)

                - `loan` (string)

                - `currency` (string)

                - `destination_currency` (null|string)

                - `dailyFee` (string)

                - `dailyFeeDiscount` (string)

                - `dailyFeeAfterDiscount` (string)

                - `darkImageUrl` (string)

                - `lightImageUrl` (string)

                - `startBalance` (string)

                - `expireDays` (number)

            - `userPackageDetail` (object)

                - `id` (number)

                - `status` (string)

                - `createdAt` (string)

                - `expireAt` (string)

                - `type` (string)

                - `openDays` (number)

                - `totalDays` (number)

                - `cyclesCount` (number)

                - `debtCyclesCount` (number)

                - `paidCyclesCount` (number)

                - `warningLimit` (string)

                - `liquidityLimit` (string)

                - `profit` (string)

                - `profitPercentage` (string)

                - `connectToWallet` (null|string)

                - `finalFeeAfterDiscount` (string)

                - `finalFee` (string)

                - `finalPayableFeeAmount` (string)

                - `finalPayback` (string)

            - `alertsData` (array\[object\])

                - `type` (string)

            - `balancesHistory` (object)

                - `total` (object)

                    - `TMN` (number)

                    - `USDT` (number)

                    - `BTC` (number)

                - `perDay` (object)

                    - (object)

                        - `TMN` (number)

                        - `USDT` (number)

                        - `BTC` (number)

        - `message` (string)

        - `success` (boolean)


        ## Example Response


        ``` json

        {
            "result": {
                "packageDetail": {
                    "id": 69,
                    "title": "طرح ۵",
                    "assurance": "1000000",
                    "loan": "200000000",
                    "currency": "TMN",
                    "destination_currency": null,
                    "dailyFee": "2000000000",
                    "dailyFeeDiscount": "5000",
                    "dailyFeeAfterDiscount": "1999995000",
                    "darkImageUrl": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                    "lightImageUrl": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                    "startBalance": "201000000",
                    "expireDays": 30
                },
                "userPackageDetail": {
                    "id": 339,
                    "status": "liquid",
                    "createdAt": "2025-04-06T11:50:11.000000Z",
                    "expireAt": "2025-05-06T11:50:11.000000Z",
                    "type": "prop-public",
                    "openDays": 1,
                    "totalDays": 1,
                    "cyclesCount": 1,
                    "debtCyclesCount": 1,
                    "paidCyclesCount": 0,
                    "warningLimit": "2200795000",
                    "liquidityLimit": "2200495000",
                    "profit": "-1999995000",
                    "profitPercentage": "-995.02",
                    "connectToWallet": null,
                    "finalFeeAfterDiscount": "59999850000",
                    "finalFee": "60000000000",
                    "finalPayableFeeAmount": "1999995000",
                    "finalPayback": "2199995000"
                },
                "alertsData": [
                    {
                        "type": "public_warning_low_credit"
                    }
                ],
                "balancesHistory": {
                    "total": {
                        "TMN": 201000000,
                        "USDT": 1939.087567651003,
                        "BTC": 0.023551144650712032
                    },
                    "perDay": {
                        "2025-04-06": {
                            "TMN": 201000000,
                            "USDT": 1939.087567651003,
                            "BTC": 0.023551144650712032
                        }
                    }
                }
            },
            "message": "عملیات با موفقیت انجام شد",
            "success": true
        }

         ```
      operationId: activeUserPackageDetails
      parameters:
        - name: sub-account-client-id
          in: header
          schema:
            type: string
            example: '{{subAccountClientId}}'
      responses:
        '200':
          description: '200'
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Sun, 06 Apr 2025 11:51:21 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Accept-Encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            cache-control:
              schema:
                type: string
                example: no-cache, private
            vary:
              schema:
                type: string
                example: Origin
            x-auth-cache-status:
              schema:
                type: string
                example: miss
            x-authenticated:
              schema:
                type: string
                example: 'true'
            x-envoy-upstream-service-time:
              schema:
                type: string
                example: '397'
            x-ratelimit-limit:
              schema:
                type: string
                example: '20'
            x-ratelimit-remaining:
              schema:
                type: string
                example: '18'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: object
                    properties:
                      alertsData:
                        type: array
                        items:
                          type: object
                          properties:
                            type:
                              type: string
                              example: public_warning_low_credit
                        example:
                          - type: public_warning_low_credit
                      balancesHistory:
                        type: object
                        properties:
                          perDay:
                            type: object
                            properties:
                              '2025-04-06':
                                type: object
                                properties:
                                  BTC:
                                    type: number
                                    example: 0.023551144650712032
                                  TMN:
                                    type: number
                                    example: 201000000
                                  USDT:
                                    type: number
                                    example: 1939.087567651003
                          total:
                            type: object
                            properties:
                              BTC:
                                type: number
                                example: 0.023551144650712032
                              TMN:
                                type: number
                                example: 201000000
                              USDT:
                                type: number
                                example: 1939.087567651003
                      packageDetail:
                        type: object
                        properties:
                          assurance:
                            type: string
                            example: '1000000'
                          currency:
                            type: string
                            example: TMN
                          dailyFee:
                            type: string
                            example: '2000000000'
                          dailyFeeAfterDiscount:
                            type: string
                            example: '1999995000'
                          dailyFeeDiscount:
                            type: string
                            example: '5000'
                          darkImageUrl:
                            type: string
                            example: >-
                              https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                          destination_currency:
                            nullable: true
                            example: null
                          expireDays:
                            type: number
                            example: 30
                          id:
                            type: number
                            example: 69
                          lightImageUrl:
                            type: string
                            example: >-
                              https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                          loan:
                            type: string
                            example: '200000000'
                          startBalance:
                            type: string
                            example: '201000000'
                          title:
                            type: string
                            example: طرح ۵
                      userPackageDetail:
                        type: object
                        properties:
                          connectToWallet:
                            nullable: true
                            example: null
                          createdAt:
                            type: string
                            example: '2025-04-06T11:50:11.000000Z'
                          cyclesCount:
                            type: number
                            example: 1
                          debtCyclesCount:
                            type: number
                            example: 1
                          expireAt:
                            type: string
                            example: '2025-05-06T11:50:11.000000Z'
                          finalFee:
                            type: string
                            example: '60000000000'
                          finalFeeAfterDiscount:
                            type: string
                            example: '59999850000'
                          finalPayableFeeAmount:
                            type: string
                            example: '1999995000'
                          finalPayback:
                            type: string
                            example: '2199995000'
                          id:
                            type: number
                            example: 339
                          liquidityLimit:
                            type: string
                            example: '2200495000'
                          openDays:
                            type: number
                            example: 1
                          paidCyclesCount:
                            type: number
                            example: 0
                          profit:
                            type: string
                            example: '-1999995000'
                          profitPercentage:
                            type: string
                            example: '-995.02'
                          status:
                            type: string
                            example: liquid
                          totalDays:
                            type: number
                            example: 1
                          type:
                            type: string
                            example: prop-public
                          warningLimit:
                            type: string
                            example: '2200795000'
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      alertsData:
                        - type: public_warning_low_credit
                      balancesHistory:
                        perDay:
                          '2025-04-06':
                            BTC: 0.023551144650712032
                            TMN: 201000000
                            USDT: 1939.087567651003
                        total:
                          BTC: 0.023551144650712032
                          TMN: 201000000
                          USDT: 1939.087567651003
                      packageDetail:
                        assurance: '1000000'
                        currency: TMN
                        dailyFee: '2000000000'
                        dailyFeeAfterDiscount: '1999995000'
                        dailyFeeDiscount: '5000'
                        darkImageUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        destination_currency: null
                        expireDays: 30
                        id: 69
                        lightImageUrl: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                        loan: '200000000'
                        startBalance: '201000000'
                        title: طرح ۵
                      userPackageDetail:
                        connectToWallet: null
                        createdAt: '2025-04-06T11:50:11.000000Z'
                        cyclesCount: 1
                        debtCyclesCount: 1
                        expireAt: '2025-05-06T11:50:11.000000Z'
                        finalFee: '60000000000'
                        finalFeeAfterDiscount: '59999850000'
                        finalPayableFeeAmount: '1999995000'
                        finalPayback: '2199995000'
                        id: 339
                        liquidityLimit: '2200495000'
                        openDays: 1
                        paidCyclesCount: 0
                        profit: '-1999995000'
                        profitPercentage: '-995.02'
                        status: liquid
                        totalDays: 1
                        type: prop-public
                        warningLimit: '2200795000'
                    success: true
      security:
        - x-api-key: []
  /v1/prop/user/packages/{id}/check-availability:
    get:
      tags:
        - User Package
      summary: Check Prop Package Availability
      description: >-
        # GET /v1/prop/user/packages/{id}/check-availability


        This endpoint checks the availability of a prop package for a user based
        on different criteria.


        ## Headers


        This request does not require any custom header.


        ## Request Body Parameters


        This request does not require a request body.


        ## Query Parameters


        This request does not require any query parameters.


        ## Response


        - `result` (array\[object\])

            - `key` (string)

            - `isValid` (boolean)

        - `message` (string)

        - `success`


        ## Example Response


        ``` json

        {
            "result": [
                {
                    "key": "kyc",
                    "isValid": true
                }
            ],
            "message": "عملیات با موفقیت انجام شد",
            "success": true
        }

         ```
      operationId: checkPropPackageAvailability
      responses:
        '200':
          description: '200'
          headers:
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Wed, 11 Sep 2024 08:26:42 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            X-RateLimit-Limit:
              schema:
                type: string
                example: '20'
            X-RateLimit-Remaining:
              schema:
                type: string
                example: '19'
            X-Robots-Tag:
              schema:
                type: string
                example: noindex
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: array
                    items:
                      type: object
                      properties:
                        isValid:
                          type: boolean
                          example: true
                        key:
                          type: string
                          example: kyc
                    example:
                      - isValid: true
                        key: kyc
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      - isValid: true
                        key: kyc
                    success: true
      security:
        - x-api-key: []
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          example: ''
  /v1/prop/user/packages:
    post:
      tags:
        - User Package
      summary: Activate User Package
      description: |-
        # POST /v1/prop/user/packages

        This endpoint retrieves transfer details for sub-accounts.

        ## Headers

        This request does not require any custom header.

        ## Request Body Parameters

        - `prop_package_id` (string)


        ## Query Parameters

        This request does not require any query parameters.

        ## Response

        - `result` (object)

            - `userId` (string)

            - `title` (string)

            - `darkAvatarUrl` (string)

            - `lightAvatarUrl` (string)

            - `clientId` (string)

            - `isActive` (boolean)

            - `type` (string)

            - `createdAt` (string)

            - `isSuspend` (boolean)

        - `message` (string)

        - `success` (boolean)


        ## Example Response

        ``` json
        {
            "result": {
                "userId": "0",
                "title": "تست اولیه عادی",
                "darkAvatarUrl": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                "lightAvatarUrl": "https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg",
                "clientId": "CLIENTID",
                "isActive": true,
                "type": "prop",
                "createdAt": "2025-04-06T11:53:18Z",
                "isSuspend": false
            },
            "message": "عملیات با موفقیت انجام شد",
            "success": true
        }

         ```
      operationId: activateUserPackage
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                prop_package_id:
                  type: number
                  example: 69
            examples:
              Activate User Package:
                value:
                  prop_package_id: 69
      responses:
        '201':
          description: '201'
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Date:
              schema:
                type: string
                example: Sun, 06 Apr 2025 11:53:18 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            cache-control:
              schema:
                type: string
                example: no-cache, private
            vary:
              schema:
                type: string
                example: Origin
            x-auth-cache-status:
              schema:
                type: string
                example: miss
            x-authenticated:
              schema:
                type: string
                example: 'true'
            x-envoy-upstream-service-time:
              schema:
                type: string
                example: '592'
            x-ratelimit-limit:
              schema:
                type: string
                example: '20'
            x-ratelimit-remaining:
              schema:
                type: string
                example: '18'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: object
                    properties:
                      clientId:
                        type: string
                        example: CLIENTID
                      createdAt:
                        type: string
                        example: '2025-04-06T11:53:18Z'
                      darkAvatarUrl:
                        type: string
                        example: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                      isActive:
                        type: boolean
                        example: true
                      isSuspend:
                        type: boolean
                        example: false
                      lightAvatarUrl:
                        type: string
                        example: >-
                          https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                      title:
                        type: string
                        example: تست اولیه عادی
                      type:
                        type: string
                        example: prop
                      userId:
                        type: string
                        example: '0'
                  success:
                    type: boolean
                    example: true
              examples:
                '201':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      clientId: CLIENTID
                      createdAt: '2025-04-06T11:53:18Z'
                      darkAvatarUrl: >-
                        https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                      isActive: true
                      isSuspend: false
                      lightAvatarUrl: >-
                        https://s3.thr1.sotoon.ir/phinix-public-staging/packages/clHyoeip3vrFmJvxRbjMP42h8PYDSWcKeo0zkQZO.jpg
                      title: تست اولیه عادی
                      type: prop
                      userId: '0'
                    success: true
      security:
        - x-api-key: []
    delete:
      tags:
        - User Package
      summary: Cancel User Package
      description: |-
        # DELETE /v1/prop/user/packages

        This endpoint cancels a user package based on sub account.

        ## Headers

        - `Sub-Account-Client-id` (string)


        ## Request Body Parameters

        This request does not require a request body.

        ## Query Parameters

        This request does not require any query parameters.

        ## Response

        - `result` (object)

            - `client_id` (string)

            - `start_balance` (string)

            - `final_balance` (string)

            - `final_balance_without_transfers` (string)

            - `currency` (string)

            - `prop_package_id` (number)

            - `user_id` (string)

        - `message` (string)

        - `success` (boolean)


        ## Example Response

        ``` json
        {
            "result": {
                "client_id": "testClientId",
                "start_balance": "201000000",
                "final_balance": "201000000",
                "final_balance_without_transfers": "201000000",
                "currency": "TMN",
                "prop_package_id": 69,
                "user_id": "testUserId"
            },
            "message": "عملیات با موفقیت انجام شد",
            "success": true
        }

         ```
      operationId: cancelUserPackage
      parameters:
        - name: sub-account-client-id
          in: header
          schema:
            type: string
            example: '{{subAccountClientId}}'
      responses:
        '200':
          description: '200'
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Sun, 06 Apr 2025 11:54:31 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Accept-Encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            cache-control:
              schema:
                type: string
                example: no-cache, private
            vary:
              schema:
                type: string
                example: Origin
            x-auth-cache-status:
              schema:
                type: string
                example: miss
            x-authenticated:
              schema:
                type: string
                example: 'true'
            x-envoy-upstream-service-time:
              schema:
                type: string
                example: '942'
            x-ratelimit-limit:
              schema:
                type: string
                example: '20'
            x-ratelimit-remaining:
              schema:
                type: string
                example: '18'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: object
                    properties:
                      client_id:
                        type: string
                        example: testClientId
                      currency:
                        type: string
                        example: TMN
                      final_balance:
                        type: string
                        example: '201000000'
                      final_balance_without_transfers:
                        type: string
                        example: '201000000'
                      prop_package_id:
                        type: number
                        example: 69
                      start_balance:
                        type: string
                        example: '201000000'
                      user_id:
                        type: string
                        example: testUserId
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result:
                      client_id: testClientId
                      currency: TMN
                      final_balance: '201000000'
                      final_balance_without_transfers: '201000000'
                      prop_package_id: 69
                      start_balance: '201000000'
                      user_id: testUserId
                    success: true
      security:
        - x-api-key: []
  /v1/prop/user/packages/connect-to-wallet:
    post:
      tags:
        - User Package
      summary: Enable Connect To Wallet
      description: >-
        # POST /v1/prop/user/packages/connect-to-wallet


        This endpoint enables connect to wallet for a user package based on sub
        account.


        ## Headers


        - `Sub-Account-Client-id` (string)


        ## Request Body Parameters


        - `credit` (string)

        - `usageCount` (number)

        - `currency` (string)


        ## Query Parameters


        This request does not require any query parameters.


        ## Response


        - `result` (object)

            - `currency` (string)

            - `credit` (string)

            - `usageCount` (number)

            - `usedCount` (number)

            - `status` (string)

        - `message` (string)

        - `success` (boolean)


        ## Example Response


        ``` json

        {
            "result": {
                "currency": "USDT",
                "credit": "10000",
                "usageCount": 3,
                "usedCount": 0,
                "status": "active"
            },
            "message": "اتصال کیف پول با موفقیت انجام شد",
            "success": true
        }

         ```
      operationId: enableConnectToWallet
      parameters:
        - name: sub-account-client-id
          in: header
          schema:
            type: string
            example: '{{subAccountClientId}}'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                credit:
                  type: string
                  example: '10000'
                currency:
                  type: string
                  example: USDT
                usageCount:
                  type: number
                  example: 3
            examples:
              Enable Connect To Wallet:
                value:
                  credit: '10000'
                  currency: USDT
                  usageCount: 3
      responses:
        '200':
          description: '200'
          headers:
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Wed, 11 Sep 2024 08:29:58 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            X-RateLimit-Limit:
              schema:
                type: string
                example: '20'
            X-RateLimit-Remaining:
              schema:
                type: string
                example: '18'
            X-Robots-Tag:
              schema:
                type: string
                example: noindex
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: اتصال کیف پول با موفقیت انجام شد
                  result:
                    type: object
                    properties:
                      credit:
                        type: string
                        example: '10000'
                      currency:
                        type: string
                        example: USDT
                      status:
                        type: string
                        example: active
                      usageCount:
                        type: number
                        example: 3
                      usedCount:
                        type: number
                        example: 0
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: اتصال کیف پول با موفقیت انجام شد
                    result:
                      credit: '10000'
                      currency: USDT
                      status: active
                      usageCount: 3
                      usedCount: 0
                    success: true
      security:
        - x-api-key: []
    delete:
      tags:
        - User Package
      summary: Disable Connect To Wallet
      description: >-
        # DELETE /v1/prop/user/packages/connect-to-wallet


        This endpoint disables connect to wallet for a user package based on sub
        account.


        ## Headers


        - `Sub-Account-Client-id` (string)


        ## Request Body Parameters


        This request does not require a request body.


        ## Query Parameters


        This request does not require any query parameters.


        ## Response


        - `result` (array)

        - `message` (string)

        - `success` (boolean)


        ## Example Response


        ``` json

        {
            "result": [],
            "message": "قطع اتصال کیف پول با موفقیت انجام شد",
            "success": true
        }

         ```
      operationId: disableConnectToWallet
      parameters:
        - name: sub-account-client-id
          in: header
          schema:
            type: string
            example: '{{subAccountClientId}}'
      responses:
        '200':
          description: '200'
          headers:
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Wed, 11 Sep 2024 08:30:09 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            X-RateLimit-Limit:
              schema:
                type: string
                example: '20'
            X-RateLimit-Remaining:
              schema:
                type: string
                example: '17'
            X-Robots-Tag:
              schema:
                type: string
                example: noindex
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: قطع اتصال کیف پول با موفقیت انجام شد
                  result:
                    type: array
                    items: {}
                    example: []
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: قطع اتصال کیف پول با موفقیت انجام شد
                    result: []
                    success: true
      security:
        - x-api-key: []
  /v1/prop/user/packages/enable-renew:
    post:
      tags:
        - User Package
      summary: Enable User Package Renew
      description: |-
        # POST /v1/prop/user/packages/enable-renew

        This endpoint enables renewal for a user package based on sub account.

        ## Headers

        - `Sub-Account-Client-id` (string)


        ## Request Body Parameters

        This request does not require any body parameters.

        ## Query Parameters

        This request does not require any query parameters.

        ## Response

        - `result` (array)

        - `message` (string)

        - `success` (boolean)


        ## Example Response

        ``` json
        {
            "result": [],
            "message": "عملیات با موفقیت انجام شد",
            "success": true
        }

         ```
      operationId: enableUserPackageRenew
      parameters:
        - name: sub-account-client-id
          in: header
          schema:
            type: string
            example: '{{subAccountClientId}}'
      requestBody:
        content:
          application/json:
            examples:
              Enable User Package Renew:
                value: ''
      responses:
        '200':
          description: '200'
          headers:
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Wed, 11 Sep 2024 08:30:22 GMT
            Server:
              schema:
                type: string
                example: WALLEX
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            X-RateLimit-Limit:
              schema:
                type: string
                example: '20'
            X-RateLimit-Remaining:
              schema:
                type: string
                example: '19'
            X-Robots-Tag:
              schema:
                type: string
                example: noindex
            alt-svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: عملیات با موفقیت انجام شد
                  result:
                    type: array
                    items: {}
                    example: []
                  success:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    message: عملیات با موفقیت انجام شد
                    result: []
                    success: true
      security:
        - x-api-key: []
components:
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
tags:
  - name: Sub Account
  - name: Prop Package
  - name: User Package
