> For the complete documentation index, see [llms.txt](https://cookbook.denovolab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cookbook.denovolab.com/configuration/configuring-payment-gateway/stripe-configuration.md).

# Stripe Configuration

You need to obtain the API key from Strip.  Here is how you do it:

Step 1: Click on   Developers > API keys in your Strip account

![](/files/-MY2ysyf5TBSnZ-H3jbX)

Step 2: Obtain the API tokens for your account:

![](/files/-MY2zC1Vv9SgLTjj9fIi)

Step 3: Go to Webhooks section&#x20;

![](/files/-MY2zPJImJ8094FTRB62)

Step 4: Add new Webhook

![](/files/-MY2zapJTj2MmGcw5xLw)

In your Stripe setting, you get to see the webhook URL of your switch.  This Webhook URL is what you need to fill in.  Then, you need to select "charge.succeeded."

![](/files/-MY2zm0nO4fCpIMHDT5S)

Step 5: Activate your key for production

![](/files/-MY3-1fBZl1CtK8VPAmZ)

In stripe, you need to activate your account.  Before you do that, your API account is a test sandbox account.   When your account is still in test mode, you can use the following link to get the test credit card numbers to test your setup.&#x20;

```
https://stripe.com/docs/testing    
```

{% hint style="info" %}
When your stripe key is started with "test" keyword, that means this key is a test sandbox key instead of a production key.&#x20;
{% endhint %}
