> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/graphql-api/api-reference/queries/payments.md).

# payments

### Arguments

| Argument                                                                                      | Description                                                             |
| --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| statuses (\[[PaymentStatusEnum](/graphql-api/api-reference/objects/payment-status-enum.md)!]) | Filter payments on given status. Lists all payments if none given.      |
| subscriptionId ([ID](/graphql-api/api-reference/objects/id.md))                               | Only list payments that match the passed in subscription ID.            |
| updatedSince ([ISO8601DateTime](/graphql-api/api-reference/objects/iso-8601-date-time.md))    | Filter payments to those that where updated since the given datetime.   |
| updatedUntil ([ISO8601DateTime](/graphql-api/api-reference/objects/iso-8601-date-time.md))    | Filter payments to those that where updated until the given datetime.   |
| after ([String](/graphql-api/api-reference/objects/string.md))                                | Returns the elements in the list that come after the specified cursor.  |
| before ([String](/graphql-api/api-reference/objects/string.md))                               | Returns the elements in the list that come before the specified cursor. |
| first ([Int](/graphql-api/api-reference/objects/int.md))                                      | Returns the first *n* elements from the list.                           |
| last ([Int](/graphql-api/api-reference/objects/int.md))                                       | Returns the last *n* elements from the list.                            |

### Return fields

#### edges (\[[PaymentEdge](/graphql-api/api-reference/objects/payment-edge.md)])

A list of edges.

#### nodes (\[[Payment](/graphql-api/api-reference/objects/payment.md)])

A list of nodes.

#### pageInfo ([PageInfo](/graphql-api/api-reference/objects/page-info.md)!)

Information to aid in pagination.

#### totalCount ([Int](/graphql-api/api-reference/objects/int.md))

The total number of items available.
