> ## Documentation Index
> Fetch the complete documentation index at: https://gateway.wasmou.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Orders

> One order history across every service.

## Get all orders

Get your order history from all services in one endpoint, newest first.

**Endpoint:** `GET /api/orders`

```json Response theme={"dark"}
{
  "status": "success",
  "message": "Orders retrieved",
  "data": [
    {
      "type": "product",
      "order_id": "1234567890123456789",
      "product_name": "Steam Wallet",
      "variant_name": "Steam Wallet 10 USD",
      "price": 1425.00,
      "status": "completed",
      "created_at": "2026-10-03T09:00:00.000000Z"
    }
  ]
}
```

## Service types

| `type` | Description | Status values |
| - | - | - |
| `product` | Catalog products | `processing`, `completed`, `delivered`, `failed`, `refunded`, `canceled` |

## Fields by type

### Product

`product_name`, `variant_name`. To read the delivered code, call [`GET /api/products/order/{orderId}`](https://gateway.wasmou.net/services/products#4-retrieve-order-keys).

## Example

```bash theme={"dark"}
curl -X GET "https://api.wasmou.net/api/orders" -H "X-Api-Key: your_api_key"
```

> [!NOTE]
>
> The endpoint returns your full history; filter and sort on your side. Use it to double-check whether a purchase went through after a timeout, before retrying.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.