---
title: "Get a payment"
method: GET
path: "/payments/{id}"
tags: ["Payments"]
---

# Get a payment

`GET /payments/{id}`

## Request

- Base URL: `https://api.moonclerk.com`
- URL: `https://api.moonclerk.com/payments/{id}`
- Auth: API key in header `Authorization`

Returns one payment by its MoonClerk ID.

## Path parameters

- `id` integer, required

## Response `200`

The requested payment.

## Other responses

- `401`: Missing or invalid API key. The body is currently `text/plain` (`HTTP Token: Access denied.`), not JSON.
- `429`: Throttling limit exceeded. Reduce the number and frequency of calls, then retry. No `RateLimit` or `Retry-After` headers are currently published.
- `500`: MoonClerk is unavailable — `500` means the app is entirely down; `502`, `503` and `504` are gateway and timeout conditions. Retrying later is the caller's responsibility.
- `502`: MoonClerk is unavailable — `500` means the app is entirely down; `502`, `503` and `504` are gateway and timeout conditions. Retrying later is the caller's responsibility.
- `503`: MoonClerk is unavailable — `500` means the app is entirely down; `502`, `503` and `504` are gateway and timeout conditions. Retrying later is the caller's responsibility.
- `504`: MoonClerk is unavailable — `500` means the app is entirely down; `502`, `503` and `504` are gateway and timeout conditions. Retrying later is the caller's responsibility.

---

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