# Gün Sonu

GMU cihazı için gün sonu (batch close) işlemini gerçekleştirir.

İşlem sonucunda acquirer bazlı özet rapor döner.

### Gün Sonu Raporu Alma

## POST /v2/terminal-host/gmu/eod

> GMU cihazı için gün sonu batch close işlemini gerçekleştirir. Cihazın mali günü kapatılır ve acquirer bazında özet rapor döner.<br>

```json
{"openapi":"3.0.3","info":{"title":"Terminal API - GMU Ödeme ve İşlem Servisleri","version":"1.0.0"},"tags":[{"name":"GMU Payment","description":"GMU satış ve işlem servisleri"}],"servers":[{"url":"https://sandbox-api.iyzipay.com","description":"Sandbox Ortam"},{"url":"https://api.iyzipay.com","description":"Canlı Ortam"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Access token kullanılarak Bearer Token doğrulaması yapılır."}},"parameters":{"ContentTypeHeader":{"name":"Content-Type","in":"header","required":true,"schema":{"type":"string"},"description":"İçerik tipi"}},"schemas":{"GmuEodRequest":{"type":"object","required":["deviceUniqueId"],"properties":{"locale":{"type":"string","description":"Dil kodu. Varsayılan TR"},"conversationId":{"type":"string","description":"Korelasyon ID"},"deviceUniqueId":{"type":"string","description":"Cihaz benzersiz ID. Maksimum 64 karakter"},"useSummary":{"type":"boolean","description":"Özet gün sonu kullanılsın mı"}}},"GmuEodResponse":{"type":"object","properties":{"status":{"type":"string","description":"success veya failure"},"errorCode":{"type":"string","description":"Hata kodu"},"errorMessage":{"type":"string","description":"Hata bilgileri"},"conversationId":{"type":"string","description":"Korelasyon ID"},"systemTime":{"type":"integer","description":"Zaman damgası"},"batchNo":{"type":"string","description":"Kapanan batch numarası"},"resultMessage":{"type":"string","description":"Gün sonu sonuç mesajı"},"tails":{"type":"array","description":"Acquirer bazında gün sonu özet bilgileri","items":{"$ref":"#/components/schemas/TailDto"}}}},"TailDto":{"type":"object","properties":{"acquirerId":{"type":"string","description":"Acquirer banka ID"},"terminalId":{"type":"string","description":"Terminal ID"},"bankMerchantId":{"type":"string","description":"Banka üye işyeri numarası"},"totalTransactionAmount":{"type":"string","description":"Toplam işlem tutarı"},"totalTransactionCount":{"type":"string","description":"Toplam işlem adedi"},"acquirerName":{"type":"string","description":"Banka adı"},"batchNo":{"type":"string","description":"Batch numarası"},"responseCode":{"type":"string","description":"Acquirer yanıt kodu"},"internalErrorCode":{"type":"string","nullable":true,"description":"İç hata kodu varsa"}}}}},"paths":{"/v2/terminal-host/gmu/eod":{"post":{"tags":["GMU Payment"],"description":"GMU cihazı için gün sonu batch close işlemini gerçekleştirir. Cihazın mali günü kapatılır ve acquirer bazında özet rapor döner.\n","parameters":[{"$ref":"#/components/parameters/ContentTypeHeader"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GmuEodRequest"}}}},"responses":{"200":{"description":"Başarılı gün sonu sonucu","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GmuEodResponse"}}}},"400":{"description":"Hatalı istek","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GmuEodResponse"}}}}}}}}}
```


---

# 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/gun-sonu.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.
