# Transaction Status

Before giving value for any charge, it's advised to use the transaction status api below to verify the final status of the charge, using the transaction reference supplied during the charge initiation.

When verifying a transaction, the following should be checked:

* Confirm both the value of the payment and the destination currency are correct.
* Confirm the status of the transaction is successful.

### Check transaction status

> <mark style="color:yellow;">**`POST`**</mark> - <mark style="color:$primary;">{{env\_url}}/nucleus/tnx/merchant/status</mark>

#### Request Body

| Name                                     | Type   | Description           |
| ---------------------------------------- | ------ | --------------------- |
| tnxRef<mark style="color:red;">\*</mark> | String | Transaction reference |

```
{
    "tnxRef": "6e003f69-55e3-4117-aa7a-f4259ad227ae"
}
```

#### Response Body

{% tabs %}
{% tab title="200: OK " %}

```jsonl
{
    "txRef": "6e003f69-55e3-4117-aa7a-f4259ad227ae",
    "destinationCurrency": "NGN",
    "sourceAmount": 2500.000000,
    "sourceCurrency": "NGN",
    "status": "successful",
    "destinationAmount": 2500.000000,
    "customer": {
        "id": 6132,
        "name": Demo Tester,
        "email": "test@klasha.com",
        "phone": "09012332122",
        "createdAt": "2022-01-24 13:25:31",
        "updatedAt": "2022-01-24 13:25:31"
    }
}
```

{% endtab %}

{% tab title="400: Bad Request " %}

```javascript
{
   "error": "Transaction not found."
}
```

{% endtab %}
{% endtabs %}
