# Фискалдық чек алу

<mark style="color:green;">`GET`</mark> `https://agwsapi.tarlanpayments.kz/fiscalization/api/v1/payment/fiscalization/order`&#x20;

### Headers

<table><thead><tr><th width="316.6666259765625">Name</th><th>Value</th></tr></thead><tbody><tr><td>Content-Type</td><td><code>application/json</code></td></tr><tr><td>X-Signature</td><td>Авторизациялық хэш</td></tr></tbody></table>

### Query Params

| Key                     | Description                                     |
| ----------------------- | ----------------------------------------------- |
| provider\_order\_id     | Қызмет көрсетуші жағындағы төлем идентификаторы |
| provider\_code          | Код поставщика услуг                            |
| provider\_service\_code | Код услуги поставщика услуг                     |

### Response body parameters

<table><thead><tr><th width="168.3333740234375">Name</th><th width="141">Type</th><th>Description</th></tr></thead><tbody><tr><td>status</td><td>boolean</td><td>Сұрауды өңдеу күйі</td></tr><tr><td>status_code</td><td>uint</td><td>Қате коды</td></tr><tr><td>message</td><td>string</td><td>Қате сипаттамасы</td></tr><tr><td>result</td><td>object</td><td>Сұрау нәтижесін сақтайтын Объект</td></tr><tr><td>-fiscal_number</td><td>string</td><td>Чектің фискалдық белгісі</td></tr><tr><td>-fiscal_check_url</td><td>string</td><td>Фискалдық чекті көрсету сілтемесі</td></tr></tbody></table>

{% tabs %}
{% tab title="200: OK Сәтті жауаптың мысалы" %}

```
{
    "status": true,
    "message": "Success",
    "result": {
        "fiscal_number": "123456789123",
        "fiscal_check_url": "https://link.kz"
    }
}
```

{% endtab %}

{% tab title="400: Bad Request Қате жауаптың мысалы" %}

```
{
    "status": false,
    "status_code": 1014,
    "message": "Invalid signature",
    "result": {}
}
```

{% endtab %}
{% endtabs %}

```bash
curl --location 'https://agwsapi.tarlanpayments.kz/fiscalization/api/v1/payment/fiscalization/order?provider_order_id=pr10010&provider_code=code&provider_service_code=service_code'
--header 'X-Signature: 3eec10e27f3b9ee198d2edfbf7ff7bce431940d88ed4201assadzxczxczxasd'
```


---

# 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.tarlanpayments.kz/az/fiskaldy-chek-alu.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.
