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

# Request sandbox mock USDT

> Requests mock USDT for an Ethereum Sepolia wallet. Available only in sandbox. Check the request until it is `confirmed` or `failed`.

Submit a faucet request for the wallet's `depositAddresses.ethereum_sepolia`
address, then poll the returned request ID until it is `confirmed` or `failed`.

Use a new UUID v4 `Idempotency-Key` for each intended transfer. Reusing the key
returns the original request without sending another transfer.


## OpenAPI

````yaml swagger/v3.yaml POST /v3/sandbox/faucets/usdt
openapi: 3.0.0
info:
  title: Ground API
  description: API for Portfolio Wallets, gtokens, MicroVaults, and webhooks.
  version: 3.0.0
servers:
  - url: https://sandbox.groundtech.co
  - url: https://production.groundtech.co
security:
  - bearerAuth: []
tags:
  - name: System
    description: System health and utility endpoints.
  - name: Sandbox Faucets
    description: Sandbox-only test token faucets.
  - name: Portfolio Wallets
    description: >-
      Portfolio wallets with strategy allocation, deposits, withdrawals, and
      yield positions.
  - name: gVaults
    description: >-
      Direct access to gtokens with deposit access controls and optional fee
      wrappers.
  - name: MicroVaults
    description: >-
      Customer-owned onchain vaults with externally held ERC-20 shares. Private
      preview.
  - name: Webhook Endpoints
    description: Webhook endpoint management for portfolio wallet notifications.
paths:
  /v3/sandbox/faucets/usdt:
    servers:
      - url: https://sandbox.groundtech.co
    post:
      tags:
        - Sandbox Faucets
      summary: Request mock USDT
      description: >-
        Requests mock USDT for an Ethereum Sepolia wallet. Available only in
        sandbox. Check the request until it is `confirmed` or `failed`.
      operationId: createSandboxUsdtFaucetRequest
      parameters:
        - name: Idempotency-Key
          in: header
          required: true
          schema:
            type: string
            format: uuid
          description: >-
            Client-generated UUID v4. Reusing it with the same request returns
            the existing transfer; reusing it with different input returns
            `409`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SandboxUsdtFaucetRequest'
      responses:
        '200':
          description: Existing faucet transfer returned for an idempotent replay.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxUsdtFaucetTransfer'
              example:
                id: 3c90c3cc-0d44-4b50-8888-8dd25736052a
                status: confirmed
                chain: ethereum_sepolia
                token: usdt
                address: '0x1111111111111111111111111111111111111111'
                amount: '25.000000'
                transactionHash: >-
                  0xc857b2996d0e4a2c868edbaf181c72006d1d49a985e9ce1b907873a0e70c6f24
                failureCode: null
                createdAt: '2026-11-12T16:00:00.000Z'
                submittedAt: '2026-11-12T16:00:05.000Z'
                confirmedAt: '2026-11-12T16:00:20.000Z'
        '202':
          description: Faucet transfer request accepted for asynchronous processing.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxUsdtFaucetTransfer'
              example:
                id: 3c90c3cc-0d44-4b50-8888-8dd25736052a
                status: requested
                chain: ethereum_sepolia
                token: usdt
                address: '0x1111111111111111111111111111111111111111'
                amount: '25.000000'
                transactionHash: null
                failureCode: null
                createdAt: '2026-11-12T16:00:00.000Z'
                submittedAt: null
                confirmedAt: null
        '400':
          description: Invalid address, amount, or idempotency key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxUsdtFaucetError'
              example:
                error: Amount cannot exceed 100 USDT
                code: amount_above_request_limit
        '401':
          $ref: '#/components/responses/Unauthorized'
        '409':
          description: The idempotency key was previously used with different input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxUsdtFaucetError'
              example:
                error: Idempotency-Key was already used with different input
                code: idempotency_key_reused
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '503':
          description: >-
            The faucet is unavailable or this request was sent to a non-sandbox
            environment.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxUsdtFaucetError'
              example:
                error: Faucet is temporarily unavailable
                code: faucet_temporarily_unavailable
