> For the complete documentation index, see [llms.txt](https://docs.iyzico.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iyzico.com/en/getting-started/preliminaries/live-vs-sandbox.md).

# Live vs Sandbox

At iyzico, we understand the importance of a seamless payment experience in the fintech industry. To ensure the reliability and accuracy of your payment integration, we offer both Live and Sandbox environments.

While Live environment allows you to process real transactions, ensuring that your customers' payments are securely processed and funds are transferred smoothly.&#x20;

On the other hand, our Sandbox environment provides a safe and controlled testing environment. It mimics the behavior of the Live environment, allowing you to simulate transactions and test your payment flows without affecting real transactions or funds.&#x20;

Key differences;

### Endpoints

Our ENVs are exactly same regarding architecture.\
The only difference between our LIVE and Sandbox ENVs is URL paths on your API call.

{% tabs %}
{% tab title="LIVE ENV Url Path" %}

```
https://api.iyzipay.com
```

{% endtab %}

{% tab title="SANDBOX ENV Url Path" %}

```
https://sandbox-api.iyzipay.com
```

{% endtab %}
{% endtabs %}

###

### Credentials

iyzico authenticaton requires two pairs of credentials, apiKey and secretKey. Similar to Endpoints headline above, Sandbox credentials comes with "sandbox-..." prefix.

With in "abc" sample;

{% tabs %}
{% tab title="LIVE ENV Credentials" %}

* `"apiKey":"abc..."`&#x20;
* `"secretKey":"def..."`
  {% endtab %}

{% tab title="SANDBOX ENV Credentials" %}

* `"apiKey":"sandbox-ghj..."`&#x20;
* `"secretKey":"sanbox-klm..."`
  {% endtab %}
  {% endtabs %}

{% hint style="info" %}
Note that, Live and Sandbox crendentials are entirely different.
{% endhint %}

### Test Cards

For testing purposes, we provide a set of test cards that you can use in the [Sandbox ](/en/getting-started/preliminaries/sandbox.md)environment. These test cards simulate different payment scenarios, allowing you to validate your payment flows, handle various response codes, and ensure smooth transaction processing only on Sandbox ENV.
