# Status de la transaction

Une requête (Get Transaction Status) permet d'obtenir les détails d'une transaction déjà effectuée.

Endpoint URI:

<mark style="color:green;">`POST`</mark> [`https://api.qosic.net/QosicBrigde/checkout/v1/status`](https://api.qosic.net/QosicBrigde/checkout/v1/status)

<table><thead><tr><th width="113">Element</th><th width="204">Type</th><th>Decription</th></tr></thead><tbody><tr><td>transref</td><td><mark style="color:orange;"><code>string:MANDATORY</code></mark></td><td>The transaction reference of the payment transaction</td></tr><tr><td>qoskey</td><td><mark style="color:orange;"><code>string:MANDATORY</code></mark></td><td>The Unique key generated id provided by Qos</td></tr></tbody></table>

{% tabs %}
{% tab title=" Request" %}
{% code title="Content-Type: application/json\[Basic Authentication  headers ]" lineNumbers="true" %}

```json5
 { 
     "qoskey" : "..",
     "transref" : ".."
 }
```

{% endcode %}
{% endtab %}

{% tab title="Success" %}
{% code overflow="wrap" lineNumbers="true" %}

```json
        {
            "responsecode": "00",
            "responsemsg": "SUCCESSFUL",
            "transref": "12345",
            "comment": ""
          }
```

{% endcode %}
{% endtab %}

{% tab title="Error" %}
{% code title="" overflow="wrap" lineNumbers="true" %}

```json
          {
                “responsecode”: “-2”,
                “responsemsg”: “INVALID qoskey ,
                “transref”: “12345”,
                “comment”: qoskey ID DOES NOT EXIST”
            }
```

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


---

# 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://qosic.gitbook.io/qospay/checkout/status-de-la-transaction.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.