components:
  schemas:
    SandboxUsdtFaucetRequest:
      type: object
      required:
        - address
        - amount
      additionalProperties: false
      properties:
        address:
          type: string
          description: Nonzero EVM address that will receive mock USDT on Ethereum Sepolia.
          example: '0x1111111111111111111111111111111111111111'
        amount:
          type: string
          pattern: ^(?:0|[1-9][0-9]*)(?:\.[0-9]{1,6})?$
          description: >-
            Mock USDT amount as a decimal string. Must be greater than zero and
            no more than 100, with up to six decimal places.
          example: '25.000000'
    SandboxUsdtFaucetTransfer:
      type: object
      required:
        - id
        - status
        - chain
        - token
        - address
        - amount
        - transactionHash
        - failureCode
        - createdAt
        - submittedAt
        - confirmedAt
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - requested
            - processing
            - submitted
            - confirmed
            - failed
        chain:
          type: string
          enum:
            - ethereum_sepolia
        token:
          type: string
          enum:
            - usdt
        address:
          type: string
          description: EVM address receiving the mock USDT.
        amount:
          type: string
          pattern: ^[0-9]+\.[0-9]{6}$
          description: Requested mock USDT amount with six decimal places.
        transactionHash:
          type: string
          nullable: true
          description: Ethereum Sepolia transaction hash once submitted.
        failureCode:
          type: string
          nullable: true
          description: >-
            Machine-readable failure code when status is `failed`.
            `faucet_signing_service_error_retry_exhausted` means the provider
            server error persisted after one retry and no transfer was
            submitted.
        createdAt:
          type: string
          format: date-time
          nullable: true
        submittedAt:
          type: string
          format: date-time
          nullable: true
        confirmedAt:
          type: string
          format: date-time
          nullable: true
      example:
        id: 3c90c3cc-0d44-4b50-8888-8dd25736052a
        status: requested
        chain: ethereum_sepolia
        token: usdt
        address: '0x1111111111111111111111111111111111111111'
        amount: '25.000000'
        transactionHash: null
        failureCode: null
        createdAt: '2026-11-12T16:00:00.000Z'
        submittedAt: null
        confirmedAt: null
    SandboxUsdtFaucetError:
      type: object
      required:
        - error
        - code
      properties:
        error:
          type: string
        code:
          type: string
          enum:
            - invalid_address
            - invalid_amount
            - amount_precision_exceeded
            - amount_above_request_limit
            - invalid_idempotency_key
            - idempotency_key_reused
            - faucet_request_not_found
            - faucet_temporarily_unavailable
      example:
        error: Amount cannot exceed 100 USDT
        code: amount_above_request_limit
    AuthErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Authentication or authorization error message.
        message:
          type: string
          nullable: true
          description: Additional auth middleware detail, when present.
        code:
          type: string
          nullable: true
          description: >-
            Some auth and scope failures include a stable code; middleware
            errors may omit it.
    ErrorResponse:
      type: object
      required:
        - error
        - code
      properties:
        error:
          type: string
          description: >-
            Human-readable error message. May change without notice; do not
            parse programmatically.
        code:
          type: string
          description: >-
            Machine-readable error code. Use it for programmatic handling rather
            than parsing the error message.
          enum:
            - validation_error
            - unknown_parameters
            - payload_too_large
            - unsupported_media_type
            - submission_id_conflict
            - feedback_unavailable
            - unsupported_chain
            - unsupported_token
            - invalid_destination_address
            - stellar_destination_account_not_active
            - stellar_destination_usdc_not_enabled
            - precision_overflow
            - invalid_cursor
            - unauthenticated
            - forbidden
            - wallet_not_found
            - wallet_limit_reached
            - withdrawal_not_found
            - deposit_not_found
            - yield_source_not_found
            - wallet_projection_unavailable
            - insufficient_funds
            - duplicate_request_id
            - request_id_conflict
            - invalid_position_weight
            - invalid_withdrawal_plan
            - payout_not_found
            - webhook_not_found
            - webhook_duplicate_url
            - withdrawal_not_cancellable
            - withdrawal_already_cancelled
            - withdrawal_payout_in_progress
            - withdrawal_policy_required
            - workflow_conflict
            - stale_rebalance_plan
            - stale_wallet_strategy
            - payout_already_terminal
            - payout_in_progress
            - payout_not_retryable
            - address_book_entry_not_found
            - address_book_duplicate_entry
            - address_book_whitelist_violation
            - rate_limited
            - rate_limit_exceeded
            - internal_error
            - wallet_creation_failed
            - service_temporarily_unavailable
            - operation_not_supported
            - wallet_withdrawal_active
            - stellar_customer_approval_unavailable
            - withdrawal_signing_required
            - wallet_performance_unavailable
            - tempo_beta_transfer_limit_exceeded
            - product_not_enabled
            - gvault_not_found
            - allowlist_update_pending
            - fee_wrapper_not_found
            - fee_wrapper_fee_update_pending
            - statement_too_large
            - no_reportable_wallets
            - report_timeout
            - read_only_api_key
  responses:
    Unauthorized:
      description: >-
        The request is missing a valid bearer token, or the token is invalid or
        expired.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AuthErrorResponse'
          example:
            error: Unauthenticated request
            message: Missing or invalid bearer token
    TooManyRequests:
      description: >-
        Rate limit exceeded. Limits are enforced by API key/customer identity
        and by endpoint class. Wait for the number of seconds in Retry-After,
        add a small random delay, then retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Rate limit exceeded
            code: rate_limited
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.