Read all billing attempts

get/2026-04/billingAttempt

Request

  • Base URL
    https://api.loopsubscriptions.com/admin
  • URL
    https://api.loopsubscriptions.com/admin/2026-04/billingAttempt
  • Auth
    API key in header X-Loop-Token

Query parameters

afterCursorinteger

The cursor returned in the previous response. Use the nextCursor value from that response to fetch the next page of results.

pageSizeinteger

The number of records to return per page.

createdAtStartEpochinteger

Start of the time range (in epoch) for filtering billing attempts based on their createdAt date

createdAtEndEpochinteger

End of the time range (in epoch) for filtering billing attempt based on their createdAt date.

Response

Billing attempts fetched successfully

successboolean
messagestring
codestring

Example response

{
  "success": true,
  "message": "Billing attempted fetched successfully",
  "data": [
    {
      "id": 122749944,
      "shopifyId": 267157667936,
      "errorCode": "PAYMENT_PROVIDER_IS_NOT_ENABLED",
      "errorMessage": "Payment provider not enabled",
      "orderId": 322938718,
      "idempotencyKey": "Priority:81011867744-kFgLt-r9",
      "subscriptionShopifyId": 81011867744,
      "createdAt": "2026-08-11T11:24:30.000Z",
      "status": "FAILED"
    }
  ],
  "code": "SUCCESS",
  "pageInfo": {
    "hasNextPage": true,
    "nextCursor": "eyJsYXN0SWQiOjExOTYwMzI5NCwiZW50aXR5IjoiYmlsbGluZ0F0dGVtcHQiLCJkb21haW5TbHVnIjoicHJhbmphbDItdGVzdCJ9"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.