---
title: "Build an unsigned earn withdraw intent after policy/spend checks"
method: POST
path: "/adapters/earn/withdraw"
tags: ["Adapters"]
---

# Build an unsigned earn withdraw intent after policy/spend checks

`POST /adapters/earn/withdraw`

## 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
  - `vault` string, required
  - `shares` string, required
  - `estimatedUsd` number

## Response `200`

JSON response

- object
  - `ok` true, required
  - `data` object, required
    - `unsignedIntent` object
      - `signed` false, required
      - `kind` 'evm-tx' | 'evm-typed-data' | 'abstract-intent', required
      - `chainId` integer, required
      - `to` string, required
      - `value` string, required
      - `data` string
      - `owner` string, required
      - `category` string, required
      - `provider` string, required
      - `metadata` object

## Other responses

- `400` — JSON response
- `401` — JSON response
- `403` — JSON response
- `404` — JSON response
- `408` — JSON response
- `409` — JSON response

## Changes

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

[Change history](https://skmtc.dev/steward-fi/apis/steward-api/changes/adapters/earn/withdraw/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-service-production.skmtc.workers.dev/v1/apis/steward-fi/steward-api/revisions/b88b4b97a664/schema)
