---
title: "Get a specific invoice"
method: GET
path: "/v2/invoices/{payment_hash}"
tags: ["Invoice"]
---

# Get a specific invoice

`GET /v2/invoices/{payment_hash}`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v2/invoices/{payment_hash}`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth`
- TypeScript: <https://skmtc.dev/getalby/apis/lndhub-go/docs/v2/invoices/:payment_hash/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve information about a specific invoice by payment hash

## Path parameters

- `payment_hash` string, required

## Response `200`

OK

- V2controllersInvoice
  - `amount` integer
  - `custom_records` object
  - `description` string
  - `description_hash` string
  - `destination` string
  - `error_message` string
  - `expires_at` string
  - `fee` integer
  - `is_paid` boolean
  - `keysend` boolean
  - `payment_hash` string
  - `payment_preimage` string
  - `payment_request` string
  - `settled_at` string
  - `status` string
  - `type` string

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

## Changes

- **2022-06-20** `58ca30c7bb1a`: 2 info
  - api tag `Invoice` added
  - api tag `Account` removed
- **2022-06-20** `b98b4a076fb7`: 1 info
  - endpoint added
- **2022-04-28** `9677ed311d4f`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/getalby/apis/lndhub-go/changes/v2/invoices/:payment_hash/get.md)

---

[API](https://skmtc.dev/getalby/apis/lndhub-go.md) - [All operations](https://skmtc.dev/getalby/apis/lndhub-go/llms.txt) - [OpenAPI document](https://skmtc.dev/getalby/apis/lndhub-go/revisions/0891f2052750?raw)
