> 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/fiziki-pos/terminal-api-entegrasyonu/vuk-507-servisleri/gun-sonu.md).

# 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ı"}},"title":"GmuEodRequest"},"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"}}},"title":"GmuEodResponse"},"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"}},"title":"TailDto"}}},"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
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/fiziki-pos/terminal-api-entegrasyonu/vuk-507-servisleri/gun-sonu.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.
