# Order History  & Status

You can use this endpoint to make two types of query

* Query a single transaction: To know more about a transaction status, you can use the **"search\_partner\_order\_ref"** to query the transaction. If you are using this key, ignore the start and end date parameters
* Query using date range: If you want to see all the history of activities on your wallet between a date range use the "start\_date" & "end\_date". While using this key, ignore the **search\_partner\_order\_ref**

### Get Single Order Endpoint

## This is used to get the details of a single order

<mark style="color:blue;">`GET`</mark> `https://exchanger-api.fuspay.finance/api/v1/no-auth/Axis/GetOrder/`

#### Query Parameters

| Name                                          | Type   | Description                                 |
| --------------------------------------------- | ------ | ------------------------------------------- |
| order\_type<mark style="color:red;">\*</mark> | String | "buy or sell"                               |
| order\_no<mark style="color:red;">\*</mark>   | String | This is the order number of the transaction |

#### Headers

| Name                                            | Type   | Description                    |
| ----------------------------------------------- | ------ | ------------------------------ |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer ${partner\_secret\_key} |
| x-partner-id<mark style="color:red;">\*</mark>  | String | "pxxxxxx"                      |

{% tabs %}
{% tab title="200: OK Successful Transfer or Failed Transfer" %}
{% code overflow="wrap" lineNumbers="true" fullWidth="true" %}

```javascript
{
     success: true,
     message: string,
     data: {
     .....
     }
     }
```

{% endcode %}
{% endtab %}
{% endtabs %}

### Get Multiple Order Endpoint

## This is used to get the details of multiple orders.

<mark style="color:blue;">`GET`</mark> `https://exchanger-api.fuspay.finance/api/v1/no-auth/Axis/OrderHistory/`

#### Query Parameters

| Name                                          | Type   | Description         |
| --------------------------------------------- | ------ | ------------------- |
| order\_type<mark style="color:red;">\*</mark> | String | "buy or sell"       |
| date\_from<mark style="color:red;">\*</mark>  | String | "2024-03-01 16:000" |
| date\_to<mark style="color:red;">\*</mark>    | String | "2024-03-02 16:000" |

#### Headers

| Name                                            | Type   | Description                      |
| ----------------------------------------------- | ------ | -------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | "Bearer ${partner\_secret\_key}" |
| x-partner-id<mark style="color:red;">\*</mark>  | String | "pxxxxxx"                        |

{% tabs %}
{% tab title="200: OK Successful Transfer or Failed Transfer" %}
{% code overflow="wrap" lineNumbers="true" fullWidth="true" %}

```javascript
{
     success: true,
     message: string,
     data: {
     .....
     }
     }
```

{% 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://axis-docs.fuspay.finance/order-history-and-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.
