# 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. |Pin this tool to your browser side panel
Access this utility anytime with Alt+M without switching tabs. 100% offline & free.
How to Export OpenAPI Specs as Markdown
- 1Paste an OpenAPI 3.0/3.1 JSON document or load the sample Payments API spec.
- 2Inspect the rendered Markdown endpoints, parameter tables, and status code tables.
- 3Copy or download the clean .md file for GitHub READMEs, Notion, or developer portals.
Private Spec Processing
Internal microservice API schemas never leave your device, making this safe for unreleased internal endpoints.
Frequently Asked Questions
Enjoying OpenAPI 3 / Swagger to Markdown Doc Generator?Help your engineering peers discover private, ad-free tools!
MiniToolDesk is 100% free and client-side. Your support keeps the web ad-free.
Related Developer Utilities
SQL Formatter & Beautifier
Beautify, format, and indent messy SQL queries across MySQL, Postgres, SQLite in local memory
JWT Debugger & Decoder
Safely decode, verify, and inspect JSON Web Tokens (JWT) payload and headers in local memory
YAML to JSON Converter
Convert YAML to JSON and JSON to YAML bidirectionally with real-time validation
Developer & Tech Unit Converter
Convert Data Storage (KB/KiB, MB/MiB, GB/GiB), CSS units (px to rem), Length, Speed, and Temp