---
updatedAt: 2026-06-02T20:06:00.000Z
agentTools:
  projectIndex: https://docs.zerohash.com/llms.txt
---

# List deposits

Retrieves a paginated list of deposits made by you and your customers. Results are limited to the last 2 months.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "zerohash API",
    "description": "\n### Authentication\n\nzerohash Uses HMAC SHA-256 verification to ensure the authenticity of API requests, follow instructions by link [https://docs.zerohash.com/reference/api-authentication](https://docs.zerohash.com/reference/api-authentication)\n\n<a href=\"/zh-swagger.json\">Download zerohash OpenAPI Schema as JSON</a>\n",
    "version": "1.7.0"
  },
  "servers": [
    {
      "url": "https://api.cert.zerohash.com",
      "description": "Certification API server"
    }
  ],
  "x-readme": {
    "proxy-enabled": false
  },
  "tags": [
    {
      "name": "Deposits",
      "description": "Create deposit addressed and monitor deposits to accounts"
    }
  ],
  "paths": {
    "/deposits": {
      "get": {
        "tags": [
          "Deposits"
        ],
        "summary": "List deposits",
        "description": "Retrieves a paginated list of deposits made by you and your customers. Results are limited to the last 2 months.",
        "parameters": [
          {
            "$ref": "#/components/parameters/Signature"
          },
          {
            "$ref": "#/components/parameters/Timestamp"
          },
          {
            "$ref": "#/components/parameters/PageQuery"
          },
          {
            "$ref": "#/components/parameters/AssetQuery"
          },
          {
            "name": "include_customer_deposits",
            "in": "query",
            "description": "Include deposits made by customers of your platform. Defaults to `true`. Ignored when `participant_code` is provided — a participant-scoped request always excludes customer deposits.",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ],
              "default": "true",
              "example": "true"
            }
          },
          {
            "$ref": "#/components/parameters/ParticipantCodeQuery"
          },
          {
            "$ref": "#/components/parameters/AccountLabelQuery"
          },
          {
            "name": "settle_timestamp[gt]",
            "in": "query",
            "description": "Filter for deposits whose settlement timestamp (Unix milliseconds) is strictly greater than the value.",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "example": "1678901234567"
            }
          },
          {
            "name": "settle_timestamp[gte]",
            "in": "query",
            "description": "Filter for deposits whose settlement timestamp (Unix milliseconds) is greater than or equal to the value.",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "example": "1678901234567"
            }
          },
          {
            "name": "settle_timestamp[lt]",
            "in": "query",
            "description": "Filter for deposits whose settlement timestamp (Unix milliseconds) is strictly less than the value.",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "example": "1678901234567"
            }
          },
          {
            "name": "settle_timestamp[lte]",
            "in": "query",
            "description": "Filter for deposits whose settlement timestamp (Unix milliseconds) is less than or equal to the value.",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "example": "1678901234567"
            }
          },
          {
            "name": "settle_timestamp[e]",
            "in": "query",
            "description": "Filter for deposits whose settlement timestamp (Unix milliseconds) equals the value exactly.",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "example": "1678901234567"
            }
          },
          {
            "name": "parent_link_id_source",
            "in": "query",
            "description": "Filter deposits by the source system that originated the parent link (e.g. `rest_api`, `sdk`).",
            "required": false,
            "schema": {
              "type": "string",
              "example": "rest_api"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paginated list of deposits, optionally filtered by `asset`, `participant_code`, `account_label`, `settle_timestamp`, or `parent_link_id_source`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDepositsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Code400"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Code403"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Code404"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Code500"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Code503"
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "apiKey": [],
      "apiPassphrase": []
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "description": "Your API public key. See the [Authentication guide](https://docs.zerohash.com/reference/api-authentication) for how to obtain keys.",
        "in": "header",
        "name": "X-SCX-API-KEY"
      },
      "apiPassphrase": {
        "type": "apiKey",
        "description": "The passphrase associated with your API key, set when the key was created.",
        "in": "header",
        "name": "X-SCX-PASSPHRASE"
      }
    },
    "parameters": {
      "Signature": {
        "name": "X-SCX-SIGNED",
        "in": "header",
        "description": "HMAC-SHA256 signature of the request, base64-encoded. See the [Authentication guide](https://docs.zerohash.com/reference/api-authentication) for the exact signing formula.",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "Timestamp": {
        "name": "X-SCX-TIMESTAMP",
        "in": "header",
        "description": "Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.",
        "required": true,
        "schema": {
          "type": "string",
          "example": "1678901234"
        }
      },
      "PageQuery": {
        "name": "page",
        "in": "query",
        "description": "Page number for pagination (starts at 1).",
        "required": false,
        "schema": {
          "type": "number",
          "minimum": 1,
          "example": 1
        }
      },
      "ParticipantCodeQuery": {
        "name": "participant_code",
        "in": "query",
        "description": "Filter by a specific participant code. Always 6 uppercase alphanumeric characters.",
        "required": false,
        "schema": {
          "type": "string",
          "pattern": "^[A-Z0-9]{6}$",
          "example": "ABCDEF"
        }
      },
      "AccountLabelQuery": {
        "name": "account_label",
        "in": "query",
        "description": "Filter by account label (e.g., `general`, `sub_account_test`). Account labels are used to categorize accounts under a participant. Each participant `account_label` maintains a separate balance and transaction history.",
        "required": false,
        "schema": {
          "type": "string",
          "example": "general"
        }
      },
      "AssetQuery": {
        "name": "asset",
        "in": "query",
        "description": "Filter by asset code (e.g., BTC, USD, ETH)",
        "required": false,
        "schema": {
          "$ref": "#/components/schemas/Asset"
        }
      }
    },
    "schemas": {
      "Code400": {
        "type": "object",
        "description": "Request was rejected by validation or a downstream service. `errors` is an array of human-readable messages; each entry describes a single validation failure or business-rule violation.",
        "required": [
          "errors"
        ],
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "body/amount must be >= 0",
              "body/asset is required"
            ]
          }
        }
      },
      "Code403": {
        "type": "object",
        "description": "Authentication or authorization failed. `error` is always `true`; `message` explains which check failed (missing API key, bad signature, insufficient permission, etc.).",
        "required": [
          "error",
          "message"
        ],
        "properties": {
          "error": {
            "type": "boolean",
            "example": true
          },
          "message": {
            "type": "string",
            "example": "This api key does not have write permission to this endpoint"
          }
        }
      },
      "Code404": {
        "type": "object",
        "description": "The requested resource does not exist or is not visible to the caller.",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "string",
            "example": "Not Found"
          }
        }
      },
      "Code500": {
        "type": "object",
        "description": "An unexpected error occurred on the server. The request can be retried after a short delay, but the same inputs may reproduce the error.",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "string",
            "example": "Internal Server Error"
          }
        }
      },
      "Code503": {
        "type": "object",
        "description": "A downstream dependency was unavailable, timed out, or returned a retryable error. Safe to retry; the response carries an `x-zh-allowretry: true` header. Every error response also carries an `x-zh-errorcode` header with a machine-readable error code (`unknown` when the failing service does not supply one).",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "string",
            "example": "Service Unavailable"
          }
        }
      },
      "DepositResponseEntity": {
        "type": "object",
        "properties": {
          "settle_timestamp": {
            "type": "number",
            "format": "int64",
            "description": "Unix timestamp in milliseconds indicating when the deposit was credited to the participant. This also matches the `movement_timestamp` on the corresponding movement.",
            "example": 1590663417000
          },
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier (UUID v4) for the account the deposit was credited to.",
            "example": "80289ce5-072b-4739-929d-dcc5ccc542f3"
          },
          "movement_id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier (UUID v4) for the movement created by this deposit.",
            "example": "21bdbb11-712f-4cb7-a178-4f277c80cde0"
          },
          "participant_code": {
            "type": "string",
            "description": "The participant that was credited with the deposit.",
            "example": "ABCDEF"
          },
          "account_group": {
            "type": "string",
            "description": "The account group associated with the account that received the deposit (e.g. `00SCXM` for the zerohash house account group).",
            "example": "00SCXM"
          },
          "account_label": {
            "type": "string",
            "description": "The account label under the participant that received the deposit.",
            "example": "general"
          },
          "asset": {
            "type": "string",
            "description": "The asset code of the deposit (e.g. `BTC`, `USD`).",
            "example": "BTC"
          },
          "amount": {
            "type": "string",
            "description": "The amount that was deposited into the account.",
            "example": "4.0000"
          },
          "reference_id": {
            "type": "string",
            "description": "An external identifier associated with the deposit. Context-specific depending on the asset and source — for fiat this is typically the wire/ACH reference, for crypto it is the on-chain transaction ID.",
            "example": "408482348dcb0e0331a9148d50f8c76db08138f63fb1586fcfc45200a91ccc5f"
          },
          "source": {
            "type": "string",
            "nullable": true,
            "description": "The bank from which the fiat deposit was made or the blockchain address from which the crypto deposit came. Returns `null` when the upstream service does not report a source (e.g. some fiat deposits).",
            "example": "0x73dFE6E1696FB1cf4648B954aB608a593a382B8G"
          },
          "received_address": {
            "type": "string",
            "nullable": true,
            "description": "The deposit address that received the funds. Returns `null` for fiat deposits and for crypto deposits where no receive address is recorded.",
            "example": "0xB38CeBE03b2b6705744795F36921DE27c70A7C62"
          },
          "run_id": {
            "type": "string",
            "description": "Identifier for the settlement run that booked the deposit.",
            "example": "12613"
          },
          "state_reason": {
            "type": "string",
            "nullable": true,
            "description": "Machine-readable reason the deposit is in its current state. Populated for blockchain deposits held for Travel Rule verification: `required_travel_rule_info` — awaiting TR resolution; `travel_rule_info_received` — resolved successfully; `travel_rule_info_timeout` — 48h timer expired. Absent for fiat deposits and blockchain deposits not subject to Travel Rule.",
            "example": "required_travel_rule_info"
          },
          "travel_rule_status": {
            "type": "string",
            "enum": [
              "allowed",
              "action_required",
              "processing",
              "blocked",
              "unknown"
            ],
            "description": "Travel Rule status of the deposit. Only present when a Travel Rule status is available for the deposit. `allowed` — Travel Rule verified, deposit may proceed; `action_required` — customer must submit Travel Rule information; `processing` — information submitted or under review; `blocked` — rejected or moved to recovery (including timeout); `unknown` — status could not be determined. Absent for fiat deposits."
          }
        }
      },
      "GetDepositsResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DepositResponseEntity"
            }
          },
          "page": {
            "type": "number",
            "example": 1
          },
          "page_size": {
            "type": "number",
            "example": 15
          },
          "total_pages": {
            "type": "number",
            "example": 1
          },
          "count": {
            "type": "number",
            "example": 1
          }
        }
      },
      "Asset": {
        "type": "string",
        "description": "The list of assets available in the certification environment",
        "example": "USD",
        "enum": [
          "AAVE.ETH",
          "ADA",
          "ALGO",
          "AVAX",
          "BAT.ETH",
          "BCH",
          "BTC",
          "BUSD.ETH",
          "COMP.ETH",
          "DAI.ETH",
          "DOGE",
          "DOT",
          "EGLD",
          "EOS",
          "ETC",
          "ETH",
          "ETH.ARBITRUM",
          "GRT.ETH",
          "GYEN.ETH",
          "HBAR",
          "LINK.ETH",
          "LTC",
          "LUNA",
          "MATIC.ETH",
          "MATIC.POLYGON",
          "MKR.ETH",
          "MOB",
          "SAND.ETH",
          "SOL",
          "UNI.ETH",
          "USDC.ETH",
          "USDC.ALGO",
          "USDC.POLYGON",
          "USDC.SOL",
          "USDC.HBAR",
          "USDC.XLM",
          "USDC.AVAX",
          "USDT.ETH",
          "UST",
          "WBTC.ETH",
          "XEM",
          "XLM",
          "XRP",
          "XTZ",
          "ZUSD.ETH"
        ]
      }
    }
  }
}
```