# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.iyzico.com/en/getting-started/preliminaries/live-vs-sandbox.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
