Get Recurring Application Charge List

The Get Recurring Application Charge List API is used to retrieve a paginated list of recurring application charges created for the current store. The query can be filtered by charge status and other parameters to narrow down the results.

This API is especially useful for:

  1. Tracking and managing recurring application charges for a store.
  2. Filtering charges based on their status, such as pending, active, or cancelled.
  3. Monitoring the billing and payment lifecycle of recurring charges.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Query Parameters

NameTypeRequiredDescriptionExample
per_pageint32NoLimit per page. Defaults to 20.10
since_idstringNoThe query results are in reverse order, and this parameter limits the results after the specified ID.12345
charges_statusstringNoFilter charges by charge status, separated by commas. Supported statuses: pending, accepted, declined, active, expired, frozen, cancelled, paid_failed, paying.pending,active

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Success Response

FieldTypeDescriptionExample
countintTotal number of charges.1
recurring_application_chargesarrayList of recurring application charges.See example below.
idstringUnique identifier of the charge."372269508187298657"
application_idstringApplication ID associated with the charge."sldcNxrKHePw03HDZb_zfwJAqe07nzvC"
namestringName of the charge."test"
pricestringPrice of the recurring charge."100"
capped_amountstringMaximum amount that can be charged."10"
termsstringTerms of the usage-based billing."terms"
return_urlstringRedirect URL after payment."https://shoplazza.com"
confirmation_urlstringConfirmation URL for the charge."https://test-shoplazza.stg.myshoplaza.com"
statusstringCurrent status of the charge (active, cancelled, etc.)."active"
trial_daysintNumber of trial days for the charge.0
activated_onstringDate when the charge was activated."2024-04-23T00:00:00Z"
billing_onstringNext billing date for the charge."2024-05-23T00:00:00Z"
cancelled_onstringDate when the charge was cancelled, if applicable.null
cancel_sub_onstringDate when the subscription will be cancelled, if applicable.null
testbooleanIndicates if this is a test charge.false
created_atstringDate and time when the charge was created."2024-04-23T06:26:16Z"
updated_atstringDate and time when the charge was last updated."2024-04-23T06:26:16Z"

Error Response

Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.

FieldTypeExampleDescription
errorString "page not found"Indicates an error encountered during the process

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!