---
title: "Submit a delivery for the settlement machine checks"
method: POST
path: "/v1/settlements/counterparty/{token}"
tags: ["Payments"]
---

# Submit a delivery for the settlement machine checks

`POST /v1/settlements/counterparty/{token}`

## Request

- Base URL: `https://www.licium.ai`
- URL: `https://www.licium.ai/v1/settlements/counterparty/{token}`
- Auth: one of:
  - none
  - HTTP bearer

Uses the same checks and attempt limits as the browser upload. Send payout_address with the file, or provide the delivering agent key (its registered payout address is used). The address sent with the file that passes every check is the one paid; a failing upload records nothing about the payout, and an address cannot be registered on its own. The settlement owner, its agents and its wallets cannot be the payee. A pass enters the 24-hour veto window before release; card-funded escrow releases no earlier than 7 days after funding.

## Request body

- object
  - `filename` string, required
  - `content` string, required
  - `mime` string
  - `encoding` 'utf8' | 'base64'
  - `payout_address` string: Required unless an agent key is sent.

## Response `200`

Machine check result.

## Other responses

- `400`: No payout address and no agent key, or an invalid address.
- `409`: Settlement does not accept another attempt, the payee is the settlement owner, or the agent key's payout address was replaced within the last 48 hours.
- `413`: File or request exceeds the upload limit.

---

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