This API fetches all the active and archived plans. If the limit parameter is not set, it will return upto 10 plans.
Sample Request
Sample Result[JSON]
URL Format
Input Parameters
Filter Params
optional, in cents filter
The price of the plan. The unit depends on the type of currency . Supported operators : is, is_not, lt, lte, gt, gte, between
Example → price[gte] = "1200"
1200optional, enumerated string filter
Defines billing frequency in association with billing period. Possible values are : day, week, month, year.
Supported operators : is, is_not, in, not_in
Example → period_unit[is] = "month"
monthoptional, enumerated string filter
Indicates if all or only some addons are applicable with the plan. Possible values are : all, restricted.
Supported operators : is, is_not, in, not_in
Example → addon_applicability[is] = "all"
alloptional, enumerated string filter
Defines how the recurring charges for the subscription is calculated. Possible values are : flat_fee, per_unit, tiered, volume, stairstep.
Supported operators : is, is_not, in, not_in
Example → pricing_model[is] = "flat_fee"
flat_feeoptional, timestamp(UTC) in seconds filter
To filter based on updated at. This attribute will be present only if the resource has been updated after 2016-11-09. Supported operators : after, before, on, between
Example → updated_at[before] = "1243545465"
1243545465optional, enumerated string filter
The subscription channel this object originated from and is maintained in. Possible values are : web, app_store, play_store.
Supported operators : is, is_not, in, not_in
Example → channel[is] = "APP STORE"
APP STOREReturns
This attribute is returned only if more resources are present. To fetch the next set of resources use this value for the input parameter offset.
Resource object representing plan