# Postman Collections

{% hint style="info" %}
To perform transactions in the test environment, a sandbox test account must be created before the Postman configuration.
{% endhint %}

### API 101

Basically, the fastest way to use iyzico APIs.

### **Step-1: Launch the Collection**

First, click the button below to view our collection.

\
[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/iyzico/iyzico/overview)

After that, you will be able to view the collection online as shown below.

<figure><img src="/files/mFcDsc3AJzjvOARwJF7A" alt=""><figcaption></figcaption></figure>

### **Step-2: Configuring API Information**<br>

Now it's time to run the services with your API information. To perform testing online, you will need to log in to your Postman account.

1. First, log in to your Postman account.

<figure><img src="/files/obmZdt0e7IwAYyBfJzGL" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
In the pre-request script section of the sample collection that includes iyzico services, there is an environment definition where the API information is set, as shown below.
{% endhint %}

```javascript
var apiKey = environment.apiKey;
var secretKey = environment.secretKey;
```

2. To define your API information, create a new environment or edit the iyzico environment. Postman will ask you to fork the collection in order to save your changes.

<figure><img src="/files/wP6mvzSNJI3ewN7Ktjyr" alt=""><figcaption></figcaption></figure>

3. After saving the collection to your account, edit and save your API information.

<figure><img src="/files/yxSrplVQe4hX4WfjhZ3l" alt=""><figcaption></figcaption></figure>

###

Once you have defined your API information, you can test all services.

If you have any questions regarding the integration, you can contact us at **<entegrasyon@iyzico.com> !**


---

# 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/postman-collections.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.
