# Retrieve a payment (/docs/api/payments/retrieve-payment)

## Retrieve a payment

`GET https://runepay.co/api/v1/payments/{id}`

Scope: `payments:read`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `id` (required) | path | string | The object id. |

Response `200`:

```json
{
  "id": "pay_01KA4Y0Z9V3T6N8Q2W5E7R1T3Y",
  "object": "payment",
  "livemode": false,
  "status": "succeeded",
  "amount": 1999,
  "amount_refunded": 0,
  "amount_tax": 0,
  "customer": null,
  "currency": "USD",
  "fee": 88,
  "description": "Pro plan, 1 month",
  "customer_email": "buyer@example.com",
  "metadata": {
    "order_id": "1042"
  },
  "checkout_session": "cs_01KA4XZY8T2R5M7P1Q4W6E8R0T",
  "card": {
    "brand": "visa",
    "last4": "4242"
  },
  "decline_code": null,
  "decline_message": null,
  "outcome": {
    "risk_level": "normal",
    "risk_score": 12
  },
  "available_on": 1767830400,
  "created": 1767225600
}
```

Errors: 400, 401, 403, 404, 500, 503, with the [error shape](/docs/api/errors).
