---
title: API Key Provisioning
slug: api-key-provisioning
description: Learn how to provision API keys for Butter, including Merchant and Source ID keys for secure card vaulting and payment processing. Follow our guide for Stripe integration and ensure seamless sandbox and production setups.
docTags: 
createdAt: 2024-02-23T17:36:18.883Z
---

## Butter Provided Keys

Butter provides a pair of API keys for each environment (sandbox and production).

**Merchant Key**: This key is used to direct card element requests to a dedicated proxy and secure container.

**Source ID:** This unique key is used to represent a specific PSP account where card payment methods should be created after vaulting.



## Merchant Provided Keys

We require a merchant to provision a dedicated set of keys specifically for card vaulting, this is required to provide more fine gined security settings and prevent potential rate limiting issues from affecting a checkout flow. We will initially require a set of test keys for a sandbox account and then a set of production keys to go live.

### Stripe Guide

Provision a restricted api key with the following permissions:

- **PaymentMethods: `Write`**
- **PaymentIntents: `Write`**

Full Guide Here: [Stripe API Key Setup](docId\:RmCDIjt-oYcJNCK3F7gJQ)



