---
title: "Add to a Wallet Allowlist"
method: PATCH
path: "/v1/allowlist/add"
tags: ["Allowlist"]
---

# Add to a Wallet Allowlist

`PATCH /v1/allowlist/add`

Add a wallet address to your allowlist when restricting access to a paylink.

## Query parameters

- `apiKey` string, required

## Request body

- AddAllowlistWalletsDto
  - `prId` string, required — The ID of the pay link for which the allowlist is being updated.
  - `prType` string, required — The type of payment resource. This should be set to 'PAYLINK'.
  - `wallets` AllowlistWallet[], required — An array of wallet objects to add to the allowlist.
    - `publicKey` string, required — The public key of the wallet to add to the allowlist.
    - `maxAllowedQuantity` number — The maximum number of purchases allowed for this wallet. Leave empty for no limit.

## Response `200`

Allowlist updated successfully.

- AddAllowlistResponse
  - `id` string, required
  - `prId` string, required
  - `prType` string, required
  - `wallets` AllowlistWallet[], required
    - `publicKey` string, required — The public key of the wallet to add to the allowlist.
    - `maxAllowedQuantity` number — The maximum number of purchases allowed for this wallet. Leave empty for no limit.

## Other responses

- `401` — Provided API key has no access to the resource.

---

[API](https://skmtc.net/hel/apis/helio-open-api.md) · [All operations](https://skmtc.net/hel/apis/helio-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hel/helio-open-api/revisions/5732beb2d39f/schema)
