# Status

With this endpoint you can check your bills payment transaction status.

### Get Transaction Status:

<table><thead><tr><th width="249.94921875">Verb</th><th>URL</th></tr></thead><tbody><tr><td><code>POST</code></td><td><code>{{baseUlr}}/api/bills/status?reference=48934892</code></td></tr></tbody></table>

{% tabs %}
{% tab title="Get Status" %}

<pre class="language-javascript"><code class="lang-javascript">curl --location 'https://api.smarthivesms.com/api/bills/status?reference=48934892' \
--header 'Content-Type: application/json' \
<strong>--header 'x-api-key: &#x3C;API KEY>' \
</strong></code></pre>

{% endtab %}

{% tab title="200 OK Response" %}
{% code overflow="wrap" %}

```json
{
    "status":"ok",
    "description":"The request has succeeded",
    "data":{
        "transaction_id":"696071665868f6762282c5a6",
        "recipient":"09066290713",
        "transactionReference":"28912819",
        "status":"transaction was successful",
        "statusCode":"000"
        }
}
```

{% 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://smarthive-tech-solution.gitbook.io/smarthive-tech-solution-api/bills-payment/status.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.
