# List subscriptions

Returns your subscriptions, newest first. Cursor-paginated.

Endpoint: GET /subscriptions
Security: ClientKey, SecretKey

## Security:

  - `ClientKey` (unknown)
    apiKey in header X-Dime-Client

  - `SecretKey` (unknown)
    http bearer

## Query parameters:

  - `limit` (integer)
    How many records to return, 1–100.

  - `starting_after` (string)
    Return records after this one. Pass the `token` of the last record on
the previous page to walk forward.

  - `ending_before` (string)
    Return records before this one, to walk backward. Pass the `token` of
the first record on the page you have.

  - `status` (string)
    Filters to subscriptions in this exact status.

  - `currency` (string)

## Response 200:

  - `200` (unknown)
    A page of subscriptions.

## Response 200 fields (application/json):

  - `object` (string, required)
    Enum: "list"

  - `data` (array, required)

  - `data.object` (string)
    Enum: "subscription"

  - `data.token` (string | null)
    Identifies the subscription. Use it in URLs and as `token` in the
cancel, pause, resume and reinstate requests.
    Example: sub_pESz9qv3_M4rhjWUy_KMaAVBqb_XyCKvmZ

  - `data.status` (string)
    You can set `ACTIVE`, `PAUSED` or `CANCELLED` with
`PUT /subscriptions/cancel`. Dime sets the others.
    Enum: "ACTIVE", "PAUSED", "CANCELLED", "COMPLETE", "PENDING", "PENDING_CANCELLATION", "SUSPENDED", "TRIALING"

  - `data.frequency` (string)
    Enum: "WEEKLY", "MONTHLY", "YEARLY"

  - `data.billing_cycles` (integer | null)
    Charges remaining after the first. `null` when it runs until cancelled.
    Example: 11

  - `data.end_type` (string | null)
    `CANCEL` runs until cancelled; `CYCLE` stops after `billing_cycles`.
    Enum: "CANCEL", "CYCLE", "null"

  - `data.currency` (string)
    Enum: "USD", "JMD", "GBP", "EUR", "TTD", "BBD", "XCD", "GYD", "SRD"

  - `data.amount` (number | null)
    Example: 1100

  - `data.customer_id` (string | null)
    The customer's `token`, when one is attached.
    Example: cus_2ex3bH8t_I8wppHr5_nnWIbSOb_0xGEWoW

  - `data.start_date` (string | null)
    Example: 2026-08-26T00:48:52.252Z

  - `data.end_date` (string | null)
    Example: 2027-08-26T00:48:52.252Z

  - `data.next_billing_date` (string | null)
    Example: 2026-09-26T00:48:52.252Z

  - `data.paused` (boolean)
    Whether the next billing cycle will be skipped.
    Example: false

  - `data.paused_days` (integer | null)
    Days the next cycle was pushed out by, when paused.
    Example: 14

  - `data.created_at` (string)
    Example: 2026-08-26T00:48:52.252Z

  - `has_more` (boolean, required)
    Example: true

## Response 400:

  - `400` (unknown)
    The request was rejected.

## Response 400 fields (application/json):

  - `error` (object, required)

  - `error.type` (string, required)
    Which kind of failure occurred. Always one of four values, so
a client can branch on `type` before reading `code`.
    Enum: "invalid_request_error", "card_error", "idempotency_error", "api_error"

  - `error.code` (string, required)
    Example: parameter_missing

  - `error.message` (string, required)
    Example: Order ID is required.

  - `error.param` (string)
    The field that caused the failure, when applicable.
    Example: id

## Response 401:

  - `401` (unknown)
    The client key or secret key was missing, not recognized, or the two do not belong to the same key.

## Response 401 fields (application/json):

  - `error` (object, required)

  - `error.type` (string, required)
    Which kind of failure occurred. Always one of four values, so
a client can branch on `type` before reading `code`.
    Enum: "invalid_request_error", "card_error", "idempotency_error", "api_error"

  - `error.code` (string, required)
    Example: parameter_missing

  - `error.message` (string, required)
    Example: Order ID is required.

  - `error.param` (string)
    The field that caused the failure, when applicable.
    Example: id

## Response 200 examples:

  - `A page of subscriptions` (unknown)

## Response 400 examples:

  - `A required field was absent` (unknown)

## Response 401 examples:

  - `unauthorized` (unknown)

  - `Client key sent without its secret key` (unknown)

