# List payment pages

> GET /v1/payment-pages returns your payment page selectors, one per team and selector, with the domains each one applies to, page by page.

Source: https://docs.scriptmonitoring.com/api/payment-pages/list/ · Plan: All plans · Updated 2026-11-08

`GET /v1/payment-pages` lists the payment page selectors in your organization, or in one team, with a cursor for paging: the same list you edit in Setup step 4 (see [Payment pages](https://docs.scriptmonitoring.com/payment-pages/)). Pass `payment_page` to look up one selector. Needs the `payment_pages:read` scope; any `payment_pages:*` scope can look up a single `payment_page`. Organization keys see every team; a team key sees its own team only.

With an organization key, for one team:

```shell
curl "https://data.scriptmonitoring.com/v1/payment-pages/?team_id=YOUR_TEAM_ID&limit=50" \
  -H "Authorization: Bearer sm_org_14829305716342_…"
```

With a team key, which always reads its own team:

```shell
curl "https://data.scriptmonitoring.com/v1/payment-pages/?limit=50" \
  -H "Authorization: Bearer sm_team_10937462815530_…"
```

## Which keys work?

| Key | Accepted |
| --- | --- |
| Organization key (`sm_org_…`) | Yes: every team in the organization, or one with `team_id`. |
| Team key (`sm_team_…`) | Yes: its own team only. A `team_id` for any other team gets `404 team_not_found`. |

A missing, mistyped or revoked key, a key whose prefix doesn't match its type, or a key created before the `sm_org_` / `sm_team_` format gets `401` with this body:

```json
{ "error": "unauthorized", "message": "Missing or invalid bearer token." }
```

## Query parameters

| Name | Description |
| --- | --- |
| `team_id` | Restrict to one team. It must belong to the key's organization; with a team key, it can only be the key's own team. |
| `payment_page` | Exact selector to look up. A trailing slash or query string is ignored, as when you add one. |
| `limit` | Page size, 1 to 100 (default 50). |
| `cursor` | The `next_cursor` from the previous page. |

## Response

```json
{
  "data": [
    {
      "teamId": "14827391650423",
      "paymentPage": "shop.example.com/checkout",
      "domains": ["shop.example.com"]
    }
  ],
  "next_cursor": null
}
```

There is one entry per team and selector. Teams come in the order they were created, and each team's selectors are sorted. `domains` lists the hostnames of the team's domains the selector applies to; it is empty when no domain in the team matches. Pass `paymentPage` as is to [Delete payment pages](https://docs.scriptmonitoring.com/api/payment-pages/delete/). Errors: `400` (`invalid_request`, `invalid_cursor`), `401`, `403`, `404 team_not_found`, `429`, `503`.

## Related

- [REST API](https://docs.scriptmonitoring.com/api/)
- [Add a payment page](https://docs.scriptmonitoring.com/api/payment-pages/create/)
- [Delete payment pages](https://docs.scriptmonitoring.com/api/payment-pages/delete/)
