Skip to main content
Version: v3

List Subscriptions

GET 

/payments/subscriptions

The "List Subscriptions" API allows to retrieve a paginated list of subscriptions. Customize your results by filtering subscriptions based on name, alt type, subscription status, payment mode, date range, type of source, contact, subscription id, entity id, contact or paginate through the list using the provided query parameters. This endpoint provides a straightforward way to explore and retrieve subscription information.

Request

Version stringrequired

API Version

Available optionsv3
altId stringrequired

AltId is the unique identifier e.g: location id.

altType stringrequired

AltType is the type of identifier.

Available optionslocation
entityId string

Entity id for filtering of subscriptions.

paymentMode string

Mode of payment.

startAt string

Starting interval of subscriptions.

endAt string

Closing interval of subscriptions.

entitySourceType string

Source of the subscriptions.

search string

The name of the subscription for searching.

contactId string

Contact ID for the subscription

id string

Subscription id for filtering of subscriptions.

limit number

The maximum number of items to be included in a single page of results

Default value:10
offset number

The starting index of the page, indicating the position from which the results should be retrieved.

Default value:0
getPaymentsCollectedCount boolean

Get the total payments collected for the subscription.

application/json

Successful response

Schema
    dataobject[]required

    An array of subscriptions

    totalCountnumberrequired

    total subscriptions count