---
title: "Assign Revenue"
method: POST
path: "/api/agent-credit/repayment/escrow/{escrow_id}/assign-revenue"
tags: ["Repayment & Liquidation"]
---

# Assign Revenue

`POST /api/agent-credit/repayment/escrow/{escrow_id}/assign-revenue`

## 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/repayment/escrow/{escrow_id}/assign-revenue`
- Auth: none declared

Client/counterparty pays directly into escrow. Auto-deducts debt, releases surplus.

## Path parameters

- `escrow_id` string, required

## Request body

- RevenueAssignment
  - `payer_address` string, required
  - `amount` number, required
  - `payment_reference` string, nullable

## 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)
