---
title: "Operator deposit recovery funds to a venue account"
method: POST
path: "/trade/{venue}/deposit"
tags: ["Trading"]
---

# Operator deposit recovery funds to a venue account

`POST /trade/{venue}/deposit`

## Request

- Base URL: `http://localhost:3200`
- URL: `http://localhost:3200/trade/{venue}/deposit`
- Auth: one of:
  - API key in header `X-Steward-Platform-Key`
  - API key in header `X-Steward-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/steward-fi/apis/steward-api/docs/trade/:venue/deposit/post.ts> (a function with typed inputs; its response is checked against the schema)

Operator recovery endpoint. Auth deliberately accepts platform operators or tenant admins and must not require an agent JWT, so humans can recover funds when the agent token is expired. Raw signing keys never leave the vault; all recovery actions are audited and idempotency-protected. Hyperliquid deposits sign a bounded Arbitrum native-USDC transfer from the agent's venue wallet to the Hyperliquid bridge; amount must be 5-2000 USDC with at most six decimals.

## Headers

- `X-Steward-Request-Timestamp` string
- `X-Steward-Request-Expires-At` string
- `X-Steward-Signature` string
- `X-Steward-Signing-Key-Id` string
- `Idempotency-Key` string

## Request body

- object
  - `agentId` string, required
  - `idempotencyKey` string
  - `amount` union, required
    - string
    - number

## Response `200`

JSON response

- object
  - `ok` true, required
  - `data` object, required
    - `venue` 'hyperliquid'
    - `walletAddress` string
    - `bridge` string
    - `amountUsdc` number
    - `amountBaseUnits` string
    - `txHash` string

## Other responses

- `400`: JSON response
- `401`: JSON response
- `403`: JSON response
- `404`: JSON response
- `408`: JSON response
- `409`: JSON response
- `502`: JSON response

## Changes

- **2026-08-17** `261a7c8070b2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/steward-fi/apis/steward-api/changes/trade/:venue/deposit/post.md)

---

[API](https://skmtc.dev/steward-fi/apis/steward-api.md) - [All operations](https://skmtc.dev/steward-fi/apis/steward-api/llms.txt) - [OpenAPI document](https://skmtc.dev/steward-fi/apis/steward-api/revisions/b88b4b97a664?raw)
