# Retrieve a payment `GET /api/v1/payments/{id}` Returns one payment by ID. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Payments → Read**. ## Headers - `X-Sport-Id` (integer) — Send the sport ID when the payment belongs to a sport. ## Path parameters - `id` (integer, required) — ID of the payment. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request GET \ --url "https://api.asdincloud.com/api/v1/payments/${ID:?Set ID}" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: ${SPORT_ID:?Set SPORT_ID}" ``` ## Response **200 OK** The payment is returned in data. Example with fictional data and selected fields. ```json { "status": "success", "data": { "id": 19, "sport_id": null, "payment_type": "incoming", "status": "paid", "currency": "EUR", "amount": 2500, "accounting_category_id": 8, "accounting_category": { "id": 8, "name": "Club income", "tag_type": "accounting_category", "direction": "incoming" }, "tag_ids": [], "tags": [], "payment_at_ts": 1794564000, "receipt_at_ts": 1794564000, "due_at_ts": null, "receipt_number": 14, "fiscal_year": 2026, "receipt_display_number": "14", "document_origin": "system" } } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `404` — The requested record was not found.