---
title: "Create Agent Payment"
method: POST
path: "/v1/agent/payments"
tags: ["Agent payments"]
---

# Create Agent Payment

`POST /v1/agent/payments`

## Request

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

## Headers

- `Idempotency-Key` string, nullable
- `authorization` string, nullable

## Request body

- AgentTopupRequest
  - `pack_id` string, required
  - `idempotency_key` string, required

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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