# List payments

Payment outcomes: succeeded or failed, with the order ID. In-progress attempts are not returned.

```http
GET https://larm.sa/stores/{storeId}/v1/payments
```

Scope: `payments:read`

Each payment has exactly `id`, `order_id`, `status` and `created_at`. There is no gateway, amount, currency or card data. A later refund appears on the order as `payment_status: refunded`.

## Query parameters

| Field | Type | Required | Description |
|---|---|---|---|
| `limit` | integer = 25 | no | Number of items per page. |
| `cursor` | string | no | The meta.next_cursor value from the previous page. Valid for 15 minutes and bound to the same filters. |


## Response

| Field | Type | Required | Description |
|---|---|---|---|
| `data` | array<object> | yes |  |
| `data[].id` | string | yes |  |
| `data[].order_id` | string \| null | yes |  |
| `data[].status` | string | yes | Payment outcome: succeeded or failed. In-progress attempts are not returned. One of: `succeeded`, `failed`. |
| `data[].created_at` | string (date-time) | yes |  |
| `meta` | object | yes |  |
| `meta.next_cursor` | string \| null | no | Cursor for the next page, or null on the last page. |
| `meta.request_id` | string (uuid) | no |  |


## Example request

```bash
curl -X GET "https://larm.sa/stores/$STORE_ID/v1/payments" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```


## Example response (200)

```json
{
  "data": [
    {
      "id": "88412",
      "order_id": "ord_8Kd2",
      "status": "succeeded",
      "created_at": "2026-10-15T09:12:58Z"
    }
  ],
  "execution": {
    "appId": "1f2e3d4c-5b6a-4978-8695-a4b3c2d1e0f9",
    "versionId": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "installationId": "c7e4a1f2-6b3d-4e8a-9c05-1d2f3a4b5c6d",
    "storeId": "5b1d7a62-0c4e-4f38-9a51-2e7b3c9d8f10",
    "requestId": "3f0c2b8e-7a51-4c1e-9d0a-5b6f1e2d4c3a",
    "generation": 1,
    "routeEpoch": 4,
    "appAuthEpoch": 1,
    "grantRevision": 2
  },
  "meta": {
    "next_cursor": null,
    "request_id": "3f0c2b8e-7a51-4c1e-9d0a-5b6f1e2d4c3a"
  }
}
```


## Errors

| HTTP | Code | Meaning |
|---|---|---|
| 403 | `SCOPE_REQUIRED` | The token does not carry the required scope. |
| 503 | `APPS_SCOPE_RUNTIME_NOT_READY` | The resource is not enabled on this merchant's store yet. |
