---
title: Payment Settings
description: Configure Stripe API keys with encrypted storage for secure payment processing.
icon: material/credit-card-settings
status: new
tags:
  - guide
  - admin
  - payments
  - configuration
---

# Payment Settings

Configure Stripe integration from **Settings > Payments**.

---

## Stripe Configuration

- **Publishable key** — used by the frontend for Stripe Elements and Checkout
- **Secret key** — used by the API for creating charges and managing subscriptions
- **Encrypted storage** — both keys are stored encrypted in the database using the `ENCRYPTION_KEY` environment variable (AES encryption)

---

## Webhook

Stripe webhooks are automatically configured to handle:

- Successful payments and subscription renewals
- Failed payments and subscription cancellations
- Refunds and disputes

---

## Admin Routes

- `/app/settings` (Payments tab) — Stripe key configuration
