---
title: "Withdraw Funds"
method: POST
path: "/api/agent-credit/pool/withdraw"
tags: ["Credit Marketplace"]
---

# Withdraw Funds

`POST /api/agent-credit/pool/withdraw`

## Request

- Base URL: `https://api.kojiru.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kojiru.com/api/agent-credit/pool/withdraw`
- Auth: none declared

Lender withdraws earned service fees.

## Request body

- WithdrawFunds
  - `lender_address` string, required
  - `amount` number, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kojiru/apis/kojiru-api.md) · [All operations](https://skmtc.dev/kojiru/apis/kojiru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kojiru/apis/kojiru-api/revisions/7974409f57cd?raw)
