# Responses

Responses:

| Параметрлер       | Формат | Сипаты                                                                                        |
| ----------------- | ------ | --------------------------------------------------------------------------------------------- |
| result            | Object | Ақпарат қамтылған сұрау салудың нәтижесі                                                      |
| -error\_code      | uint   | Қате коды                                                                                     |
| -message          | String | Қатенің сипаты                                                                                |
| -data             | Object | Деректер туралы ақпарат                                                                       |
| --status\_code    | String | Транзакция мәртебесінің коды                                                                  |
| --status\_message | String | Транзакция мәртебесінің сипаты                                                                |
| --username        | String | Пайдаланушы сәйкестендіргіші                                                                  |
| --amount          | Float  | Есептелген сома                                                                               |
| –datetime         | String | Витрина жүйесіндегі төлем бастамашылығының уақыты. ISO 8601 Current Timestamp форматы         |
| –project          | String | Жобаның Tarlan берген коды                                                                    |
| –service\_code    | String | Витрина жағындағы қызмет сәйкестендіргіші                                                     |
| –external\_id     | String | Витрина жағындағы төлем сәйкестендіргіші                                                      |
| -additional\_data | Object | Қызметке байланысты қайтарылатын қосымша ақпарат (Қызметке байланысты осы жол өзгеруі мүмкін) |

Мысал:

Сәтті сауал кезіндегі жауап:

```go
{
    "result": {
        "error_code" : 0,
        "message": "",
        "data": {
            "status_code": "2",
            "status_message": "Transaction successfully processed",
            "username": "989898",
            "amount": 100,
            "datetime": "2022-12-01T15:45:00Z",
            "project": "mobile",
            "service_code": "201106",
            "external_id": "200001",
        },
        "additional_data":{}
    }
}
```

Транзакция аралық мәртебеге ие болған кезде сценарий кезіндегі жауап:

```go
{
    "result": {
        "error_code" : 0,
        "message": "",
        "data": {
            "status_code": "5",
            "status_message": "Transaction holded by service provider",
            "username": "989898",
            "amount": 90,
            "datetime": "2022-12-01T15:45:00Z",
            "project": "mobile",
            "service_code": "201106",
            "external_id": "200001",
        },
        "additional_data":{}
    }
}
```

Сәтсіз сұрау кезіндегі жауап

```go
{
    "result" : {
        "error_code" : 1042,
        "message": "Duplicate external_id",
        "data": null,
        "additional_data":null
    }
}
```


---

# 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/agws/zh-ie-zhauaptaryny-rylymy/post-showcase-gateway-api-v1-test-cash-in/responses.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.
