Get list of subscriptions

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Time range from (inclusive). Local date and time (according to account timezone) on the form yyyy-MM-dd, yyyyMMdd, yyyy-MM-ddTHH:mm, yyyy-MM-ddTHH:mm:ss or yyyy-MM-ddTHH:mm:ss.SSS. Default from if no interval is given depends on the query. If the query limits on relation e.g. customer and/or subscription, the default from will be epoch 1970-01-01, otherwise one month before to

string

Time range to (exclusive). Local date and time (according to account timezone) on the form yyyy-MM-dd, yyyyMMdd, yyyy-MM-ddTHH:mm, yyyy-MM-ddTHH:mm:ss or yyyy-MM-ddTHH:mm:ss.SSS. Defaults to now.

string

Limit from to and interval back in time. E.g. one week. Will take precedence over from. Defined in ISO 8601 duration. See https://en.wikipedia.org/wiki/ISO_8601#Durations

int32
10 to 100
Defaults to 20

Page size between 10 and 100 (default 20)

string

Next page token from previous response to get next page

string
enum
Defaults to created

Time and date attribute to time limit. Can be the created, activated, expired, cancelled, on_hold or reactivated

Allowed:
string

Subscription exact handle

string

Subscription handle prefix

string

Subscription handle contains

string

Customer owning subscription

string

Plan owning subscription

state
array of strings
enum

Subscription state, multiple can be defined. States: active, expired, on_hold, pending, cancelled or active_non_cancelled. The cancelled state matches subscriptions that are active but have been marked for cancellation (still running until period end). The active_non_cancelled state matches subscriptions that are active and have not been marked for cancellation.

string

Custom amount in minor unit interval. See documentation of intervals.

string

Quantity. See documentation of intervals.

string

Activated date interval

string

Cancelled date interval

string

Reactivated date interval

string

Created date interval

string

Renewing flag. Values: true or false

int32

Plan version

string

Amount incl vat test flag. Values: true or false

string

Start date interval

string

End date interval

string

Grace duration in seconds. See documentation of intervals.

string

Current period start date interval

string

Next period start date interval

string

First period start date interval

string

Last period start date interval

string

Trial period start date interval

string

Trial period end date interval

string

In trial flag. Values: true or false

string

Has started flag. Values: true or false

string

Renewal Count. See documentation of intervals.

string

Expired period date interval

expire_reason
array of strings
enum

On hold reason, multiple can be defined. Types: dunning, cancelled,ondemand, and fixed

string

On hold period date interval

on_hold_reason
array of strings
enum

On hold reason, multiple can be defined. Types: ondemand, and dunning

string

Payment method added flag. Values: true or false

string

Whether there is at least one active payment method. Values: true or false

string

Reminder email sent period date interval

string

Failed invoices. See documentation of intervals.

string

Failed amount. See documentation of intervals.

string

Cancelled invoices. See documentation of intervals.

string

Cancelled amount. See documentation of intervals.

string

Pending invoices. See documentation of intervals.

string

Pending amount invoices. See documentation of intervals.

string

Dunning invoices. See documentation of intervals.

string

Dunning amount. See documentation of intervals.

string

Settled invoices. See documentation of intervals.

string

Settled amount. See documentation of intervals.

string

Refunded amount. See documentation of intervals.

string

Pending additional costs. See documentation of intervals.

string

Pending additional cost amount. See documentation of intervals.

string

Transferred additional costs. See documentation of intervals.

string

Transferred additional cost amount. See documentation of intervals.

string

Pending credits. See documentation of intervals.

string

Pending credit amount. See documentation of intervals.

string

Transferred credits. See documentation of intervals.

string

Transferred credit amount. See documentation of intervals.

string

Subscription add-on handle

string

Add-on handle

string

Subscription discount handle

string

Discount handle

string

Coupon handle

string

Payment method id

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json