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

# Payment Methods

> Add and manage payment methods for credit top-ups and auto-recharge.

export const RuncrateStyles = () => {
  if (typeof document !== 'undefined' && !document.getElementById('runcrate-overrides')) {
    const s = document.createElement('style');
    s.id = 'runcrate-overrides';
    s.textContent = `
      /* Match Runcrate's rounding scale (--radius: 0.75rem) */
      .rounded-sm { border-radius: 0.5rem !important; }   /* 8px */
      .rounded-md { border-radius: 0.625rem !important; } /* 10px */
      .rounded-lg { border-radius: 0.75rem !important; }  /* 12px */
      .rounded-l-sm { border-top-left-radius: 0.5rem !important; border-bottom-left-radius: 0.5rem !important; }
      .rounded-r-sm { border-top-right-radius: 0.5rem !important; border-bottom-right-radius: 0.5rem !important; }
      .rounded-l-md { border-top-left-radius: 0.625rem !important; border-bottom-left-radius: 0.625rem !important; }
      .rounded-r-md { border-top-right-radius: 0.625rem !important; border-bottom-right-radius: 0.625rem !important; }
      .rounded-l-lg { border-top-left-radius: 0.75rem !important; border-bottom-left-radius: 0.75rem !important; }
      .rounded-r-lg { border-top-right-radius: 0.75rem !important; border-bottom-right-radius: 0.75rem !important; }

      /* Cards: never pure white in light mode */
      .card { background-color: #fcfcfc !important; border-radius: 0.75rem !important; }
      html.dark .card { background-color: #141414 !important; }

      /* Docs hero box */
      .rc-hero { background-color: #fcfcfc; border: 1px solid #e0e0e0; }
      html.dark .rc-hero { background-color: #141414; border-color: #242424; }
      html.dark .rc-hero h1 { color: #f5f5f5; }

      /* Runcrate scrollbar — thin, transparent track, hide-until-hover thumb */
      ::-webkit-scrollbar { width: 6px; height: 6px; background-color: transparent; }
      ::-webkit-scrollbar-track { background-color: transparent; }
      ::-webkit-scrollbar-thumb { background-color: rgba(155, 155, 155, 0.5); border-radius: 10px; transition: opacity 0.3s ease; opacity: 0; }
      ::-webkit-scrollbar-thumb:hover { background-color: rgba(155, 155, 155, 0.7); }
      *:hover::-webkit-scrollbar-thumb,
      *:focus::-webkit-scrollbar-thumb,
      *:active::-webkit-scrollbar-thumb { opacity: 1; }
      * { scrollbar-width: thin; scrollbar-color: rgba(155, 155, 155, 0.5) transparent; }
    `;
    document.head.appendChild(s);
  }
  return null;
};

<RuncrateStyles />

Payment methods are used to add credits and fund auto-recharge. Runcrate uses **Stripe** for secure payment processing.

## Adding a Payment Method

<Steps>
  <Step title="Go to Billing">
    Navigate to **Dashboard → Billing**.
  </Step>

  <Step title="Open Payment Methods">
    Scroll to the **Payment Methods** section.
  </Step>

  <Step title="Click Add Payment Method">
    Click **Add Payment Method**. A secure Stripe form will appear.
  </Step>

  <Step title="Enter Card Details">
    Enter your card number, expiry date, and CVC.
  </Step>

  <Step title="Save">
    Click **Save**. The card is now available for top-ups and auto-recharge.
  </Step>
</Steps>

## Managing Payment Methods

Each saved payment method shows:

| Field             | Description                                |
| ----------------- | ------------------------------------------ |
| **Card Type**     | Visa, Mastercard, or American Express      |
| **Last 4 Digits** | Last four digits of the card number        |
| **Expiry**        | Card expiration date                       |
| **Default**       | Whether this is the default payment method |

### Set Default

Click **Set as Default** on any payment method to make it the primary card for top-ups and auto-recharge.

### Remove a Card

Click **Remove** to delete a payment method from your account.

<Warning>
  You cannot delete your **default** payment method. Set another card as default first, then remove the old one.
</Warning>

## Supported Cards

| Card Type        | Supported |
| ---------------- | --------- |
| Visa             | Yes       |
| Mastercard       | Yes       |
| American Express | Yes       |

## Stripe Customer Portal

For advanced billing management, click **Manage Billing** to open the Stripe Customer Portal. From there you can:

* View and download all invoices
* Update billing information
* Add tax IDs
* View payment history

## Security

<Note>
  Runcrate never stores your full card details. All payment information is handled by **Stripe**, which is **PCI DSS Level 1** certified — the highest level of payment security compliance. Your card data is encrypted and stored securely by Stripe.
</Note>
