2 endpoints formatted cleanly
# Payments Gateway API (v1.4.0)
Offline reference specification for payment intents and refunds.
## Base URLs
- `https://api.example.com/v1` — Production Edge
## Endpoints
### `GET` `/payments/{id}`
**Retrieve a payment intent**
- **Tags:** `Payments`
| Parameter | In | Type | Required | Description |
| :--- | :---: | :---: | :---: | :--- |
| `id` | path | string | Yes | Intent ID (e.g. pi_123) |
| Status | Response Description |
| :---: | :--- |
| `200` | Payment intent details returned. |
| `404` | Payment intent not found. |
### `POST` `/refunds`
**Create a partial or full refund**
- **Tags:** `Refunds`
**Request Body:**
- Content-Type: `application/json` (`object`)
| Status | Response Description |
| :---: | :--- |
| `201` | Refund created and queued. |
| `409` | Payment already fully refunded. |将此工具固定在浏览器侧边栏
随时按下 Alt+M 即可在当前标签页侧边唤出此工具,免去切网页的麻烦。100% 离线免费。
如何把 OpenAPI 规范转换为 Markdown 文档
- 1贴入 OpenAPI 3.x / Swagger JSON 文件内容(若为 YAML 可先在本站 YAML 转 JSON 工具转换)。
- 2实时查看按接口路由分组生成的 Markdown 参数表格与状态码清单。
- 3一键复制或下载 .md 文档写入仓库 README、Confluence 或 Notion。
内网接口文档零外传
内部微服务未脱敏 Swagger 描述包含鉴权细节与内网域名,离线直接渲染 Markdown 可规避泄漏。
常见问题解答 (FAQ)
喜欢 OpenAPI 3 / Swagger 转 Markdown 文档生成器 吗?分享给你的工程师朋友,一起告别广告与隐私泄露!
MiniToolDesk 100% 离线计算、零数据上传,您的支持是保持纯净无广告的动力。