---
title: "List payments"
method: GET
path: "/api/payments"
tags: ["Payments"]
---

# List payments

`GET /api/payments`

## Request

- Base URL: `https://api.gymflexa.com`
- URL: `https://api.gymflexa.com/api/payments`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Lists the payments of your gym. Requires the `payments:read` scope.

## Query parameters

- `gymId` string
- `memberId` string
- `fields` string

## Response `200`

Array of payments

## Other responses

- `401`: Missing or invalid credentials
- `403`: API key is missing the `payments:read` scope
- `429`: API key rate limit exceeded

---

[API](https://skmtc.dev/gymflexa/apis/gymflexa-api.md) · [All operations](https://skmtc.dev/gymflexa/apis/gymflexa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gymflexa/apis/gymflexa-api/revisions/23c38326a799?raw)
