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

# Stripe

* Go to Settings > Payment Methods page, and fill in the fields.

| Settings                   | Description                    |
| -------------------------- | ------------------------------ |
| **Stripe Publishable Key** | Stripe > Developers > API Keys |
| **Stripe Secret Key**      | Stripe > Developers > API Keys |
| **Stripe Webhook Key**     | Stripe > Developers > Webhooks |

## How can I get API credentials?

* To access Stripe API information, go to Stripe **Dashboard > Developers > API** Keys page.
* [https://dashboard.stripe.com/apikeys](https://dashboard.stripe.com/apikeys)
* Copy both Publishable Key and Secret Key, then enter it to the required fields in your website.
  <img src="https://mintcdn.com/leaderos/cH1vXl0bXws0t_ED/images/settings/payment-methods/stripe-api-keys.png?fit=max&auto=format&n=cH1vXl0bXws0t_ED&q=85&s=37bd46ea444c94768a468683fc2e5a2e" alt="Image" width="2304" height="771" data-path="images/settings/payment-methods/stripe-api-keys.png" />
* We've got all the information required to charge players, but now we must configure the Webhook options.
* To add a Webhook, go to **Stripe Dashboard > Developers > Webhooks** page and press to **"Add Endpoint"** button.
* [https://dashboard.stripe.com/webhooks](https://dashboard.stripe.com/webhooks)
  <img src="https://mintcdn.com/leaderos/cH1vXl0bXws0t_ED/images/settings/payment-methods/stripe-add-endpoint.png?fit=max&auto=format&n=cH1vXl0bXws0t_ED&q=85&s=5bd19b01261daac98279e18eaa6ace6e" alt="Image" width="2304" height="1044" data-path="images/settings/payment-methods/stripe-add-endpoint.png" />
  <img src="https://mintcdn.com/leaderos/cH1vXl0bXws0t_ED/images/settings/payment-methods/stripe-endpoint-url.png?fit=max&auto=format&n=cH1vXl0bXws0t_ED&q=85&s=c26586bbc35dfd2dc25c1b4d2149af46" alt="Image" width="1292" height="1198" data-path="images/settings/payment-methods/stripe-endpoint-url.png" />
  <img src="https://mintcdn.com/leaderos/cH1vXl0bXws0t_ED/images/settings/payment-methods/stripe-select-events.png?fit=max&auto=format&n=cH1vXl0bXws0t_ED&q=85&s=166c47a37792712041471f819e4d519f" alt="Image" width="1256" height="1252" data-path="images/settings/payment-methods/stripe-select-events.png" />
* Our Stripe Webhook Key is now generated. From the Signing Secret section, press the Reveal button and copy the key. Then, paste that into Stripe API Webhook Key field on your website.
  <img src="https://mintcdn.com/leaderos/cH1vXl0bXws0t_ED/images/settings/payment-methods/stripe-get-webhook-key.png?fit=max&auto=format&n=cH1vXl0bXws0t_ED&q=85&s=4b7090c1c50ac0d37f0c0e55c187ecc3" alt="Image" width="2304" height="392" data-path="images/settings/payment-methods/stripe-get-webhook-key.png" />
