# Retrieve a payment

`GET /payments/{payment_id}`

Base URL: https://api.acme.dev/v1

Authentication: bearer token in Authorization header

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `payment_id` | string | yes | The ID of the payment. |

## Example request

```bash
curl -X GET https://api.acme.dev/v1/payments/pay_3Jk2Lm
```

## Responses

- **200**: The payment.
- **404**: The resource does not exist.

### Example response (200)

```json
{
  "id": "pay_3Jk2Lm",
  "object": "payment",
  "amount": 2500,
  "currency": "usd",
  "status": "requires_payment_method",
  "customer": {
    "id": "cus_8f3k2",
    "email": "user@example.com",
    "name": "Ada Lovelace",
    "address": {
      "line1": "string",
      "city": "string",
      "country": "US"
    }
  },
  "created_at": "2024-01-15T09:30:00Z",
  "refunds": [
    {
      "id": "string",
      "amount": 1
    }
  ]
}
```
