> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# hsaPaymentLinkPayments

> The payments one HSA/FSA payment link took, newest first. A link from another store, or one that does not exist, has none. Pages forward only. A store with HSA/FSA payments off fails with PAYMENTS_NOT_ENABLED (403).

**Required scopes:** [`payments_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-payments_read)

**Store must have one of:** `HSA`

## Arguments

**after** `String`

Return payments after this cursor.

**first** `Int`

Page size.

**linkId** `ID!` *required*

The link's `id`.

## Returns

**hsaPaymentLinkPayments** `[HsaPaymentLinkPaymentConnection!](/docs/api-reference/v3/pagination)` *required*

A paginated list of HsaPaymentLinkPayment items.

**fields**

**edges** `[\[HsaPaymentLinkPaymentEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**fields**

**cursor** `String!` *required*

Opaque cursor for this item; pass to `after`/`before` to page from here.

**node** `[HsaPaymentLinkPayment!](/docs/api-reference/v3/reference/payments/hsa-payment-link-payment)` *required*

The item at this edge.

**fields**

**amount** `[Money!](/docs/api-reference/v3/reference/common/money)` *required*

What the shopper was charged, with shipping and tax.

**id** `ID!` *required*

The payment's id.

**order** `[HsaPaymentLinkOrder](/docs/api-reference/v3/reference/payments/hsa-payment-link-order)`

The Shopify order for the payment. Null until Redo writes it; Redo retries a failed write.

**paidAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the shopper paid.

**payerEmail** `String!` *required*

The email the shopper paid with.

**payerName** `String!` *required*

The shopper who paid.

**nodes** `[\[HsaPaymentLinkPayment!\]!](/docs/api-reference/v3/reference/payments/hsa-payment-link-payment)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**fields**

**amount** `[Money!](/docs/api-reference/v3/reference/common/money)` *required*

What the shopper was charged, with shipping and tax.

**fields**

**amount** `[Decimal!](/docs/api-reference/v3/reference/common/decimal)` *required*

The exact amount as a decimal string (e.g. "19.99").

**currency** `String!` *required*

ISO 4217 currency code (e.g. USD).

**id** `ID!` *required*

The payment's id.

**order** `[HsaPaymentLinkOrder](/docs/api-reference/v3/reference/payments/hsa-payment-link-order)`

The Shopify order for the payment. Null until Redo writes it; Redo retries a failed write.

**fields**

**adminUrl** `String!` *required*

The order's page in the Shopify admin.

**name** `String!` *required*

The order's name in Shopify, like "#1001".

**paidAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the shopper paid.

**payerEmail** `String!` *required*

The email the shopper paid with.

**payerName** `String!` *required*

The shopper who paid.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**fields**

**endCursor** `String`

Cursor of the last edge in this page; pass to `after` to page forward.

**hasNextPage** `Boolean!` *required*

Whether more items exist after this page (drives forward pagination with `first`/`after`).

**hasPreviousPage** `Boolean!` *required*

Whether more items exist before this page (drives backward pagination with `last`/`before`).

**startCursor** `String`

Cursor of the first edge in this page; pass to `before` to page backward.

## Example

```graphql theme={null}
query {
  hsaPaymentLinkPayments(after: "...", first: 10, linkId: "...") {
    nodes {
      id
      paidAt
      payerEmail
      payerName
    }
    pageInfo { hasNextPage endCursor }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.