# 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="https://3756320043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBnccQ14a3b6OedaJJFT4%2Fuploads%2Fb9HuE5OVvPOsvAiWckH3%2Fimage.png?alt=media&#x26;token=2688c5a1-c7f8-4eaa-b859-234c87470ead" 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="https://3756320043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBnccQ14a3b6OedaJJFT4%2Fuploads%2F6EO6oGipAoq9ZDxwHWgy%2Fimage.png?alt=media&#x26;token=7b219f55-c3b5-4a21-8a79-76a78a79bc13" 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="https://3756320043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBnccQ14a3b6OedaJJFT4%2Fuploads%2FmoahwrIbbcs6Ne6vcuUH%2Fimage.png?alt=media&#x26;token=342c9451-a643-4a2d-acf6-3a7b36c94efb" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3756320043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBnccQ14a3b6OedaJJFT4%2Fuploads%2FlXptks52rk4J7TuDwoBF%2Fimage.png?alt=media&#x26;token=15bdba2d-ffcf-48a5-84fd-67c203032d89" 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> !**
