> 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-a-payment-order.md).

# Retrieving a Payment Order

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

Retrieves a payment order for a merchant

#### Path Parameters

| Name                                    | Type   | Description             |
| --------------------------------------- | ------ | ----------------------- |
| order<mark style="color:red;">\*</mark> | String | Astral Payment Order ID |

#### Headers

| Name                                            | Type   | Description    |
| ----------------------------------------------- | ------ | -------------- |
| authorization<mark style="color:red;">\*</mark> | String | Astral API Key |

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

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

{% endtab %}

{% tab title="404: Not Found The specified Order ID does not exist" %}

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

{% endtab %}

{% tab title="401: Unauthorized Invalid API Key" %}

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

{% endtab %}
{% endtabs %}
