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

# Stripe

> Connect Stripe to enable payment lookup, refunds, and payment links

## Overview

Connect your Stripe account to Telemetron to give the AI agent access to payment data, refund capabilities, and payment link creation. The integration supports both live and test modes.

## Prerequisites

* A Stripe account
* Admin or account owner access in Stripe
* A Telemetron account with admin permissions

## Setup

<Steps>
  <Step title="Open Stripe integration settings">
    In Telemetron, go to **Settings > Integrations > Stripe**.
  </Step>

  <Step title="Connect with Stripe">
    Click **Connect with Stripe**. You will be redirected to Stripe to authorize the connection.
  </Step>

  <Step title="Authorize access">
    Review the permissions requested and authorize Telemetron to access your Stripe account.
  </Step>

  <Step title="Confirm the connection">
    After authorization, you will be redirected back to Telemetron. The integration page will display your connected Stripe account information.
  </Step>
</Steps>

## Configuration

Once connected, the integration page displays your Stripe account details. Telemetron supports both **live mode** and **test mode** -- ensure you are connected to the correct mode for your use case.

## How It Works

With Stripe connected, the AI agent can:

* **Look up payments** by customer email, payment ID, or amount
* **Process refunds** for eligible payments
* **Create payment links** to send to customers for outstanding balances
* **View subscription data** including plan details, billing cycles, and status

## Troubleshooting

| Issue                                 | Solution                                                                                                                      |
| ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Connection fails during authorization | Ensure you have admin or owner access in Stripe. Try again or use a different browser.                                        |
| Payments not appearing                | Verify you are connected in the correct mode (live vs. test). Test mode payments will not appear in live mode and vice versa. |
| Refund not processing                 | Check that the payment is eligible for refund in Stripe. Some payments may be outside the refund window.                      |
