---
title: "Record the outcome of the current delivery attempt"
method: POST
path: "/internal/penny-ops/deliveries/{deliveryId}/settle"
tags: ["Internal"]
---

# Record the outcome of the current delivery attempt

`POST /internal/penny-ops/deliveries/{deliveryId}/settle`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/internal/penny-ops/deliveries/{deliveryId}/settle`
- Auth: HTTP bearer

## Path parameters

- `deliveryId` string, uuid, required

## Request body

- object
  - `attemptId` string, uuid, required
  - `outcome` 'sent' | 'retry' | 'refused' | 'uncertain', required
  - `retryAfterSeconds` integer: Delay for a confirmed failed attempt. Accepted only with outcome retry.

## Response `204`

Outcome recorded

## Other responses

- `404`: Route unavailable or delivery attempt unknown
- `422`: Invalid settlement

## Changes

- **2026-11-26** `0e328b7cd20a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/internal/penny-ops/deliveries/:deliveryId/settle/post.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
