> 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/urunler/ceppos-app2app/app2app-v3/kullanici-servisleri.md).

# Kullanıcı Servisleri

Ödeme akışına dahil edilecek kullanıcıları bu servis grubu üzerinden yönetirsiniz. Yeni bir kullanıcı oluşturabilir, sistemden silebilir ya da mevcut kullanıcıları sayfalanmış şekilde listeleyebilirsiniz. Her kullanıcı, bağlı olduğu banka ve terminal bilgilerini (enrollment) taşır; bu bilgiler ödeme başlatma adımında otomatik olarak kullanılır.

## Kullanıcı Ekleme

> Yeni bir kullanıcı oluşturur ve kullanıcı bilgilerini döner.

```json
{"openapi":"3.0.3","info":{"title":"iyzico In-Store API - User Management","version":"3.0"},"servers":[{"url":"https://sandbox-api.iyzipay.com/v3/in-store","description":"Sandbox Ortamı"},{"url":"https://api.iyzipay.com/v3/in-store","description":"Canlı (Production) Ortam"}],"paths":{"/user":{"post":{"tags":["User"],"summary":"Kullanıcı Ekleme","description":"Yeni bir kullanıcı oluşturur ve kullanıcı bilgilerini döner.","operationId":"createUser","parameters":[{"name":"x-api-key","in":"header","required":true,"description":"iyzico panelinizdeki CepPOS API anahtarı","schema":{"type":"string"}},{"name":"x-secret-key","in":"header","required":true,"description":"iyzico panelinizdeki CepPOS güvenlik anahtarı","schema":{"type":"string"}},{"name":"x-merchant-id","in":"header","required":true,"description":"iyzico hesabınızın üye işyeri numarası","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserRequest"}}}},"responses":{"200":{"description":"Kullanıcı başarıyla oluşturuldu","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetail"}}}},"400":{"description":"Geçersiz parametre veya eksik alan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Geçersiz veya eksik header","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Sunucu hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"CreateUserRequest":{"type":"object","required":["userId"],"properties":{"userId":{"type":"string","description":"Kullanıcı kimliği"}}},"UserDetail":{"type":"object","properties":{"status":{"type":"string","description":"İşlemin sonucunu gösterir. Hata durumunda her zaman \"failure\" döner."},"systemTime":{"type":"integer","format":"int64","description":"Sunucu tarafındaki işlem zamanı (Unix epoch, milisaniye)."},"userId":{"type":"string","description":"Sisteme kayıtlı kullanıcının benzersiz kimliği."},"enrollments":{"type":"array","description":"Kullanıcının kayıtlı olduğu banka ve terminal bilgilerinin listesi.","items":{"$ref":"#/components/schemas/Enrollment"}}}},"Enrollment":{"type":"object","properties":{"enrolledBank":{"type":"string","description":"Kullanıcının kayıtlı olduğu bankanın adı."},"enrolledTerminalId":{"type":"string","description":"Bankaya ait fiziksel POS terminal kimliği."},"enrollmentStatus":{"type":"string","description":"Banka terminali kayıt durumu."}}},"ErrorResponse":{"type":"object","properties":{"status":{"type":"string","description":"İşlemin sonucunu gösterir. Hata durumunda her zaman \"failure\" döner."},"errorCode":{"type":"string","description":"iyzico tarafından tanımlanmış hata kodu. Hatanın türünü programatik olarak ayırt etmek için kullanılır."},"errorMessage":{"type":"string","description":"Hatayı açıklayan, okunabilir hata mesajı. Loglama ve hata ayıklama amacıyla kullanılabilir."}}}}}}
```

## Kullanıcı Silme

> Var olan bir kullanıcıyı sistemden siler.

```json
{"openapi":"3.0.3","info":{"title":"iyzico In-Store API - User Management","version":"3.0"},"servers":[{"url":"https://sandbox-api.iyzipay.com/v3/in-store","description":"Sandbox Ortamı"},{"url":"https://api.iyzipay.com/v3/in-store","description":"Canlı (Production) Ortam"}],"paths":{"/user":{"delete":{"tags":["User"],"summary":"Kullanıcı Silme","description":"Var olan bir kullanıcıyı sistemden siler.","operationId":"deleteUser","parameters":[{"name":"x-api-key","in":"header","required":true,"description":"iyzico panelinizdeki CepPOS API anahtarı","schema":{"type":"string"}},{"name":"x-secret-key","in":"header","required":true,"description":"iyzico panelinizdeki CepPOS güvenlik anahtarı","schema":{"type":"string"}},{"name":"x-merchant-id","in":"header","required":true,"description":"iyzico hesabınızın üye işyeri numarası","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteUserRequest"}}}},"responses":{"200":{"description":"Kullanıcı başarıyla silindi","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteUserResponse"}}}},"400":{"description":"Geçersiz parametre veya eksik alan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Geçersiz veya eksik header","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Sunucu hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"DeleteUserRequest":{"type":"object","required":["userId"],"properties":{"status":{"type":"string","description":"İşlemin sonucunu gösterir. Hata durumunda her zaman \"failure\" döner."},"systemTime":{"type":"integer","format":"int64","description":"Sunucu tarafındaki işlem zamanı (Unix epoch, milisaniye)."},"userId":{"type":"string","description":"Silinecek kullanıcı kimliği"}}},"DeleteUserResponse":{"type":"object","properties":{"userId":{"type":"string","description":"Başarıyla silinen kullanıcının kimliği. Silme işleminin doğrulanması amacıyla döner."}}},"ErrorResponse":{"type":"object","properties":{"status":{"type":"string","description":"İşlemin sonucunu gösterir. Hata durumunda her zaman \"failure\" döner."},"errorCode":{"type":"string","description":"iyzico tarafından tanımlanmış hata kodu. Hatanın türünü programatik olarak ayırt etmek için kullanılır."},"errorMessage":{"type":"string","description":"Hatayı açıklayan, okunabilir hata mesajı. Loglama ve hata ayıklama amacıyla kullanılabilir."}}}}}}
```

