---
search:
  tags:
    - Payments
    - GET
seo:
  description: >-
    Retrieve a payment. Reference for the GET /payments/{paymentId} endpoint in
    the Apipay API.
sidebar:
  label: Retrieve a payment
  badge: GET
title: Retrieve a payment
type: openapi-operation
---
`GET /payments/{paymentId}`

**Responses**

- `200` — The requested payment.
- `401` — The API key is missing, invalid, or revoked.
- `404` — No resource exists with that identifier.

Response example, 200:

```json
{
  "id": "pay_6b2f9d4e",
  "amount": 150000,
  "currency": "IDR",
  "method": "qris",
  "status": "pending",
  "customer_id": "cus_8f3a2b1c",
  "description": "Order",
  "created_at": "2019-08-24T14:15:22Z"
}
```
