<p>I don't think you can look up payments by their paymentHash but you can look up invoices which contain a lot of the same information using a paymentHash: <a href="https://api.lightning.community/rest/index.html#v1-invoice" rel="nofollow noreferrer">https://api.lightning.community/rest/index.html#v1-invoice</a></p>

CC BY-SA 4.0
2020-02-11T14:53:18.703Z
2020-02-11T14:53:18.703Z
KayBeSee
<p>How do I get an outgoing <code>Payment</code> by <code>paymentHash</code> using LND REST API? I know that <code>GET /v1/payments</code> returns all payments, but I would like to get one in particular, not all as there may be thousands. Thanks.</p>

<lightning-network><lightning-network-daemon>
Lightning Network LND - Retrieve payment by hash
Paul
# Lightning Network LND - Retrieve payment by hash

(Asked by: username_0 on 2020-02-11)

How do I get an outgoing `Payment` by `paymentHash` using LND REST API? I know that `GET /v1/payments` returns all payments, but I would like to get one in particular, not all as there may be thousands. Thanks.

**Tags:** lightning-network, lightning-network-daemon


---

## 1 answers

### Answer by username_1 on 2020-02-11. Score: 3

I don't think you can look up payments by their paymentHash but you can look up invoices which contain a lot of the same information using a paymentHash: <https://api.lightning.community/rest/index.html#v1-invoice>


---

