# Status(Read)

### 1. Check Status

You will need to know how to check payment status for an order by its Id with, you will need to make a POST request to the `/orders/status/{id}` endpoint with your `id`. Make sure to fill in the required fields in the request body.

```http
POST /api/solanaplay/orders/status/{id}
```

Request body:

```json
{
  "id": "unique-status-id"
}
```

\
Response examples:\
You will receive response 200(success) :

```json
{
  "confirmed": true,
  "message": "string",
  "txSignature": "string"
}

```

Or a default message error:

```json
{
  "error": {
    "code": 0,
    "message": "error-message"
  }
}
```

If the order is confirmed, you will receive a `confirmed: true` value in the response, along with a message and transaction signature.. If in the event of an error a default message will occur.&#x20;


---

# 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://moonshine-labs.gitbook.io/solanaplay/status-read.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.
