Treasury

Create rebalance

Create an internal rebalance between managed accounts.

Validation rules:

  • desired.from.network / desired.to.network are required for wallet accounts and disallowed for ledger accounts.
post/v1/treasury/rebalances

Request

Request body

organization_reference_idstring

Optional client-supplied identifier.

Example request

{
  "desired": {
    "from": {
      "amount": "1000.00",
      "currency": "USDC"
    },
    "to": {
      "currency": "USDC"
    }
  }
}

Response

Rebalance created successfully

Example response

{
  "data": {
    "id": "e4a1b7c3-9f2d-4e56-a8b0-3c5d1e7f9a2b",
    "workspace_id": "b53f6690-3242-4942-9907-885779632832",
    "direction": "rebalance",
    "steps": [],
    "created_at": "2024-03-01T10:00:00.000Z",
    "updated_at": "2024-03-01T10:00:00.000Z",
    "expires_at": "2024-03-04T10:00:00.000Z"
  }
}

Changes

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