# Query Collection Status

<mark style="color:green;">`POST`</mark> `/` `collectionrefNumStatus`

The request should include the transaction\_id in the raw request body.

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |
| Token        | `<token>`          |

**Body**

<table><thead><tr><th width="223">Name</th><th width="192">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>transaction_id</code></td><td>string</td><td>YP Transaction Code of the transaction to be viewed.</td></tr><tr><td><code>reference</code></td><td>string</td><td>A reference unique to your system</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="Request" %}

```json
{        
    "transaction_id": "106cf69d717b3c9188a5",
    "reference": "CollectionTest1"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
    "success": true,
    "message": "Transaction completed Successfully",
    "status_code": 100,
    "transaction_id": "106cf69d717b3c9188a5",
    "transaction_amount": 100,
    "transaction_reference": "CollectionTest1",
    "debited_account": "233540000000",
    "sender_name": "Errol Yogu",
    "transaction_status": "Successful",
    "command_status": "ok",
    "received_from": ""
}
```

{% endtab %}
{% endtabs %}
