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

# Stripe Integration

> Automatic billing and payment processing with Stripe

Trackly SMS uses Stripe for secure payment processing. This integration is built-in and requires no configuration.

## How It Works

1. You add a payment method in Trackly
2. Card details are securely stored in Stripe
3. Usage is tracked and billed automatically
4. Invoices are generated and payments processed

## What's Automatic

| Feature      | Description                       |
| ------------ | --------------------------------- |
| Card storage | PCI-compliant card storage        |
| Invoicing    | Automatic invoice generation      |
| Payments     | Automatic charge on billing cycle |
| Receipts     | Email receipts after payment      |

## Adding a Payment Method

1. Go to **Settings > Billing**
2. Click **Add Payment Method**
3. Enter card details in the Stripe form
4. Click **Save**

Card details go directly to Stripe — Trackly never sees your full card number.

## Supported Payment Methods

* Visa, Mastercard, American Express, Discover
* Stripe Link (one-click checkout)
* Cash App Pay
* Other Stripe-supported payment methods

## Managing Payment Method

Click **Manage Payment Method** in Settings > Billing to open the self-service Stripe Customer Portal directly. From there you can update your card, view invoices, and manage your subscription — no support ticket needed.

### Platform Fee Waiver

When you reach 1M segments in a calendar month, the \$19.99 platform fee is automatically waived via a Stripe customer balance credit.

## Failed Payments

When a payment fails:

1. Stripe retries automatically
2. You receive an email notification
3. Discord alert (if configured)
4. Update your card to resolve

### Retry Schedule

Stripe automatically retries failed payments:

* First retry: 3 days after failure
* Second retry: 5 days after first retry
* Third retry: 7 days after second retry

### Resolving Failures

1. Check card validity and funds
2. Update payment method if needed
3. Create a support ticket from your dashboard (**Support > New Ticket**) if issues persist

## Invoices

### Viewing Invoices

1. Go to **Settings > Billing**
2. See invoice history
3. Click to view/download

### Invoice Contents

* Billing period
* Usage breakdown (segments)
* Rate per segment
* Taxes (if applicable)
* Total amount

## Security

### PCI Compliance

Stripe is PCI DSS Level 1 certified. Your card data is:

* Encrypted in transit (TLS)
* Stored securely by Stripe
* Never stored on Trackly servers

### Fraud Protection

Stripe provides:

* Machine learning fraud detection
* 3D Secure support
* Risk scoring

## Stripe Customer Portal

Access your Stripe customer portal to:

* View billing history
* Download invoices
* Update payment method

Create a support ticket from your dashboard (**Support > New Ticket**) to request a portal access link.

## Troubleshooting

<AccordionGroup>
  <Accordion title="Card declined">
    Common reasons:

    * Insufficient funds
    * Card expired
    * Fraud protection triggered

    Try a different card or contact your bank.
  </Accordion>

  <Accordion title="Invoice not received">
    Check your spam folder. Invoices come from Stripe.
    Add `invoices@stripe.com` to your contacts.
  </Accordion>

  <Accordion title="Need receipt for expenses">
    Download invoices from Settings > Billing.
    Each invoice serves as a receipt.
  </Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Billing" icon="credit-card" href="/account/billing">
    View usage and invoices
  </Card>

  <Card title="Discord Alerts" icon="bell" href="/integrations/discord-alerts">
    Get payment notifications
  </Card>
</CardGroup>
