> 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/on-hazirliklar/postman-collections.md).

# Postman Collections

{% hint style="info" %}
Test ortamında işlem sağlayabilmek için, Postman yapılandırması öncesinde, [sandbox](/on-hazirliklar/sandbox.md) test hesabı oluşturulması gerekmektedir.
{% endhint %}

### API 101

Temel olarak, iyzico API'lerini kullanmanın en hızlı yolu. &#x20;

### Adım-1 : Koleksiyonun Eklenmesi

Öncelikle koleksiyonumuzu görüntüleyebilmek için aşağıdaki butona tıklayın.

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

Ardından online olarak aşağıdaki gibi collection'ı görüntüleyebiliyor olacaksınız.

<figure><img src="https://1970365243-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkTpM8Bc8GIRKlQDusDr3%2Fuploads%2FgQA4HpBabrKWRzvTdbho%2Fimage.png?alt=media&amp;token=371e6d11-c541-4c6b-9411-3d24bc11c89b" alt=""><figcaption></figcaption></figure>

### Adım-2: API Bilgilerinin Yapılandırılması

Şimdi API bilgileriniz ile servisleri çalıştırma zamanı. Online olarak test işlemi yapabilmek için Postman hesabınıza giriş yapmanız gerekecektir.

1. Öncelikle Postman hesabınıza giriş yapın.

<figure><img src="https://1970365243-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkTpM8Bc8GIRKlQDusDr3%2Fuploads%2FLH8i9dtTNBBByVxVtsT3%2Fimage.png?alt=media&amp;token=a7fa1c55-cada-4d06-9ea6-90e8f168d10d" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Örnek koleksiyonda yer alan iyzico servislerinin pre-request script kısmında, API bilgilerinin set edildiği aşağıdaki gibi environment tanımı bulunmaktadır.
{% endhint %}

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

2. API bilgilerini tanımlayabilmek için yeni bir environment yaratın veya iyzico environment'i üzerinden düzenleme sağlayın. Düzenlemelerinizi kaydetmeniz için, Postman sizden koleksiyonu fork etmenizi isteyecektir.

<figure><img src="https://1970365243-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkTpM8Bc8GIRKlQDusDr3%2Fuploads%2FOWdViTpCzWebsisRyv7X%2Fimage.png?alt=media&amp;token=fe37ab7e-451e-437b-9017-2011dab8e96a" alt=""><figcaption></figcaption></figure>

3. Koleksiyonu hesabınıza kaydettikten sonra, API bilgilelerinizi düzenleyin ve kaydedin.

<figure><img src="https://1970365243-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkTpM8Bc8GIRKlQDusDr3%2Fuploads%2Fb7XcvLXesANhq36KUb5Z%2Fimage.png?alt=media&amp;token=035d7735-5d89-46eb-8f19-a55d68644ad9" alt=""><figcaption></figcaption></figure>

API bilgilerinizi tanımladıktan sonra tüm servisleri test edebilirsiniz.

Entegrasyon ile ilgili sorularınız olması durumunda <entegrasyon@iyzico.com> adresinden bize ulaşabilirsiniz!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.iyzico.com/on-hazirliklar/postman-collections.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
