Treasury

Get deposits

Retrieve a paginated list of all deposits for the workspace.

get/v1/treasury/deposits

Request

Query parameters

idsstring[]

Filter by deposit IDs (comma-separated UUIDs)

to_account_idstring uuid

Filter by destination account ID (desired.to.account_id).

pageinteger

Page number for pagination (1-based)

limitinteger

Number of items per page (default: 20)

Response

Deposits retrieved successfully

Example response

{
  "data": [
    {
      "id": "1c8e4a6f-9b2d-4f53-a0e7-5d3c1b9f2a8e",
      "workspace_id": "b53f6690-3242-4942-9907-885779632832",
      "direction": "inbound",
      "steps": [],
      "created_at": "2024-03-01T10:00:00.000Z",
      "updated_at": "2024-03-01T10:00:00.000Z",
      "expires_at": "2024-03-01T14:00:00.000Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.