# Retrieve a Ledger's Payments

This endpoint returns all payment-related operations in a specific ledger. Operation types that can be returned by this endpoint include: create\_account, payment, path\_payment, and account\_merge.

This method will use `20` [Compute Units](/v1/about/billing.md).

***

## Reference: [Here](https://developers.stellar.org/network/horizon/api-reference/resources/retrieve-a-ledgers-payments)

{% openapi src="/files/9L0w2HNyHURBIA6Y2MBg" path="/ledgers/{sequence}/payments" method="get" %}
[horizon-openapi\_vc.yml](https://1292504766-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF3uvE671dWWOTAu9svnI%2Fuploads%2FZki9Dvj0W61fX9Jyhir7%2Fhorizon-openapi_vc.yml?alt=media\&token=e5961be6-b70d-4c20-8f54-996e04e8ac21)
{% endopenapi %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.validationcloud.io/v1/stellar/horizon-api/ledgers/retrieve-a-ledgers-payments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
