> ## Documentation Index
> Fetch the complete documentation index at: https://gnosispay-feat-v2-auth-module.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get User Deposits

> Returns the authenticated user's deposit history, including amount, currency, status, and creation date.



## OpenAPI

````yaml https://gp-auth-module.prod.gnosispay.com/openapi.json get /user/deposits
openapi: 3.0.0
info:
  version: 1.0.0
  title: SIWE Authentication API
  description: Sign In With Ethereum authentication service
servers:
  - url: https://gp-auth-module.prod.gnosispay.com
    description: API server
security: []
paths:
  /user/deposits:
    get:
      tags:
        - User
      summary: Get User Deposits
      description: >-
        Returns the authenticated user's deposit history, including amount,
        currency, status, and creation date.
      responses:
        '200':
          description: Deposits retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DepositsResponse'
        '401':
          description: Unauthorized - Invalid JWT
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: User or account not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Bad Gateway - failed to fetch deposits from Core API
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
components:
  schemas:
    DepositsResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Deposit'
      required:
        - data
    Error:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
      required:
        - success
        - error
    Deposit:
      type: object
      properties:
        txHash:
          type: string
        amount:
          type: string
        currency:
          type: string
        status:
          type: string
          enum:
            - pending
            - approved
            - rejected
        createdAt:
          type: string
          format: date-time
        kytBreakdown:
          $ref: '#/components/schemas/KytBreakdown'
      required:
        - txHash
        - amount
        - currency
        - status
        - createdAt
        - kytBreakdown
    KytBreakdown:
      type: object
      nullable: true
      properties:
        result:
          type: string
        riskScore:
          type: number
          nullable: true
        riskTier:
          type: string
          nullable: true
      required:
        - result
        - riskScore
        - riskTier

````