> For the complete documentation index, see [llms.txt](https://capitalsage.gitbook.io/sagecloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://capitalsage.gitbook.io/sagecloud/requery.md).

# Re-query

Re-query transactions carried out

## Transaction re-query

<mark style="color:green;">`POST`</mark> `https://sagecloud.ng/api/v2/transaction/requery`

This endpoint allows you to make a transaction re-query.

#### Headers

| Name          | Type   | Description             |
| ------------- | ------ | ----------------------- |
| Authorization | string | Check the Headers page. |

#### Request Body

| Name      | Type   | Description               |
| --------- | ------ | ------------------------- |
| reference | string | The transaction reference |

{% tabs %}
{% tab title="200 Transaction successfully retrieved.
status: successful, pending or failed. " %}

```
{
    "success": true,
    "message": "Transaction found",
    "transaction": {
        "reference": "XXXXXXX",
        "status": "successful",
        "date": "2020-03-01T14:30:03.000000Z"
    }
}
```

{% endtab %}
{% endtabs %}
