# VUK 507 Servisleri

### Genel Bakış

VUK 507 servisleri, fiziksel POS cihazları üzerinden gerçekleştirilen standart satış, iade, iptal ve gün sonu işlemlerini kapsar.

Bu yapı, e-fatura süreçlerinden bağımsız olarak çalışır ve klasik POS ödeme akışını temel alır.

### Kapsam

Bu bölümde aşağıdaki işlemler ele alınmaktadır:

* Satış (Payment)
* İade (Refund)
* İptal (Void)
* İşlem Sorgulama (Query)
* İade Edilebilir Satış Bilgisi
* Kısmi Ödeme (Partial Payment)
* Gün Sonu (End of Day)

### Authentication

Tüm servis çağrılarında OAuth2 tabanlı kimlik doğrulama kullanılmaktadır.

> Authorization: Bearer {access\_token}\
> Content-Type: application/json

{% hint style="warning" %}
Not: Access token, Login İşlemleri adımında alınır ve tüm servislerde zorunludur.
{% endhint %}

### Genel Ödeme Akışı

```mermaid
sequenceDiagram
    autonumber
    participant CashRegister as Satış Uygulaması
    participant Iyzico as iyzico Terminal API
    participant GMU as GMU Cihazı
    participant Bank as Banka / Acquirer

    CashRegister->>Iyzico: POST /v2/terminal-host/gmu/payment
    Note right of CashRegister: Authorization Bearer access_token
    Iyzico->>GMU: Satış isteğini iletir
    GMU->>Bank: Ödeme provizyonu başlatılır
    Bank-->>GMU: İşlem sonucu
    GMU-->>Iyzico: Ödeme sonucu ve işlem detayları
    Iyzico-->>CashRegister: Sale response döner

    alt İşlem başarılı
        Note over CashRegister,Iyzico: paymentId, authCode, hostReference döner
    else İşlem başarısız
        Note over CashRegister,Iyzico: status failure, errorCode, errorMessage döner
    end
```


---

# 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/urunler/fiziksel-pos/terminal-api-entegrasyonu/vuk-507-servisleri.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.
