---
title: "Read all billing attempts"
method: GET
path: "/2023-10/billingAttempt"
---

# Read all billing attempts

`GET /2023-10/billingAttempt`

## Query parameters

- `pageNo` integer
- `pageSize` integer
- `createdAtStartEpoch` string
- `createdAtEndEpoch` string

## Response `200`

- object
  - `success` boolean — Indicates whether the request was processed successfully.
  - `message` string — A message describing the result of the request.
  - `data` object[] — A list of billing attempts matching the requested criteria.
    - `shopifyId` integer — The unique identifier of the billing attempt in Shopify.
    - `errorCode` string — The error code returned when the billing attempt fails. Returns null for successful billing attempts.
    - `errorMessage` string — A human-readable description of the billing failure. Returns null for successful billing attempts.
    - `orderId` integer — The unique internal identifier of the order in Loop associated with the billing attempt.
    - `idempotencyKey` string — A unique key used to identify and prevent duplicate billing attempts.
    - `subscriptionShopifyId` integer — The Shopify ID of the subscription associated with the billing attempt.
    - `orderShopifyId` unknown
    - `createdAt` string — The timestamp when the billing attempt was created, in ISO 8601 format.
    - `status` string — The current status of the billing attempt.
  - `code` string — The response code indicating the outcome of the request.
  - `pageInfo` object — Contains pagination metadata for the response.
    - `hasNextPage` boolean — Indicates whether additional pages of billing attempts are available.
    - `hasPreviousPage` boolean — Indicates whether a previous page of billing attempts is available.

---

[API](https://skmtc.dev/loopwork/apis/storefront-api.md) · [All operations](https://skmtc.dev/loopwork/apis/storefront-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loopwork/storefront-api/revisions/1524500daa02/schema)
