# Get started with xMoney Crypto

This section will guide you through the process of integrating and using xMoney for cryptocurrency payments. Whether you're a developer integrating xMoney into your application, or a merchant looking to accept crypto, you'll find the information you need here.

## Sandbox and Production environments

xMoney provides two distinct environments for payment processing:

* **Production:** The live, real-world environment using blockchain mainnets for actual transactions.
* **Sandbox:** A testing environment using blockchain testnets, allowing developers to integrate and test with test funds.


**Key Differences:**

* **Blockchain Networks:** Production utilizes mainnets, while Sandbox uses corresponding testnets.
* **Currency Availability:** Some currencies may not be available in Sandbox due to the absence of their testnets (e.g., Lightning Network for Bitcoin testing). Production supports all available currencies.
* **Feature Deployment:** New features are typically released to Sandbox slightly before Production, usually with a short delay of a few hours.
* **API Hostnames:**
  * Production: `crypto.xmoney.com`
  * Sandbox: `sandbox.crypto.xmoney.com`


**Note:** Developers must use the appropriate hostname based on their target environment.

## Sandbox account setup

To use the Sandbox environment, you'll need a dedicated [Sandbox merchant account](https://merchants.sandbox.crypto.xmoney.com/onboarding/sign-up). This is separate from your Production account, allowing for independent testing. You can create multiple Sandbox accounts.

Sandbox registration
## API credentials

1. **Access the Merchant Dashboard:** Log in to your xMoney Merchant Dashboard.
2. **Navigate to Integrations:** Go to the "Integrations" section.
3. **Select Custom Integration:** Choose the "Custom" integration option.
4. **Generate Credentials:** Click the "Generate Credentials" button.


You will then be presented with your store's **API Key** and **Webhook Secret**.

Generate credentials
These credentials will not be displayed again. Ensure you save them securely.

## Moving to Production

After successful testing, you're ready to go live!

1. **Create a Production Account:** [Sign up here.](https://merchants.crypto.xmoney.com/)
2. **Generate Production Credentials:** Obtain your Production API Key and Webhook Secret from the Integrations page in your account dashboard.
3. **Add Users (Optional):** To add additional users to your organization, please [contact us](mailto:support@xmoney.com). We will manually add them.