> For the complete documentation index, see [llms.txt](https://guide.pay.gov.sg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.pay.gov.sg/api-resources/payments/get-all-payments-from-payment-service.md).

# Get all payments from payment service

#### Returns

***

A dictionary with a `data` property that contains an array of up to 20 payments. Each entry in the array is a separate `payment` object. If no other `payments` are available, the resulting array is empty.

#### GET /v1/payment-services/:payment\_service\_id?limit=20

***

**Payment Filtering**

Agencies can specify a string that they want to filter the payments to have **(only by Ref Id, Name, Email).** For example, specifying `search=abc@gmail.com` will filter payments with email `abc@gmail.com`.

**Pagination**

Additionally, the end point uses [cursor pagination](https://jsonapi.org/profiles/ethanresnick/cursor-pagination/) for retrieval of data. Results are sorted in ascending order of transaction creation date.
