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

# List customer asset balances

> Reads one customer's onchain asset balances through the Portal API.

See the [Gateway API entry](/api-reference/gateway/customers/list-customer-asset-balances) for the full description.



## OpenAPI

````yaml /openapi/kintra-app.json get /tenant/{tenantId}/customers/{userId}/balances
openapi: 3.0.0
info:
  description: >-
    Tenant portal API for the Kintra loyalty platform. Requests are
    authenticated with an Auth0 bearer token and address a tenant by id in the
    path.
  title: Kintra Portal API
  version: 1.0.0
servers:
  - description: Production environment
    url: https://api.kintra.io/api/v1
security: []
paths:
  /tenant/{tenantId}/customers/{userId}/balances:
    get:
      tags:
        - Customers
      summary: List customer asset balances
      description: >-
        Reads one customer's onchain asset balances through the Portal API.


        See the [Gateway API
        entry](/api-reference/gateway/customers/list-customer-asset-balances)
        for the full description.
      operationId: GetBalances
      parameters:
        - in: path
          name: tenantId
          required: true
          schema:
            type: string
        - in: path
          name: userId
          required: true
          schema:
            type: string
        - in: query
          name: onchain_asset_id
          required: false
          schema:
            type: string
        - in: query
          name: onchain_asset_name
          required: false
          schema:
            type: string
        - in: query
          name: onchain_asset_symbol
          required: false
          schema:
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            format: double
            type: number
        - in: query
          name: limit
          required: false
          schema:
            default: 10
            format: double
            type: number
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ApiResponse_IPaginationResponse_IBalanceResponse__
          description: ''
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Tenant not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Internal server error
      security:
        - auth0_jwt: []
components:
  schemas:
    ApiResponse_IPaginationResponse_IBalanceResponse__:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/IPaginationResponse_IBalanceResponse_'
        errors:
          items:
            properties:
              message:
                type: string
              path:
                type: string
            required:
              - path
              - message
            type: object
          type: array
        message:
          type: string
        success:
          type: boolean
      required:
        - success
      type: object
    ApiResponse_null_:
      additionalProperties: false
      properties:
        data:
          enum:
            - null
          nullable: true
          type: number
        errors:
          items:
            properties:
              message:
                type: string
              path:
                type: string
            required:
              - path
              - message
            type: object
          type: array
        message:
          type: string
        success:
          type: boolean
      required:
        - success
      type: object
    IPaginationResponse_IBalanceResponse_:
      additionalProperties: false
      properties:
        has_next_page:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/IBalanceResponse'
          type: array
        limit:
          format: double
          type: number
        page:
          format: double
          type: number
        total_count:
          format: double
          type: number
        total_pages:
          format: double
          type: number
      required:
        - total_count
        - page
        - limit
        - has_next_page
        - total_pages
        - items
      type: object
    IBalanceResponse:
      additionalProperties: false
      properties:
        asset_address:
          type: string
        balance:
          type: string
        chain_id:
          format: double
          type: number
        created_at:
          format: date-time
          nullable: true
          type: string
        id:
          type: string
        internal_wallet:
          $ref: '#/components/schemas/IInternalWalletResponse'
        last_updated_block:
          format: double
          nullable: true
          type: number
        onchain_asset:
          $ref: '#/components/schemas/IOnchainAssetResponse'
          description: Whole asset units from `blockchain.onchain_asset_balances`.
        token_id:
          nullable: true
          type: string
        updated_at:
          format: date-time
          nullable: true
          type: string
        user_address:
          type: string
      required:
        - id
        - user_address
        - asset_address
        - chain_id
        - balance
      type: object
    IInternalWalletResponse:
      additionalProperties: false
      properties:
        address:
          type: string
        created_at:
          format: date-time
          type: string
        deleted_at:
          format: date-time
          nullable: true
          type: string
        id:
          type: string
        label:
          nullable: true
          type: string
        updated_at:
          format: date-time
          type: string
        user_id:
          type: string
        wallet_kind:
          type: string
      required:
        - id
        - address
        - wallet_kind
        - user_id
      type: object
    IOnchainAssetResponse:
      additionalProperties: false
      properties:
        asset_address:
          type: string
        chain_id:
          format: double
          type: number
        created_at:
          format: date-time
          nullable: true
          type: string
        decimals:
          format: double
          nullable: true
          type: number
        deploy_tx_hash:
          nullable: true
          type: string
        deployed_at:
          format: date-time
          nullable: true
          type: string
        id:
          type: string
        key:
          nullable: true
          type: string
        metadata:
          nullable: true
        name:
          nullable: true
          type: string
        status:
          type: string
        symbol:
          nullable: true
          type: string
        total_owners:
          format: double
          nullable: true
          type: number
        total_txns:
          format: double
          nullable: true
          type: number
        type:
          type: string
        updated_at:
          format: date-time
          nullable: true
          type: string
      type: object
  securitySchemes:
    auth0_jwt:
      bearerFormat: JWT
      description: Auth0 access token
      scheme: bearer
      type: http

````