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

# zend keys

> Create, list and revoke API keys for your account.

These are account API keys (`zdev_live_...`) for Pay with Zend payment requests. They're separate from ZApp keys (`zapp_sk_...`), which come from [`zend apps create`](https://developers.usezend.app/cli/apps#create).

## create

```bash theme={null}
zend keys create --scopes create_payment_request,read
```

```text theme={null}
New API key created (shown once — store it securely):

  zdev_live_...

Scopes: create_payment_request, read
```

`--scopes` takes a comma-separated list. Default: `create_payment_request,read`.

| Scope | Allows |
| - | - |
| `create_payment_request` | Creating payment requests |
| `read` | Reading payment requests and webhook deliveries |
| `manage_webhook` | Changing your webhook URL |

The key is shown once. You can't create a key with a scope your current key doesn't have, so a narrow key can't grant itself more access.

## list

```bash theme={null}
zend keys list
```

```text theme={null}
3f2a…  zdev_live_Ab3x…  [create_payment_request, read]  created 2026-07-06T14:20:11Z
```

## revoke

```bash theme={null}
zend keys revoke <id>
```

The key stops working immediately.


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