---
title: "Retrieve the settling payment by hosted slug (public)"
method: GET
path: "/v1/invoices/by_slug/{slug}/payment"
tags: ["Hosted Invoice Page"]
---

# Retrieve the settling payment by hosted slug (public)

`GET /v1/invoices/by_slug/{slug}/payment`

Returns the payment that settled the invoice, for the hosted page's paid landing. 404 until the invoice is paid (or when the slug is unknown).

## Path parameters

- `slug` string, required

## Response `200`

OK

- object — Standard response containing data and its metadata if any
  - `data` PaymentResponseDTO
    - `amount` integer
    - `currency` string
    - `method` string
    - `paid_at` string
    - `reference_number` string
  - `has_more` boolean

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/paymongo/apis/paymongo-api.md) · [All operations](https://skmtc.net/paymongo/apis/paymongo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymongo/paymongo-api/versions/c18f9a027b2c/schema)