## Kullanıcı Listeleme

> Sistemdeki kullanıcıların sayfalanmış (paginated) listesini döner.

```json
{"openapi":"3.0.3","info":{"title":"iyzico In-Store API - User Management","version":"3.0"},"servers":[{"url":"https://sandbox-api.iyzipay.com/v3/in-store","description":"Sandbox Ortamı"},{"url":"https://api.iyzipay.com/v3/in-store","description":"Canlı (Production) Ortam"}],"paths":{"/user/list":{"get":{"tags":["User"],"summary":"Kullanıcı Listeleme","description":"Sistemdeki kullanıcıların sayfalanmış (paginated) listesini döner.","operationId":"listUsers","parameters":[{"name":"x-api-key","in":"header","required":true,"description":"iyzico panelinizdeki CepPOS API anahtarı","schema":{"type":"string"}},{"name":"x-secret-key","in":"header","required":true,"description":"iyzico panelinizdeki CepPOS güvenlik anahtarı","schema":{"type":"string"}},{"name":"x-merchant-id","in":"header","required":true,"description":"iyzico hesabınızın üye işyeri numarası","schema":{"type":"string"}},{"name":"pageNumber","in":"query","description":"Sayfa numarası","schema":{"type":"integer","default":1}},{"name":"pageCount","in":"query","description":"Sayfa başına kullanıcı sayısı","schema":{"type":"integer","default":100}}],"responses":{"200":{"description":"Başarılı — kullanıcı listesi döner","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserListResponse"}}}},"400":{"description":"Geçersiz parametre veya eksik alan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Geçersiz veya eksik header","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Sunucu hatası","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"UserListResponse":{"type":"object","properties":{"status":{"type":"string","description":"İşlemin sonucunu gösterir. Hata durumunda her zaman \"failure\" döner."},"systemTime":{"type":"integer","format":"int64","description":"Sunucu tarafındaki işlem zamanı (Unix epoch, milisaniye)."},"userList":{"type":"array","description":"Sisteme kayıtlı kullanıcıların sayfalanmış listesi. Her kayıt kullanıcının banka ve terminal bilgilerini içerir.","items":{"$ref":"#/components/schemas/UserDetail"}}}},"UserDetail":{"type":"object","properties":{"status":{"type":"string","description":"İşlemin sonucunu gösterir. Hata durumunda her zaman \"failure\" döner."},"systemTime":{"type":"integer","format":"int64","description":"Sunucu tarafındaki işlem zamanı (Unix epoch, milisaniye)."},"userId":{"type":"string","description":"Sisteme kayıtlı kullanıcının benzersiz kimliği."},"enrollments":{"type":"array","description":"Kullanıcının kayıtlı olduğu banka ve terminal bilgilerinin listesi.","items":{"$ref":"#/components/schemas/Enrollment"}}}},"Enrollment":{"type":"object","properties":{"enrolledBank":{"type":"string","description":"Kullanıcının kayıtlı olduğu bankanın adı."},"enrolledTerminalId":{"type":"string","description":"Bankaya ait fiziksel POS terminal kimliği."},"enrollmentStatus":{"type":"string","description":"Banka terminali kayıt durumu."}}},"ErrorResponse":{"type":"object","properties":{"status":{"type":"string","description":"İşlemin sonucunu gösterir. Hata durumunda her zaman \"failure\" döner."},"errorCode":{"type":"string","description":"iyzico tarafından tanımlanmış hata kodu. Hatanın türünü programatik olarak ayırt etmek için kullanılır."},"errorMessage":{"type":"string","description":"Hatayı açıklayan, okunabilir hata mesajı. Loglama ve hata ayıklama amacıyla kullanılabilir."}}}}}}
```


---

# 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/urunler/ceppos-app2app/app2app-v3/kullanici-servisleri.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.
