> ## 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.

# hsaPaymentLinkDelete

> Permanently delete an HSA/FSA payment link. Only a link that is off or expired, took no payment, and has no checkout a shopper may still pay can be deleted; read `deleteBlockedReason` first. Any other fails with HSA_PAYMENT_LINK_DELETE_BLOCKED (409), its message saying why. An id from another store, or one that does not exist, returns false. A store with HSA/FSA payments off fails with PAYMENTS_NOT_ENABLED (403). A store without a Shopify store fails with HSA_PAYMENT_LINKS_REQUIRE_SHOPIFY (403).

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

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

## Arguments

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

The link's `id`.

## Returns

**hsaPaymentLinkDelete** `Boolean!` *required*

## Example

```graphql theme={null}
mutation {
  hsaPaymentLinkDelete(id: "...")
}
```


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