---
updatedAt: 2026-09-07T10:30:07.000Z
agentTools:
  projectIndex: https://docs.itispay.com/llms.txt
---

# List deposits

Return stored deposit addresses for the authenticated project, with pagination and optional `uid` / `currency` filters.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Cryptocurrency Invoice API",
    "version": "1.1.0",
    "description": "REST API for generating and managing cryptocurrency invoices with support for multiple transactions per invoice",
    "license": {
      "name": "MIT",
      "url": "https://opensource.org/licenses/MIT"
    },
    "contact": {
      "name": "API Support",
      "email": "api@itispay.com",
      "url": "https://itispay.com/support"
    }
  },
  "servers": [
    {
      "url": "https://api.itispay.com",
      "description": "Production server"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "Api-key",
        "description": "To obtain an API key, you must register on https://itispay.com. After successful registration, you can access your API key through your account dashboard. Provide your API key in the Api-key header as: Api-key: YOUR_API_KEY"
      }
    },
    "schemas": {
      "PaginationInfo": {
        "type": "object",
        "properties": {
          "current_page": {
            "type": "integer"
          },
          "page_size": {
            "type": "integer"
          },
          "total_pages": {
            "type": "integer"
          },
          "total_records": {
            "type": "integer",
            "format": "int64"
          },
          "has_next": {
            "type": "boolean"
          },
          "has_previous": {
            "type": "boolean"
          }
        }
      },
      "ErrorDetail": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "Name of the field that has the error"
          },
          "message": {
            "type": "string",
            "description": "Specific error message for the field"
          }
        }
      },
      "ErrorContent": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "HTTP status code"
          },
          "message": {
            "type": "string",
            "description": "Main error message"
          },
          "details": {
            "type": "array",
            "description": "Array of field-specific error details (optional, empty for non-validation errors)",
            "items": {
              "$ref": "#/components/schemas/ErrorDetail"
            }
          }
        }
      },
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ErrorContent"
          }
        }
      },
      "Deposit": {
        "type": "object",
        "properties": {
          "uid": {
            "type": "string",
            "format": "uuid",
            "description": "Generated deposit identifier returned to the merchant.",
            "example": "550e8400-e29b-41d4-a716-446655440000"
          },
          "currency": {
            "type": "string",
            "example": "USDT_TRX"
          },
          "address": {
            "type": "string",
            "description": "Blockchain deposit address.",
            "example": "TXYZopYRdj2D9XRtbG411XWR3yWqed2dq"
          },
          "label": {
            "type": "string",
            "description": "Optional human-readable note.",
            "example": "hot wallet"
          },
          "callback_url": {
            "type": "string",
            "description": "Optional URL that receives deposit payment callbacks.",
            "example": "https://merchant.example/callbacks/deposits"
          },
          "network_name": {
            "type": "string",
            "example": "Tron"
          },
          "network_type": {
            "type": "string",
            "example": "TRC-20"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "active",
              "failed"
            ],
            "example": "active"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ListDepositsResponse": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Deposit"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/PaginationInfo"
          }
        }
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "tags": [
    {
      "name": "Crypto deposit/withdraw",
      "description": "Reusable cryptocurrency deposit addresses, custody wallet hashes, and crypto withdrawals."
    }
  ],
  "paths": {
    "/api/v1/deposits": {
      "get": {
        "summary": "List deposits",
        "description": "Return stored deposit addresses for the authenticated project, with pagination and optional `uid` / `currency` filters.",
        "operationId": "listDeposits",
        "tags": [
          "Crypto deposit/withdraw"
        ],
        "parameters": [
          {
            "in": "query",
            "name": "uid",
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Filter by generated deposit identifier"
          },
          {
            "in": "query",
            "name": "currency",
            "schema": {
              "type": "string"
            },
            "description": "Filter by cryptocurrency code"
          },
          {
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer",
              "default": 1,
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "schema": {
              "type": "integer",
              "default": 20,
              "minimum": 1,
              "maximum": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Deposit list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListDepositsResponse"
                },
                "example": {
                  "items": [
                    {
                      "uid": "550e8400-e29b-41d4-a716-446655440000",
                      "currency": "TON",
                      "address": "UQ...",
                      "label": "hot wallet",
                      "status": "active",
                      "created_at": "2026-09-06T08:00:00Z",
                      "updated_at": "2026-09-06T08:00:01Z"
                    }
                  ],
                  "pagination": {
                    "current_page": 1,
                    "page_size": 20,
                    "total_pages": 1,
                    "total_records": 1,
                    "has_next": false,
                    "has_previous": false
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized - missing API key",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  }
}
```