> For the complete documentation index, see [llms.txt](https://docs.astral.money/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.astral.money/developers/retrieving-all-payment-orders-for-a-merchant.md).

# Retrieving All Payment Orders For A Merchant

<mark style="color:blue;">`GET`</mark> `api.pay.astral.money/api/v1/orders`

Retrieves all payment orders for a given merchant

#### Query Parameters

| Name                                           | Type   | Description                   |
| ---------------------------------------------- | ------ | ----------------------------- |
| merchant\_id<mark style="color:red;">\*</mark> | String | The Astral ID of the merchant |

{% tabs %}
{% tab title="200: OK Array of orders for a given merchant ID" %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}
