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

# Intents for order

> every intent for one order

> [!WARNING]
>
> **Confirm your deployment before running this request.** This page describes an API contract;
> a published reference does not establish hosted availability. Check the dated
> [host report](/api-reference/hosts) and obtain your deployment URL and credentials.
> Replace the example host if your provisioned service uses a different URL.

Every intent for one order.

### Path parameters

**order\_id** `string (uuid)` *required*

Order id

### Response

`IntentResponse[]` — each element:

**amount** `integer (int64)` *required*

Minimum: `0`.

**amount\_decimal** `string` *required*

Exact decimal amount, rendered as a string.

**asset** `string` *required*

**block\_number** `integer,null (int64)`

Minimum: `0`.

**cart\_id** `string,null`

**chain\_id** `integer (int64)` *required*

Minimum: `0`.

**created\_at** `string` *required*

**id** `string` *required*

**invoice\_id** `string,null`

**network** `string` *required*

**nonce** `integer (int64)` *required*

Minimum: `0`.

**order\_id** `string,null`

**payee\_address** `string` *required*

**payer\_address** `string` *required*

**status** `string` *required*

**tx\_hash** `string,null`

**updated\_at** `string` *required*

**valid\_until** `integer (int64)` *required*

Minimum: `0`.

### Status codes

| Code | Meaning |
| - | - |
| `200` | — |

### Using this contract

Read the [source OpenAPI document](/spec/stateset-icommerce.json) for declared schemas and alternatives.
This page also includes documented corrections from the [spec overlays](https://github.com/stateset/docs/tree/main/spec/overlays).
Example IDs and values are illustrative; replace them with records from your workspace.

```bash cURL theme={null}
curl --silent --show-error --fail-with-body --request GET \
  --url 'https://api.stateset.com/api/v1/x402/orders/{order_id}/intents' \
  --header 'Authorization: Bearer YOUR_API_KEY'
```

```json 200 theme={null}
[
  {
    "amount": 49,
    "amount_decimal": "string",
    "asset": "string",
    "block_number": 1001,
    "cart_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "chain_id": 1001,
    "created_at": "2026-08-31T14:22:05Z",
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "invoice_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "network": "string",
    "nonce": 1,
    "order_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "payee_address": "548 Market St",
    "payer_address": "548 Market St",
    "status": "pending",
    "tx_hash": "string",
    "updated_at": "2026-08-31T14:22:05Z",
    "valid_until": 1
  }
]
```


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