---
title: "Agent Pay Link"
method: POST
path: "/api/billing/agent-pay"
tags: ["usage-billing"]
---

# Agent Pay Link

`POST /api/billing/agent-pay`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/billing/agent-pay`
- Auth: HTTP bearer

A short-lived link an agent pays at with an MPP client, for example
``link-cli mpp pay <payUrl> -X POST``. Nothing is charged here.

## Request body

- AgentPayBody
  - `plan` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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