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

# Get a customer Solana wallet balance

> Returns provider-reported SOL, USDC, and USDT balances for a customer owned by the authenticated merchant. Unsupported Solana token deposits appear in transaction history, not this balance response.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/wallets/crypto/customer/{customerId}/balance
openapi: 3.1.0
info:
  title: FossaPay API
  description: >-
    FossaPay API for checkout wallets, master-wallet payouts, customer
    management, NGN wallets, crypto wallets, transfers, fees, banks, and
    webhooks.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api-production.fossapay.com
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /api/v1/wallets/crypto/customer/{customerId}/balance:
    get:
      tags:
        - Crypto Wallets
      summary: Get a customer Solana wallet balance
      description: >-
        Returns provider-reported SOL, USDC, and USDT balances for a customer
        owned by the authenticated merchant. Unsupported Solana token deposits
        appear in transaction history, not this balance response.
      operationId: CryptoWalletsController_getCustomerBalance
      parameters:
        - name: customerId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Customer Solana wallet balance retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoCustomerBalanceResponse'
        '400':
          description: Customer or wallet not found for this merchant
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    CryptoCustomerBalanceResponse:
      type: object
      required:
        - success
        - message
        - data
      properties:
        success:
          type: boolean
          const: true
        message:
          type: string
        data:
          type: array
          items:
            $ref: '#/components/schemas/CryptoWalletAddress'
      additionalProperties: true
    ApiError:
      type: object
      properties:
        status:
          oneOf:
            - type: string
            - type: boolean
        statusCode:
          type: integer
        message:
          type: string
        error:
          type: string
        code:
          type: string
        errors:
          type: object
          additionalProperties: true
      additionalProperties: true
    CryptoWalletAddress:
      type: object
      required:
        - id
        - address
        - network
        - tokens
      properties:
        id:
          type: string
          format: uuid
          description: >-
            FossaPay crypto wallet id used by wallet-by-id and
            wallet-transactions endpoints.
        address:
          type: string
        network:
          type: string
          enum:
            - solana
        tokens:
          type: object
          description: >-
            Provider-reported supported balances. SOL is the native network
            token; unsupported token deposits are recorded as transactions but
            omitted here.
          properties:
            sol:
              $ref: '#/components/schemas/CryptoWalletTokenBalance'
            usdc:
              $ref: '#/components/schemas/CryptoWalletTokenBalance'
            usdt:
              $ref: '#/components/schemas/CryptoWalletTokenBalance'
          additionalProperties:
            $ref: '#/components/schemas/CryptoWalletTokenBalance'
      additionalProperties: true
    CryptoWalletTokenBalance:
      type: object
      required:
        - amount
        - rawAmount
      properties:
        amount:
          type: string
        rawAmount:
          type: string
      additionalProperties: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````