> For the complete documentation index, see [llms.txt](https://developer.paywall.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.paywall.one/odeme-servisi/17.-pazaryeri/4.-manuel-tetikleme/2.-baslat.md).

# 2. Başlat

## Ödeme Emri Başlat

<mark style="color:green;">`POST`</mark> `{{Base Adres}}/api/paywall/marketplace/manual/trigger/start`

{% hint style="info" %}
Önemli: **Ödeme Emri Başlat** servisini kullanabilmeniz için 'Header' alanında '**apikeypublic**' ve '**apiclientpublic**' parametrelerini göndermeniz gerekmektedir.\
\
[<mark style="color:green;">**PaymentAPI Adresi**</mark>](/ortam.md)
{% endhint %}

<table><thead><tr><th width="188">Parametre</th><th width="79">Tip</th><th width="107">Zorunlu</th><th width="403">Açıklama</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Evet</td><td>Üye işyeri panelinden temin etmiş olduğunuz Public Key.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Evet</td><td>Üye işyeri panelinden temin etmiş olduğunuz Public Client.</td></tr></tbody></table>

**Servise gönderilmesi gereken parametreler şu şekildedir:**

<table><thead><tr><th width="191">Parametre</th><th width="106">Tip</th><th width="89">Zorunlu</th><th width="336">Açıklama</th></tr></thead><tbody><tr><td>CurrencyId</td><td>short</td><td>Evet</td><td><a href="/pages/bahfUMz1dqpN1ZCnpVtM">Para Birimi</a></td></tr><tr><td>DateFrom</td><td>datetime</td><td>Evet</td><td>Başlangıç tarihi<br><br>Format: yyyy-MM-dd</td></tr><tr><td>DateTo</td><td>datetime</td><td>Evet</td><td>Başlangıç tarihi<br><br>Format: yyyy-MM-dd</td></tr><tr><td>TestMode</td><td>bool</td><td>Hayır</td><td>Normal şartlarda ödeme başlatma servisi DateTo parametresinin en büyük dün tarihini almasına izin verir. Yani 2024-05-05'de verilen emir için DateTo maksimum 2024-05-04 olabilir. Çünkü bugün için ödemeler gerçekleşmeye deam edebilir. Ancak TestMode true gönderildiğinde bu kontrol atlanır</td></tr><tr><td>SkipExistsControl</td><td>bool</td><td>Hayır</td><td>Verilen dağıtma emirlerindeki DateFrom ve DateTo tarihlerine dikkat edilmelidir. Verilen bir ödeme emrinin DateFrom değeri 2024-05-01 ve DateTo değeri 2025-05-30 ise ve bu emir başarılı sonuçlandıysa, tekrar aynı tarihler veya aynı tarihler içerisindeki bir tarih için emir verilemez. Ancak bu parametreyle ilgili kontrolü atlayabilirsiniz. <br><br><mark style="color:red;">Kontrolü atlandığı durumdaki tüm risk yönetimi üye işyerindedir</mark></td></tr></tbody></table>

**Servise gönderilecek örnek&#x20;**<mark style="color:green;">**JSON**</mark>**&#x20;ve&#x20;**<mark style="color:green;">**örnek kodlar**</mark>**&#x20;aşağıdaki gibidir.**

{% tabs %}
{% tab title="JSON" %}
{% code lineNumbers="true" %}

```json5
{
    "CurrencyId": 1,
    "DateFrom": "2024-07-04",
    "DateTo": "2024-07-06",
    "TestMode": false,
    "SkipExistsControl": false
}
```

{% endcode %}
{% endtab %}

{% tab title="C#" %}

```csharp
// Soon
```

{% endtab %}

{% tab title="GO" %}

```go
// Soon
```

{% endtab %}

{% tab title="Java" %}

```java
// Soon
```

{% endtab %}

{% tab title="PHP" %}

```php
// Soon
```

{% endtab %}

{% tab title="Python" %}

```python
// Soon
```

{% endtab %}

{% tab title="Ruby" %}

```ruby
// Soon
```

{% endtab %}

{% tab title="TypeScript" %}

```typescript
// Soon
```

{% endtab %}

{% tab title="Curl" %}

```sh
// Soon
```

{% endtab %}
{% endtabs %}

**Servisten dönen cevap:**

<table><thead><tr><th width="189">Parametre</th><th width="100.33333333333331">Tip</th><th>Açıklama</th></tr></thead><tbody><tr><td>ErrorCode</td><td>int</td><td>Hata kodu. İşlem başarılı ise '0' değerini döner.</td></tr><tr><td>Result</td><td>bool</td><td>True ya da false değeri döner. İşlem başarılı iste 'true' değerini döner.</td></tr><tr><td>Message</td><td>string</td><td>İşlem hatalıysa, bu hataya dair belirtilen mesajdır, locale parametresine göre dil desteği sunar.</td></tr><tr><td>Body</td><td>nesne</td><td>İşlem detay bilgileri</td></tr></tbody></table>

{% tabs %}
{% tab title="JSON" %}
{% code lineNumbers="true" %}

```json
{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "JobId": "2501b2de-1e4f-48f9-8263-5bc51b92e193", // İşlem takip kodu
        "DateFrom": "2024-06-01T00:00:00",
        "DateTo": "2024-06-07T00:00:00",
        "Earning": 9400.0000,
        "Count": 1
    }
}
```

{% endcode %}
{% endtab %}
{% endtabs %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.paywall.one/odeme-servisi/17.-pazaryeri/4.-manuel-tetikleme/2.-baslat.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
