# Transaction Status

A Get Transaction Status message is a request to get the details of an already processed transaction.

Endpoint URI:



#### <mark style="background-color:blue;">`Mtn Bénin`</mark>&#x20;

Check  transaction status on mtn if the status on your dashboard is pending



```
POST {context}/QosicBridge/user/gettransactionstatus
```

{% tabs %}
{% tab title="Request" %}
{% code title="Content-Type: application/json[Basic Authentication headers]" overflow="wrap" lineNumbers="true" %}
```json
    {
       "transref" : "12345",
        "clientid": "QOS3P001"
    }
```
{% endcode %}
{% endtab %}

{% tab title="Success" %}
{% code title="" overflow="wrap" lineNumbers="true" %}
```json
{
   "responsecode": "00",
   "responsemsg": "SUCCESSFUL",
   "transref": "12345",
   "comment": "TRANSACTION APPROVED AND PROCESSED SUCCESSFULLY"
 }
```
{% endcode %}
{% endtab %}

{% tab title="Error" %}
```json
{
   "responsecode": "-2",
   "responsemsg": "INVALID CLIENT ID",
   "transref": "12345",
   "comment": "CLIENT ID DOES NOT EXIST"
}
```
{% endtab %}
{% endtabs %}

<mark style="background-color:blue;">`Moov Bénin`</mark>

```url
POST {context}/QosicBridge/user/gettransactionstatus2mv
```

{% tabs %}
{% tab title="Request" %}
<pre class="language-json"><code class="lang-json"><strong>//Content-Type: application/json[Basic Authentication headers]Some code
</strong><strong>{
</strong><strong>    "clientid": "****", 
</strong>    "transref":"xxx811085", 
<strong>    "specialfield1":"82024051400161709"
</strong>}
</code></pre>
{% endtab %}

{% tab title="Success" %}
```json
{
   "responsecode": "00",
   "responsemsg": "SUCCESSFUL",
   "transref": "12345",
   "comment": "TRANSACTION APPROVED AND PROCESSED SUCCESSFULLY"
 }
```
{% endtab %}

{% tab title="Error" %}
```json
{
  "responsecode": "-2",
  "responsemsg": "INVALID CLIENT ID",
  "transref": "12345",
  "comment": "CLIENT ID DOES NOT EXIST"
}
```
{% endtab %}
{% endtabs %}

<mark style="background-color:blue;">`Celtiis Bénin`</mark>

```url
POST {context}/QosicBridge/sb/v1/gettransactionstatus
```

{% tabs %}
{% tab title="Request" %}
<pre class="language-json"><code class="lang-json"><strong>//Content-Type: application/json[Basic Authentication headers]
</strong><strong>
</strong><strong>{
</strong><strong>   "clientid":"***",
</strong><strong>   "transref":"xxx811085"
</strong><strong>}
</strong><strong>
</strong></code></pre>
{% endtab %}

{% tab title="Success" %}
```json
{
   "responsecode": "00",
   "responsemsg": "SUCCESSFUL",
   "transref": "12345",
   "comment": "TRANSACTION APPROVED AND PROCESSED SUCCESSFULLY"
 }
```
{% endtab %}

{% tab title="Error" %}
```json
{
   "responsecode": "-2",
   "responsemsg": "INVALID CLIENT ID",
   "transref": "12345",
   "comment": "CLIENT ID DOES NOT EXIST"
}
```
{% endtab %}
{% endtabs %}



<table><thead><tr><th width="147">Element</th><th width="210">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 Unique generated id provided by Qos</td></tr><tr><td>clientid</td><td><mark style="color:orange;"><code>string:MANDATORY</code></mark></td><td>The transaction reference of the payment transaction</td></tr><tr><td>specialfield1</td><td><mark style="color:orange;"><code>string: MANDATORY</code></mark></td><td>The transaction id in sms  received by operator and it is required</td></tr></tbody></table>

