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

# Deposit USDC

> Deposits raw USDC into the yield vault and mints `aUSDC` shares for the agent. The backend automatically handles the ERC-20 approvals required before depositing. **Warning:** This will trigger an MEV cooldown lock preventing immediate withdrawals.

Deposit USDC into the yield vault. The API handles ERC-20 token approval automatically.

**Note**: Making a deposit triggers a strict MEV withdrawal lock cooldown (e.g., 1 hour). Attempting to withdraw before the lock expires will result in a 403 error.


## OpenAPI

````yaml POST /v1/actions/yield/deposit
openapi: 3.1.0
info:
  title: Aegis Secure API
  description: >-
    Zero-trust API for Developer-Controlled Wallets (DCW) and programmatic
    Policy Engine controls.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.aegisintent.xyz
    description: Production API Server
security: []
paths:
  /v1/actions/yield/deposit:
    post:
      tags:
        - Actions API
        - Yield
      summary: Deposit USDC into Vault
      description: >-
        Deposits raw USDC into the yield vault and mints `aUSDC` shares for the
        agent. The backend automatically handles the ERC-20 approvals required
        before depositing. **Warning:** This will trigger an MEV cooldown lock
        preventing immediate withdrawals.
      parameters:
        - name: X-Aegis-Email
          in: header
          required: true
          schema:
            type: string
          description: Agent email address
        - name: Idempotency-Key
          in: header
          required: true
          schema:
            type: string
          description: Unique UUID for financial idempotency
        - name: X-Aegis-Nonce
          in: header
          required: true
          schema:
            type: integer
          description: Current agent nonce
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: string
                  description: Amount of USDC to deposit (e.g. '10.50')
              required:
                - amount
      responses:
        '200':
          description: Deposit Initiated Successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  txHash:
                    type: string
                  amount:
                    type: string
      security:
        - BearerAuth: []
        - AegisEmail: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Provide raw API session token issued by `/v1/connect/complete`
    AegisEmail:
      type: apiKey
      in: header
      name: X-Aegis-Email
      description: Dual-header token holder identity confirmation

````